MLIR  20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
mlir::tblgen::NativeTrait Class Reference

#include "mlir/TableGen/Trait.h"

+ Inheritance diagram for mlir::tblgen::NativeTrait:

Public Member Functions

std::string getFullyQualifiedTraitName () const
 
bool isStructuralOpTrait () const
 
StringRef getExtraConcreteClassDeclaration () const
 
StringRef getExtraConcreteClassDefinition () const
 
- Public Member Functions inherited from mlir::tblgen::Trait
 Trait (Kind kind, const llvm::Record *def)
 
Kind getKind () const
 
const llvm::Record & getDef () const
 

Static Public Member Functions

static bool classof (const Trait *t)
 
- Static Public Member Functions inherited from mlir::tblgen::Trait
static Trait create (const llvm::Init *init)
 

Additional Inherited Members

- Public Types inherited from mlir::tblgen::Trait
enum class  Kind { Native , Pred , Internal , Interface }
 
- Protected Attributes inherited from mlir::tblgen::Trait
const llvm::Record * def
 
Kind kind
 

Detailed Description

Definition at line 63 of file Trait.h.

Member Function Documentation

◆ classof()

static bool mlir::tblgen::NativeTrait::classof ( const Trait t)
inlinestatic

Definition at line 79 of file Trait.h.

References mlir::tblgen::Trait::getKind(), and mlir::tblgen::Trait::Native.

◆ getExtraConcreteClassDeclaration()

StringRef NativeTrait::getExtraConcreteClassDeclaration ( ) const

Definition at line 57 of file Trait.cpp.

References mlir::tblgen::Trait::def.

◆ getExtraConcreteClassDefinition()

StringRef NativeTrait::getExtraConcreteClassDefinition ( ) const

Definition at line 61 of file Trait.cpp.

References mlir::tblgen::Trait::def.

◆ getFullyQualifiedTraitName()

std::string NativeTrait::getFullyQualifiedTraitName ( ) const

Definition at line 46 of file Trait.cpp.

References mlir::tblgen::Trait::def.

◆ isStructuralOpTrait()

bool NativeTrait::isStructuralOpTrait ( ) const

Definition at line 53 of file Trait.cpp.

References mlir::tblgen::Trait::def.


The documentation for this class was generated from the following files: