MLIR
20.0.0git
|
#include "mlir/TableGen/Trait.h"
Public Types | |
enum class | Kind { Native , Pred , Internal , Interface } |
Public Member Functions | |
Trait (Kind kind, const llvm::Record *def) | |
Kind | getKind () const |
const llvm::Record & | getDef () const |
Static Public Member Functions | |
static Trait | create (const llvm::Init *init) |
Protected Attributes | |
const llvm::Record * | def |
Kind | kind |
|
strong |
|
explicit |
|
static |
|
inline |
Definition at line 54 of file Trait.h.
References def.
Referenced by mlir::tblgen::SideEffectTrait::classof().
|
inline |
Definition at line 51 of file Trait.h.
References kind.
Referenced by mlir::tblgen::NativeTrait::classof(), mlir::tblgen::PredTrait::classof(), mlir::tblgen::InternalTrait::classof(), and mlir::tblgen::InterfaceTrait::classof().
|
protected |
Definition at line 58 of file Trait.h.
Referenced by create(), mlir::tblgen::InterfaceTrait::getAlwaysDeclaredMethods(), mlir::tblgen::SideEffectTrait::getBaseEffectName(), getDef(), mlir::tblgen::SideEffectTrait::getEffects(), mlir::tblgen::NativeTrait::getExtraConcreteClassDeclaration(), mlir::tblgen::NativeTrait::getExtraConcreteClassDefinition(), mlir::tblgen::NativeTrait::getFullyQualifiedTraitName(), mlir::tblgen::InternalTrait::getFullyQualifiedTraitName(), mlir::tblgen::InterfaceTrait::getFullyQualifiedTraitName(), mlir::tblgen::InterfaceTrait::getInterface(), mlir::tblgen::PredTrait::getPredTemplate(), mlir::tblgen::PredTrait::getSummary(), mlir::tblgen::NativeTrait::isStructuralOpTrait(), and mlir::tblgen::InterfaceTrait::shouldDeclareMethods().
|
protected |