My Project
Public Member Functions | List of all members
mlir::tblgen::Attribute Class Reference

#include <Attribute.h>

Inheritance diagram for mlir::tblgen::Attribute:
Inheritance graph
[legend]
Collaboration diagram for mlir::tblgen::Attribute:
Collaboration graph
[legend]

Public Member Functions

 Attribute (const llvm::Record *record)
 
 Attribute (const llvm::DefInit *init)
 
StringRef getStorageType () const
 
StringRef getReturnType () const
 
StringRef getConvertFromStorageCall () const
 
bool isConstBuildable () const
 
StringRef getConstBuilderTemplate () const
 
Attribute getBaseAttr () const
 
bool hasDefaultValue () const
 
StringRef getDefaultValue () const
 
bool isOptional () const
 
bool isDerivedAttr () const
 
bool isTypeAttr () const
 
bool isEnumAttr () const
 
StringRef getAttrDefName () const
 
StringRef getDerivedCodeBody () const
 
- Public Member Functions inherited from mlir::tblgen::AttrConstraint
 AttrConstraint (const llvm::Record *record)
 
bool isSubClassOf (StringRef className) const
 
- Public Member Functions inherited from mlir::tblgen::Constraint
 Constraint (const llvm::Record *record)
 
bool operator== (const Constraint &that)
 
bool operator!= (const Constraint &that)
 
Pred getPredicate () const
 
std::string getConditionTemplate () const
 
StringRef getDescription () const
 
Kind getKind () const
 

Additional Inherited Members

- Public Types inherited from mlir::tblgen::Constraint
enum  Kind { CK_Attr, CK_Region, CK_Type, CK_Uncategorized }
 
- Static Public Member Functions inherited from mlir::tblgen::AttrConstraint
static bool classof (const Constraint *c)
 
- Protected Member Functions inherited from mlir::tblgen::Constraint
 Constraint (Kind kind, const llvm::Record *record)
 
- Protected Attributes inherited from mlir::tblgen::Constraint
const llvm::Record * def
 

Constructor & Destructor Documentation

◆ Attribute() [1/2]

mlir::tblgen::Attribute::Attribute ( const llvm::Record *  record)
explicit

◆ Attribute() [2/2]

mlir::tblgen::Attribute::Attribute ( const llvm::DefInit *  init)
explicit

Member Function Documentation

◆ getAttrDefName()

StringRef tblgen::Attribute::getAttrDefName ( ) const

◆ getBaseAttr()

tblgen::Attribute tblgen::Attribute::getBaseAttr ( ) const

◆ getConstBuilderTemplate()

StringRef tblgen::Attribute::getConstBuilderTemplate ( ) const

◆ getConvertFromStorageCall()

StringRef tblgen::Attribute::getConvertFromStorageCall ( ) const

◆ getDefaultValue()

StringRef tblgen::Attribute::getDefaultValue ( ) const

◆ getDerivedCodeBody()

StringRef tblgen::Attribute::getDerivedCodeBody ( ) const

◆ getReturnType()

StringRef tblgen::Attribute::getReturnType ( ) const

◆ getStorageType()

StringRef tblgen::Attribute::getStorageType ( ) const

◆ hasDefaultValue()

bool tblgen::Attribute::hasDefaultValue ( ) const

◆ isConstBuildable()

bool tblgen::Attribute::isConstBuildable ( ) const

◆ isDerivedAttr()

bool tblgen::Attribute::isDerivedAttr ( ) const

◆ isEnumAttr()

bool tblgen::Attribute::isEnumAttr ( ) const

◆ isOptional()

bool tblgen::Attribute::isOptional ( ) const

◆ isTypeAttr()

bool tblgen::Attribute::isTypeAttr ( ) const

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