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 3025 of file DialectConversion.cpp.
Attribute TypeConverter::AttributeConversionResult::getResult | ( | ) | const |
Definition at line 3041 of file DialectConversion.cpp.
Referenced by mlir::TypeConverter::convertTypeAttribute().
bool TypeConverter::AttributeConversionResult::hasResult | ( | ) | const |
Definition at line 3029 of file DialectConversion.cpp.
Referenced by mlir::TypeConverter::convertTypeAttribute().
bool TypeConverter::AttributeConversionResult::isAbort | ( | ) | const |
Definition at line 3037 of file DialectConversion.cpp.
Referenced by mlir::TypeConverter::convertTypeAttribute().
bool TypeConverter::AttributeConversionResult::isNa | ( | ) | const |
Definition at line 3033 of file DialectConversion.cpp.
|
static |
Definition at line 3020 of file DialectConversion.cpp.
|
static |
Definition at line 3015 of file DialectConversion.cpp.