MLIR
22.0.0git
|
#include "mlir/TableGen/Property.h"
Public Member Functions | |
ConstantProp (const llvm::DefInit *def) | |
StringRef | getValue () const |
![]() | |
Property (const llvm::Record *def) | |
Property (const llvm::DefInit *init) | |
Property (const llvm::Record *maybeDef, StringRef summary, StringRef description, StringRef storageType, StringRef interfaceType, StringRef convertFromStorageCall, StringRef assignToStorageCall, StringRef convertToAttributeCall, StringRef convertFromAttributeCall, StringRef parserCall, StringRef optionalParserCall, StringRef printerCall, StringRef readFromMlirBytecodeCall, StringRef writeToMlirBytecodeCall, StringRef hashPropertyCall, StringRef defaultValue, StringRef storageTypeValueOverride) | |
StringRef | getSummary () const |
StringRef | getDescription () const |
StringRef | getStorageType () const |
StringRef | getInterfaceType () const |
StringRef | getConvertFromStorageCall () const |
StringRef | getAssignToStorageCall () const |
StringRef | getConvertToAttributeCall () const |
StringRef | getConvertFromAttributeCall () const |
Pred | getPredicate () const |
StringRef | getParserCall () const |
bool | hasOptionalParser () const |
StringRef | getOptionalParserCall () const |
StringRef | getPrinterCall () const |
StringRef | getReadFromMlirBytecodeCall () const |
StringRef | getWriteToMlirBytecodeCall () const |
StringRef | getHashPropertyCall () const |
bool | hasDefaultValue () const |
StringRef | getDefaultValue () const |
bool | hasStorageTypeValueOverride () const |
StringRef | getStorageTypeValueOverride () const |
StringRef | getPropertyDefName () const |
Property | getBaseProperty () const |
bool | isSubClassOf (StringRef className) const |
![]() | |
StringRef | getInterfaceType () const |
Constraint (const llvm::Record *record, Kind kind) | |
Constraint (const llvm::Record *record) | |
![]() | |
Constraint (const llvm::Record *record, Kind kind) | |
Constraint (const llvm::Record *record) | |
bool | operator== (const Constraint &that) |
Constraints are pointer-comparable. More... | |
bool | operator!= (const Constraint &that) |
Pred | getPredicate () const |
std::string | getConditionTemplate () const |
StringRef | getSummary () const |
StringRef | getDescription () const |
StringRef | getDefName () const |
Returns the name of the TablGen def of this constraint. More... | |
std::string | getUniqueDefName () const |
Returns a unique name for the TablGen def of this constraint. More... | |
std::optional< StringRef > | getCppFunctionName () const |
Returns the name of the C++ function that should be generated for this constraint, or std::nullopt if no C++ function should be generated. More... | |
Kind | getKind () const |
const llvm::Record & | getDef () const |
Return the underlying def. More... | |
Static Public Member Functions | |
static bool | classof (Property *p) |
![]() | |
static bool | classof (const Constraint *c) |
Additional Inherited Members | |
![]() | |
enum | Kind { CK_Attr , CK_Prop , CK_Region , CK_Successor , CK_Type , CK_Uncategorized } |
![]() | |
const llvm::Record * | def |
Definition at line 179 of file Property.h.
|
inlineexplicit |
Definition at line 181 of file Property.h.
References mlir::tblgen::Property::isSubClassOf().
|
inlinestatic |
Definition at line 185 of file Property.h.
References mlir::tblgen::Property::isSubClassOf().
StringRef ConstantProp::getValue | ( | ) | const |
Definition at line 119 of file Property.cpp.
References mlir::tblgen::Constraint::def.