MLIR
20.0.0git
|
The general result of a type attribute conversion callback, allowing for early termination. More...
#include "mlir/Transforms/DialectConversion.h"
Public Member Functions | |
constexpr | AttributeConversionResult () |
AttributeConversionResult (Attribute attr) | |
bool | hasResult () const |
bool | isNa () const |
bool | isAbort () const |
Attribute | getResult () const |
Static Public Member Functions | |
static AttributeConversionResult | result (Attribute attr) |
static AttributeConversionResult | na () |
static AttributeConversionResult | abort () |
The general result of a type attribute conversion callback, allowing for early termination.
The default constructor creates the na case.
Definition at line 114 of file DialectConversion.h.
|
inlineconstexpr |
Definition at line 116 of file DialectConversion.h.
|
inline |
Definition at line 117 of file DialectConversion.h.
|
static |
Definition at line 2903 of file DialectConversion.cpp.
Attribute TypeConverter::AttributeConversionResult::getResult | ( | ) | const |
Definition at line 2919 of file DialectConversion.cpp.
Referenced by mlir::TypeConverter::convertTypeAttribute().
bool TypeConverter::AttributeConversionResult::hasResult | ( | ) | const |
Definition at line 2907 of file DialectConversion.cpp.
Referenced by mlir::TypeConverter::convertTypeAttribute().
bool TypeConverter::AttributeConversionResult::isAbort | ( | ) | const |
Definition at line 2915 of file DialectConversion.cpp.
Referenced by mlir::TypeConverter::convertTypeAttribute().
bool TypeConverter::AttributeConversionResult::isNa | ( | ) | const |
Definition at line 2911 of file DialectConversion.cpp.
|
static |
Definition at line 2898 of file DialectConversion.cpp.
|
static |
Definition at line 2893 of file DialectConversion.cpp.