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

#include "mlir/TableGen/Property.h"

Public Member Functions

 Property (const llvm::Record *record)
 
 Property (const llvm::DefInit *init)
 
 Property (StringRef summary, StringRef description, StringRef storageType, StringRef interfaceType, StringRef convertFromStorageCall, StringRef assignToStorageCall, StringRef convertToAttributeCall, StringRef convertFromAttributeCall, StringRef parserCall, StringRef optionalParserCall, StringRef printerCall, StringRef readFromMlirBytecodeCall, StringRef writeToMlirBytecodeCall, StringRef hashPropertyCall, StringRef defaultValue, StringRef storageTypeValueOverride)
 
StringRef getSummary () const
 
StringRef getDescription () const
 
StringRef getStorageType () const
 
StringRef getInterfaceType () const
 
StringRef getConvertFromStorageCall () const
 
StringRef getAssignToStorageCall () const
 
StringRef getConvertToAttributeCall () const
 
StringRef getConvertFromAttributeCall () const
 
Pred getPredicate () const
 
StringRef getParserCall () const
 
bool hasOptionalParser () const
 
StringRef getOptionalParserCall () const
 
StringRef getPrinterCall () const
 
StringRef getReadFromMlirBytecodeCall () const
 
StringRef getWriteToMlirBytecodeCall () const
 
StringRef getHashPropertyCall () const
 
bool hasDefaultValue () const
 
StringRef getDefaultValue () const
 
bool hasStorageTypeValueOverride () const
 
StringRef getStorageTypeValueOverride () const
 
StringRef getPropertyDefName () const
 
Property getBaseProperty () const
 
const llvm::Record & getDef () const
 

Detailed Description

Definition at line 35 of file Property.h.

Constructor & Destructor Documentation

◆ Property() [1/3]

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

Referenced by getBaseProperty().

◆ Property() [2/3]

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

◆ Property() [3/3]

Property::Property ( StringRef  summary,
StringRef  description,
StringRef  storageType,
StringRef  interfaceType,
StringRef  convertFromStorageCall,
StringRef  assignToStorageCall,
StringRef  convertToAttributeCall,
StringRef  convertFromAttributeCall,
StringRef  parserCall,
StringRef  optionalParserCall,
StringRef  printerCall,
StringRef  readFromMlirBytecodeCall,
StringRef  writeToMlirBytecodeCall,
StringRef  hashPropertyCall,
StringRef  defaultValue,
StringRef  storageTypeValueOverride 
)

Definition at line 61 of file Property.cpp.

Member Function Documentation

◆ getAssignToStorageCall()

StringRef mlir::tblgen::Property::getAssignToStorageCall ( ) const
inline

Definition at line 66 of file Property.h.

◆ getBaseProperty()

Property Property::getBaseProperty ( ) const

Definition at line 104 of file Property.cpp.

References Property().

Referenced by getPropertyDefName().

◆ getConvertFromAttributeCall()

StringRef mlir::tblgen::Property::getConvertFromAttributeCall ( ) const
inline

Definition at line 74 of file Property.h.

◆ getConvertFromStorageCall()

StringRef mlir::tblgen::Property::getConvertFromStorageCall ( ) const
inline

Definition at line 62 of file Property.h.

◆ getConvertToAttributeCall()

StringRef mlir::tblgen::Property::getConvertToAttributeCall ( ) const
inline

Definition at line 70 of file Property.h.

◆ getDef()

const llvm::Record& mlir::tblgen::Property::getDef ( ) const
inline

Definition at line 135 of file Property.h.

◆ getDefaultValue()

StringRef mlir::tblgen::Property::getDefaultValue ( ) const
inline

Definition at line 114 of file Property.h.

◆ getDescription()

StringRef mlir::tblgen::Property::getDescription ( ) const
inline

Definition at line 52 of file Property.h.

◆ getHashPropertyCall()

StringRef mlir::tblgen::Property::getHashPropertyCall ( ) const
inline

Definition at line 108 of file Property.h.

◆ getInterfaceType()

StringRef mlir::tblgen::Property::getInterfaceType ( ) const
inline

Definition at line 58 of file Property.h.

◆ getOptionalParserCall()

StringRef mlir::tblgen::Property::getOptionalParserCall ( ) const
inline

Definition at line 90 of file Property.h.

◆ getParserCall()

StringRef mlir::tblgen::Property::getParserCall ( ) const
inline

Definition at line 83 of file Property.h.

◆ getPredicate()

Pred Property::getPredicate ( ) const

Definition at line 95 of file Property.cpp.

◆ getPrinterCall()

StringRef mlir::tblgen::Property::getPrinterCall ( ) const
inline

Definition at line 93 of file Property.h.

◆ getPropertyDefName()

StringRef Property::getPropertyDefName ( ) const

Definition at line 88 of file Property.cpp.

References getBaseProperty().

◆ getReadFromMlirBytecodeCall()

StringRef mlir::tblgen::Property::getReadFromMlirBytecodeCall ( ) const
inline

Definition at line 97 of file Property.h.

◆ getStorageType()

StringRef mlir::tblgen::Property::getStorageType ( ) const
inline

Definition at line 55 of file Property.h.

◆ getStorageTypeValueOverride()

StringRef mlir::tblgen::Property::getStorageTypeValueOverride ( ) const
inline

Definition at line 122 of file Property.h.

◆ getSummary()

StringRef mlir::tblgen::Property::getSummary ( ) const
inline

Definition at line 49 of file Property.h.

◆ getWriteToMlirBytecodeCall()

StringRef mlir::tblgen::Property::getWriteToMlirBytecodeCall ( ) const
inline

Definition at line 103 of file Property.h.

◆ hasDefaultValue()

bool mlir::tblgen::Property::hasDefaultValue ( ) const
inline

Definition at line 111 of file Property.h.

◆ hasOptionalParser()

bool mlir::tblgen::Property::hasOptionalParser ( ) const
inline

Definition at line 86 of file Property.h.

◆ hasStorageTypeValueOverride()

bool mlir::tblgen::Property::hasStorageTypeValueOverride ( ) const
inline

Definition at line 118 of file Property.h.


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