MLIR 24.0.0git
mlir::arith::AttrConvertFastMathToLLVM< SourceOp, TargetOp > Class Template Reference

#include "mlir/Conversion/ArithCommon/AttrToLLVMConverter.h"

Public Member Functions

 AttrConvertFastMathToLLVM (SourceOp srcOp)
ArrayRef< NamedAttributegetDiscardableAttrs () const
ArrayRef< NamedAttributegetAttrs () const
Attribute getPropAttr () const
TargetOp::Properties getProperties () const

Detailed Description

template<typename SourceOp, typename TargetOp>
class mlir::arith::AttrConvertFastMathToLLVM< SourceOp, TargetOp >

Definition at line 52 of file AttrToLLVMConverter.h.

Constructor & Destructor Documentation

◆ AttrConvertFastMathToLLVM()

template<typename SourceOp, typename TargetOp>
mlir::arith::AttrConvertFastMathToLLVM< SourceOp, TargetOp >::AttrConvertFastMathToLLVM ( SourceOp srcOp)
inline

Member Function Documentation

◆ getAttrs()

template<typename SourceOp, typename TargetOp>
ArrayRef< NamedAttribute > mlir::arith::AttrConvertFastMathToLLVM< SourceOp, TargetOp >::getAttrs ( ) const
inline

Definition at line 68 of file AttrToLLVMConverter.h.

References getDiscardableAttrs().

◆ getDiscardableAttrs()

template<typename SourceOp, typename TargetOp>
ArrayRef< NamedAttribute > mlir::arith::AttrConvertFastMathToLLVM< SourceOp, TargetOp >::getDiscardableAttrs ( ) const
inline

◆ getPropAttr()

template<typename SourceOp, typename TargetOp>
Attribute mlir::arith::AttrConvertFastMathToLLVM< SourceOp, TargetOp >::getPropAttr ( ) const
inline

Definition at line 69 of file AttrToLLVMConverter.h.

◆ getProperties()

template<typename SourceOp, typename TargetOp>
TargetOp::Properties mlir::arith::AttrConvertFastMathToLLVM< SourceOp, TargetOp >::getProperties ( ) const
inline

Definition at line 71 of file AttrToLLVMConverter.h.

References mlir::emitError(), and result.

Referenced by ConvertNativeFuncPattern< Op >::matchAndRewrite().


The documentation for this class was generated from the following file: