Generator for attribute/type C implementation files.
More...
#include <CommonAttrOrTypeCAPIGen.h>
Generator for attribute/type C implementation files.
This class extends ImplementationGenerator to provide attribute and type-specific implementation generation capabilities, including parameter getters and builders.
Definition at line 166 of file CommonAttrOrTypeCAPIGen.h.
◆ ~AttrOrTypeImplementationGenerator()
| virtual AttrOrTypeImplementationGenerator::~AttrOrTypeImplementationGenerator |
( |
| ) |
|
|
virtualdefault |
◆ genArrayRefParameterImpls()
| virtual void AttrOrTypeImplementationGenerator::genArrayRefParameterImpls |
( |
mlir::StringRef | cppType | ) |
const |
|
inlinevirtual |
◆ genCompleteRecord()
| void AttrOrTypeImplementationGenerator::genCompleteRecord |
( |
const mlir::tblgen::AttrOrTypeDef | def | ) |
|
|
inline |
◆ genDefaultGetBuilderImpl()
| virtual void AttrOrTypeImplementationGenerator::genDefaultGetBuilderImpl |
( |
const mlir::tblgen::AttrOrTypeDef & | def | ) |
const |
|
inlinevirtual |
◆ genParameterGetterImpl()
| virtual void AttrOrTypeImplementationGenerator::genParameterGetterImpl |
( |
mlir::StringRef | cppType | ) |
const |
|
inlinevirtual |
◆ genPrologue()
| virtual void AttrOrTypeImplementationGenerator::genPrologue |
( |
| ) |
const |
|
inlinevirtual |
◆ setParamName()
| void AttrOrTypeImplementationGenerator::setParamName |
( |
mlir::StringRef | name | ) |
|
|
inline |
Set the parameter name for code generation.
- Parameters
-
| name | The parameter name from the TableGen definition |
Definition at line 172 of file CommonAttrOrTypeCAPIGen.h.
◆ paramName
| mlir::StringRef AttrOrTypeImplementationGenerator::paramName |
|
protected |
◆ paramNameCapitalized
| std::string AttrOrTypeImplementationGenerator::paramNameCapitalized |
|
protected |
The documentation for this struct was generated from the following file: