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

#include "mlir/TableGen/Trait.h"

+ Inheritance diagram for mlir::tblgen::InterfaceTrait:

Public Member Functions

Interface getInterface () const
 
std::string getFullyQualifiedTraitName () const
 
bool shouldDeclareMethods () const
 
std::vector< StringRef > getAlwaysDeclaredMethods () 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 104 of file Trait.h.

Member Function Documentation

◆ classof()

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

Definition at line 112 of file Trait.h.

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

◆ getAlwaysDeclaredMethods()

std::vector< StringRef > InterfaceTrait::getAlwaysDeclaredMethods ( ) const

Definition at line 103 of file Trait.cpp.

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

◆ getFullyQualifiedTraitName()

std::string InterfaceTrait::getFullyQualifiedTraitName ( ) const

Definition at line 92 of file Trait.cpp.

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

◆ getInterface()

Interface InterfaceTrait::getInterface ( ) const

Definition at line 90 of file Trait.cpp.

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

◆ shouldDeclareMethods()

bool InterfaceTrait::shouldDeclareMethods ( ) const

Definition at line 99 of file Trait.cpp.

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


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