|
| ::llvm::FailureOr<::mlir::Type > | getRecord (::llvm::StringRef name, ::llvm::function_ref<::mlir::InFlightDiagnostic()>) const |
| | Searches a record by name.
|
| ::llvm::StringMap<::mlir::Type > | getRecordMap () const |
| | Returns the records in map form.
|
| void | print (::mlir::AsmPrinter &odsPrinter) const |
| ::llvm::ArrayRef<::llzk::pod::RecordAttr > | getRecords () const |
|
| static PodType | fromInitialValues (::mlir::MLIRContext *ctx, InitializedRecords init) |
| | Creates a new type from a set of initialized records.
|
| static PodType | get (::mlir::MLIRContext *context, ::llvm::ArrayRef<::llzk::pod::RecordAttr > records) |
| static PodType | getChecked (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::ArrayRef<::llzk::pod::RecordAttr > records) |
| ::llvm::LogicalResult | verify (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::ArrayRef<::llzk::pod::RecordAttr > records) |
| ::llvm::LogicalResult | verifyInvariants (::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::llvm::ArrayRef<::llzk::pod::RecordAttr > records) |
| static constexpr ::llvm::StringLiteral | getMnemonic () |
| ::mlir::Type | parse (::mlir::AsmParser &odsParser) |
|
| static constexpr ::llvm::StringLiteral | name = "pod.type" |
| static constexpr ::llvm::StringLiteral | dialectName = "pod" |
Definition at line 23 of file Types.h.inc.
◆ fromInitialValues()
Creates a new type from a set of initialized records.
The records are derived from the names and the types of the values.
Definition at line 42 of file Types.cpp.
◆ get()
| PodType llzk::pod::PodType::get |
( |
::mlir::MLIRContext * | context, |
|
|
::llvm::ArrayRef<::llzk::pod::RecordAttr > | records ) |
|
static |
◆ getChecked()
| PodType llzk::pod::PodType::getChecked |
( |
::llvm::function_ref<::mlir::InFlightDiagnostic()> | emitError, |
|
|
::mlir::MLIRContext * | context, |
|
|
::llvm::ArrayRef<::llzk::pod::RecordAttr > | records ) |
|
static |
◆ getMnemonic()
| constexpr ::llvm::StringLiteral llzk::pod::PodType::getMnemonic |
( |
| ) |
|
|
inlinestatic |
◆ getRecord()
| FailureOr< Type > llzk::pod::PodType::getRecord |
( |
::llvm::StringRef | name, |
|
|
::llvm::function_ref<::mlir::InFlightDiagnostic()> | ) const |
Searches a record by name.
If you plan to make several queries to this type, it's better to generate the map once via getRecordMap() and query it instead of repeatedly calling getRecord().
Definition at line 50 of file Types.cpp.
◆ getRecordMap()
| llvm::StringMap< Type > llzk::pod::PodType::getRecordMap |
( |
| ) |
const |
Returns the records in map form.
If you plan to make several queries to this type, it's better to generate the map once via getRecordMap() and query it instead of repeatedly calling getRecord().
Definition at line 59 of file Types.cpp.
◆ getRecords()
| llvm::ArrayRef<::llzk::pod::RecordAttr > llzk::pod::PodType::getRecords |
( |
| ) |
const |
◆ parse()
| mlir::Type llzk::pod::PodType::parse |
( |
::mlir::AsmParser & | odsParser | ) |
|
|
static |
◆ print()
| void llzk::pod::PodType::print |
( |
::mlir::AsmPrinter & | odsPrinter | ) |
const |
◆ verify()
| LogicalResult llzk::pod::PodType::verify |
( |
::llvm::function_ref<::mlir::InFlightDiagnostic()> | emitError, |
|
|
::llvm::ArrayRef<::llzk::pod::RecordAttr > | records ) |
|
static |
◆ verifyInvariants()
| llvm::LogicalResult llzk::pod::PodType::verifyInvariants |
( |
::llvm::function_ref<::mlir::InFlightDiagnostic()> | emitError, |
|
|
::llvm::ArrayRef<::llzk::pod::RecordAttr > | records ) |
|
static |
◆ dialectName
| ::llvm::StringLiteral llzk::pod::PodType::dialectName = "pod" |
|
static |
◆ name
| ::llvm::StringLiteral llzk::pod::PodType::name = "pod.type" |
|
static |
The documentation for this class was generated from the following files: