13 #ifndef MLIR_TABLEGEN_TRAIT_H_
14 #define MLIR_TABLEGEN_TRAIT_H_
17 #include "llvm/ADT/StringRef.h"
58 const llvm::Record *
def;
static bool classof(const Trait *t)
std::vector< StringRef > getAlwaysDeclaredMethods() const
std::string getFullyQualifiedTraitName() const
Interface getInterface() const
bool shouldDeclareMethods() const
StringRef getFullyQualifiedTraitName() const
static bool classof(const Trait *t)
bool isStructuralOpTrait() const
std::string getFullyQualifiedTraitName() const
static bool classof(const Trait *t)
StringRef getExtraConcreteClassDeclaration() const
StringRef getExtraConcreteClassDefinition() const
StringRef getSummary() const
static bool classof(const Trait *t)
std::string getPredTemplate() const
const llvm::Record & getDef() const
Trait(Kind kind, const llvm::Record *def)
static Trait create(const llvm::Init *init)
The OpAsmOpInterface, see OpAsmInterface.td for more details.
Include the generated interface declarations.