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

#include "mlir/TableGen/Trait.h"

+ Inheritance diagram for mlir::tblgen::PredTrait:

Public Member Functions

std::string getPredTemplate () const
 
StringRef getSummary () 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 83 of file Trait.h.

Member Function Documentation

◆ classof()

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

Definition at line 91 of file Trait.h.

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

◆ getPredTemplate()

std::string PredTrait::getPredTemplate ( ) const

Definition at line 77 of file Trait.cpp.

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

◆ getSummary()

llvm::StringRef PredTrait::getSummary ( ) const

Definition at line 82 of file Trait.cpp.

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


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