MLIR  19.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 storageType, StringRef interfaceType, StringRef convertFromStorageCall, StringRef assignToStorageCall, StringRef convertToAttributeCall, StringRef convertFromAttributeCall, StringRef readFromMlirBytecodeCall, StringRef writeToMlirBytecodeCall, StringRef hashPropertyCall, StringRef defaultValue)
 
StringRef getStorageType () const
 
StringRef getInterfaceType () const
 
StringRef getConvertFromStorageCall () const
 
StringRef getAssignToStorageCall () const
 
StringRef getConvertToAttributeCall () const
 
StringRef getConvertFromAttributeCall () const
 
StringRef getReadFromMlirBytecodeCall () const
 
StringRef getWriteToMlirBytecodeCall () const
 
StringRef getHashPropertyCall () const
 
bool hasDefaultValue () const
 
StringRef getDefaultValue () 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

◆ Property() [2/3]

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

◆ Property() [3/3]

Property::Property ( StringRef  storageType,
StringRef  interfaceType,
StringRef  convertFromStorageCall,
StringRef  assignToStorageCall,
StringRef  convertToAttributeCall,
StringRef  convertFromAttributeCall,
StringRef  readFromMlirBytecodeCall,
StringRef  writeToMlirBytecodeCall,
StringRef  hashPropertyCall,
StringRef  defaultValue 
)

Definition at line 53 of file Property.cpp.

Member Function Documentation

◆ getAssignToStorageCall()

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

Definition at line 57 of file Property.h.

◆ getConvertFromAttributeCall()

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

Definition at line 65 of file Property.h.

◆ getConvertFromStorageCall()

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

Definition at line 53 of file Property.h.

◆ getConvertToAttributeCall()

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

Definition at line 61 of file Property.h.

◆ getDef()

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

Definition at line 91 of file Property.h.

◆ getDefaultValue()

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

Definition at line 88 of file Property.h.

◆ getHashPropertyCall()

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

Definition at line 82 of file Property.h.

◆ getInterfaceType()

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

Definition at line 49 of file Property.h.

◆ getReadFromMlirBytecodeCall()

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

Definition at line 71 of file Property.h.

◆ getStorageType()

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

Definition at line 46 of file Property.h.

◆ getWriteToMlirBytecodeCall()

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

Definition at line 77 of file Property.h.

◆ hasDefaultValue()

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

Definition at line 85 of file Property.h.


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