14 #ifndef MLIR_TABLEGEN_ATTRIBUTE_H_
15 #define MLIR_TABLEGEN_ATTRIBUTE_H_
19 #include "llvm/ADT/StringRef.h"
118 const llvm::Record &
getDef()
const;
136 const llvm::Record *def;
157 const llvm::Record &
getDef()
const;
static bool classof(const Constraint *c)
bool isSubClassOf(StringRef className) const
StringRef getConstBuilderTemplate() const
bool isConstBuildable() const
StringRef getConvertFromStorageCall() const
StringRef getStorageType() const
bool hasDefaultValue() const
StringRef getDefaultValue() const
Attribute(const llvm::Record *record)
const llvm::Record & getDef() const
StringRef getAttrDefName() const
StringRef getDerivedCodeBody() const
StringRef getReturnType() const
bool isDerivedAttr() const
std::optional< Type > getValueType() const
bool isSymbolRefAttr() const
Dialect getDialect() const
Attribute getBaseAttr() const
Attribute(const llvm::DefInit *init)
ConstantAttr(const llvm::DefInit *init)
StringRef getConstantValue() const
Attribute getAttribute() const
Constraint(const llvm::Record *record, Kind kind)
StringRef getSymbol() const
const llvm::Record & getDef() const
EnumAttrCase(const llvm::DefInit *init)
EnumAttrCase(const llvm::Record *record)
StringRef getStringToSymbolFnName() const
EnumAttr(const llvm::DefInit *init)
StringRef getSpecializedAttrClassName() const
StringRef getEnumClassName() const
StringRef getSymbolToStringFnRetType() const
bool printBitEnumPrimaryGroups() const
EnumAttr(const llvm::Record *record)
EnumAttr(const llvm::Record &record)
StringRef getCppNamespace() const
StringRef getSymbolToStringFnName() const
static bool classof(const Attribute *attr)
bool genSpecializedAttr() const
StringRef getUnderlyingToSymbolFnName() const
StringRef getUnderlyingType() const
StringRef getMaxEnumValFnName() const
std::vector< EnumAttrCase > getAllCases() const
const llvm::Record * getBaseAttrClass() const
The OpAsmOpInterface, see OpAsmInterface.td for more details.
@ Type
An inlay hint that for a type annotation.
const char * inferTypeOpInterface
Include the generated interface declarations.