14 #ifndef MLIR_TABLEGEN_ENUMINFO_H_
15 #define MLIR_TABLEGEN_ENUMINFO_H_
19 #include "llvm/ADT/StringRef.h"
44 const llvm::Record &
getDef()
const;
48 const llvm::Record *
def;
128 const llvm::Record &
getDef()
const;
StringRef getSymbol() const
const llvm::Record & getDef() const
EnumCase(const llvm::Record *record)
EnumCase(const llvm::DefInit *init)
EnumInfo(const llvm::Record &record)
StringRef getSymbolToStringFnName() const
bool genSpecializedAttr() const
const llvm::Record * getBaseAttrClass() const
std::vector< EnumCase > getAllCases() const
EnumInfo(const llvm::Record *record)
bool printBitEnumPrimaryGroups() const
int64_t getBitwidth() const
bool isSubClassOf(StringRef className) const
StringRef getMaxEnumValFnName() const
EnumInfo(const llvm::DefInit *init)
const llvm::Record & getDef() const
StringRef getUnderlyingToSymbolFnName() const
StringRef getUnderlyingType() const
bool printBitEnumQuoted() const
StringRef getStringToSymbolFnName() const
StringRef getCppNamespace() const
StringRef getSummary() const
StringRef getSpecializedAttrClassName() const
StringRef getEnumClassName() const
StringRef getDescription() const
StringRef getSymbolToStringFnRetType() const
std::optional< Attribute > asEnumAttr() const
The OpAsmOpInterface, see OpAsmInterface.td for more details.