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
 
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 34 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 60 of file Property.cpp.

Member Function Documentation

◆ getAssignToStorageCall()

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

Definition at line 65 of file Property.h.

◆ getBaseProperty()

Property Property::getBaseProperty ( ) const

Definition at line 94 of file Property.cpp.

References Property().

Referenced by getPropertyDefName().

◆ getConvertFromAttributeCall()

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

Definition at line 73 of file Property.h.

◆ getConvertFromStorageCall()

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

Definition at line 61 of file Property.h.

◆ getConvertToAttributeCall()

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

Definition at line 69 of file Property.h.

◆ getDef()

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

Definition at line 130 of file Property.h.

◆ getDefaultValue()

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

Definition at line 109 of file Property.h.

◆ getDescription()

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

Definition at line 51 of file Property.h.

◆ getHashPropertyCall()

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

Definition at line 103 of file Property.h.

◆ getInterfaceType()

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

Definition at line 57 of file Property.h.

◆ getOptionalParserCall()

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

Definition at line 85 of file Property.h.

◆ getParserCall()

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

Definition at line 78 of file Property.h.

◆ getPrinterCall()

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

Definition at line 88 of file Property.h.

◆ getPropertyDefName()

StringRef Property::getPropertyDefName ( ) const

Definition at line 87 of file Property.cpp.

References getBaseProperty().

◆ getReadFromMlirBytecodeCall()

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

Definition at line 92 of file Property.h.

◆ getStorageType()

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

Definition at line 54 of file Property.h.

◆ getStorageTypeValueOverride()

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

Definition at line 117 of file Property.h.

◆ getSummary()

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

Definition at line 48 of file Property.h.

◆ getWriteToMlirBytecodeCall()

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

Definition at line 98 of file Property.h.

◆ hasDefaultValue()

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

Definition at line 106 of file Property.h.

◆ hasOptionalParser()

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

Definition at line 81 of file Property.h.

◆ hasStorageTypeValueOverride()

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

Definition at line 113 of file Property.h.


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