|
| ::mlir::FailureOr< SymbolLookupResult< StructDefOp > > | getDefinition (::mlir::SymbolTableCollection &symbolTable, ::mlir::Operation *op) const |
| | Gets the struct op that defines this struct.
|
| ::mlir::LogicalResult | verifySymbolRef (::mlir::SymbolTableCollection &symbolTable, ::mlir::Operation *op) |
| mlir::LogicalResult | hasColumns (mlir::SymbolTableCollection &symbolTable, mlir::Operation *op) const |
| | Returns wether the struct this type refers to has fields marked as columns.
|
| void | print (::mlir::AsmPrinter &odsPrinter) const |
| ::mlir::SymbolRefAttr | getNameRef () const |
| ::mlir::ArrayAttr | getParams () const |
|
| static StructType | get (::mlir::SymbolRefAttr structName) |
| static StructType | getChecked (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::SymbolRefAttr structName) |
| static StructType | get (::mlir::SymbolRefAttr structName, ::mlir::ArrayAttr params) |
| static StructType | getChecked (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::SymbolRefAttr structName, ::mlir::ArrayAttr params) |
| static StructType | get (::mlir::SymbolRefAttr structName, ::llvm::ArrayRef<::mlir::Attribute > paramsRef) |
| static StructType | getChecked (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::SymbolRefAttr structName, ::llvm::ArrayRef<::mlir::Attribute > paramsRef) |
| ::llvm::LogicalResult | verify (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::SymbolRefAttr nameRef, ::mlir::ArrayAttr params) |
| ::llvm::LogicalResult | verifyInvariants (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::SymbolRefAttr nameRef, ::mlir::ArrayAttr params) |
| static constexpr ::llvm::StringLiteral | getMnemonic () |
| ::mlir::Type | parse (::mlir::AsmParser &odsParser) |
|
| static constexpr ::llvm::StringLiteral | name = "struct.type" |
| static constexpr ::llvm::StringLiteral | dialectName = "struct" |
Definition at line 23 of file Types.h.inc.
◆ get() [1/3]
| StructType llzk::component::StructType::get |
( |
::mlir::SymbolRefAttr | structName | ) |
|
|
static |
◆ get() [2/3]
| StructType llzk::component::StructType::get |
( |
::mlir::SymbolRefAttr | structName, |
|
|
::llvm::ArrayRef<::mlir::Attribute > | paramsRef ) |
|
static |
◆ get() [3/3]
| StructType llzk::component::StructType::get |
( |
::mlir::SymbolRefAttr | structName, |
|
|
::mlir::ArrayAttr | params ) |
|
static |
◆ getChecked() [1/3]
| StructType llzk::component::StructType::getChecked |
( |
::llvm::function_ref<::mlir::InFlightDiagnostic()> | emitError, |
|
|
::mlir::SymbolRefAttr | structName ) |
|
static |
◆ getChecked() [2/3]
| StructType llzk::component::StructType::getChecked |
( |
::llvm::function_ref<::mlir::InFlightDiagnostic()> | emitError, |
|
|
::mlir::SymbolRefAttr | structName, |
|
|
::llvm::ArrayRef<::mlir::Attribute > | paramsRef ) |
|
static |
◆ getChecked() [3/3]
| StructType llzk::component::StructType::getChecked |
( |
::llvm::function_ref<::mlir::InFlightDiagnostic()> | emitError, |
|
|
::mlir::SymbolRefAttr | structName, |
|
|
::mlir::ArrayAttr | params ) |
|
static |
◆ getDefinition()
| FailureOr< SymbolLookupResult< StructDefOp > > llzk::component::StructType::getDefinition |
( |
::mlir::SymbolTableCollection & | symbolTable, |
|
|
::mlir::Operation * | op ) const |
Gets the struct op that defines this struct.
Provided op is used as a starting point for the lookup. Should not be assumed to be non-null as we don't verify all types during verification.
Definition at line 47 of file Types.cpp.
◆ getMnemonic()
| constexpr ::llvm::StringLiteral llzk::component::StructType::getMnemonic |
( |
| ) |
|
|
inlinestatic |
◆ getNameRef()
| mlir::SymbolRefAttr llzk::component::StructType::getNameRef |
( |
| ) |
const |
◆ getParams()
| mlir::ArrayAttr llzk::component::StructType::getParams |
( |
| ) |
const |
◆ hasColumns()
| LogicalResult llzk::component::StructType::hasColumns |
( |
mlir::SymbolTableCollection & | symbolTable, |
|
|
mlir::Operation * | op ) const |
Returns wether the struct this type refers to has fields marked as columns.
A lookup is necessary first and will forward the failure state if it fails.
Definition at line 76 of file Types.cpp.
◆ parse()
| mlir::Type llzk::component::StructType::parse |
( |
::mlir::AsmParser & | odsParser | ) |
|
|
static |
◆ print()
| void llzk::component::StructType::print |
( |
::mlir::AsmPrinter & | odsPrinter | ) |
const |
◆ verify()
| LogicalResult llzk::component::StructType::verify |
( |
::llvm::function_ref<::mlir::InFlightDiagnostic()> | emitError, |
|
|
::mlir::SymbolRefAttr | nameRef, |
|
|
::mlir::ArrayAttr | params ) |
|
static |
◆ verifyInvariants()
| llvm::LogicalResult llzk::component::StructType::verifyInvariants |
( |
::llvm::function_ref<::mlir::InFlightDiagnostic()> | emitError, |
|
|
::mlir::SymbolRefAttr | nameRef, |
|
|
::mlir::ArrayAttr | params ) |
|
static |
◆ verifySymbolRef()
| LogicalResult llzk::component::StructType::verifySymbolRef |
( |
::mlir::SymbolTableCollection & | symbolTable, |
|
|
::mlir::Operation * | op ) |
◆ dialectName
| ::llvm::StringLiteral llzk::component::StructType::dialectName = "struct" |
|
static |
◆ name
| ::llvm::StringLiteral llzk::component::StructType::name = "struct.type" |
|
static |
The documentation for this class was generated from the following files: