|
| static ::llvm::ArrayRef<::llvm::StringRef > | getAttributeNames () |
| ::mlir::StringAttr | getSymNameAttrName () |
| std::pair< unsigned, unsigned > | getODSOperandIndexAndLength (unsigned index) |
| ::mlir::Operation::operand_range | getODSOperands (unsigned index) |
| std::pair< unsigned, unsigned > | getODSResultIndexAndLength (unsigned index) |
| ::mlir::Operation::result_range | getODSResults (unsigned index) |
| ::mlir::Region & | getBodyRegion () |
| void | writeProperties (::mlir::DialectBytecodeWriter &writer) |
| ::mlir::StringAttr | getSymNameAttr () |
| ::llvm::StringRef | getSymName () |
| void | setSymNameAttr (::mlir::StringAttr attr) |
| void | setSymName (::llvm::StringRef attrValue) |
| ::llvm::LogicalResult | verifyInvariantsImpl () |
| ::llvm::LogicalResult | verifyInvariants () |
| ::llvm::LogicalResult | verifyRegions () |
| void | print (::mlir::OpAsmPrinter &_odsPrinter) |
| StructType | getType (::std::optional<::mlir::ArrayAttr > constParams={}) |
| | Gets the StructType representing this struct.
|
| StructType | getType (::std::optional<::mlir::ArrayAttr > constParams={}) const |
| MemberDefOp | getMemberDef (::mlir::StringAttr memberName) |
| | Gets the MemberDefOp that defines the member in this structure with the given name, if present.
|
| ::std::vector< MemberDefOp > | getMemberDefs () |
| | Get all MemberDefOp in this structure.
|
| ::mlir::LogicalResult | hasColumns () |
| | Returns whether the struct defines members marked as columns.
|
| ::mlir::LogicalResult | hasSignals () |
| | Returns whether the struct defines members marked as signals.
|
| ::llzk::function::FuncDefOp | getComputeFuncOp () |
| | Gets the FuncDefOp that defines the compute function in this structure, if present, or nullptr otherwise.
|
| ::llzk::function::FuncDefOp | getConstrainFuncOp () |
| | Gets the FuncDefOp that defines the constrain function in this structure, if present, or nullptr otherwise.
|
| ::llzk::function::FuncDefOp | getProductFuncOp () |
| | Gets the FuncDefOp that defines the product function in this structure, if present, or nullptr otherwise.
|
| bool | hasComputeConstrain () |
| | Returns true iff this structure defines compute and constrain functions.
|
| ::std::string | getHeaderString () |
| | Generate header string, in the same format as the assemblyFormat.
|
| bool | hasTemplateSymbolBindings () |
| | Return true iff the struct.def appears within a poly.template that defines constant parameters and/or expressions.
|
| ::llvm::SmallVector<::mlir::Attribute > | getTemplateParamOpNames () |
| | If this struct.def is within a poly.template, return names of all poly.param within the poly.template in the order they are defined.
|
| ::llvm::SmallVector<::mlir::Attribute > | getTemplateExprOpNames () |
| | If this struct.def is within a poly.template, return names of all poly.expr within the poly.template in the order they are defined.
|
| ::mlir::SymbolRefAttr | getFullyQualifiedName () |
| | Return the full name for this struct from the root module, including any surrounding module scopes.
|
| bool | isMainComponent () |
| | Return true iff this struct.def is the main struct. See llzk::MAIN_ATTR_NAME.
|
|
| ::mlir::StringAttr | getSymNameAttrName (::mlir::OperationName name) |
| static constexpr ::llvm::StringLiteral | getOperationName () |
| ::llvm::LogicalResult | setPropertiesFromAttr (Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) |
| ::mlir::Attribute | getPropertiesAsAttr (::mlir::MLIRContext *ctx, const Properties &prop) |
| static llvm::hash_code | computePropertiesHash (const Properties &prop) |
| static std::optional< mlir::Attribute > | getInherentAttr (::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name) |
| static void | setInherentAttr (Properties &prop, llvm::StringRef name, mlir::Attribute value) |
| static void | populateInherentAttrs (::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs) |
| ::llvm::LogicalResult | verifyInherentAttrs (::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) |
| ::llvm::LogicalResult | readProperties (::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state) |
| static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::StringAttr sym_name) |
| static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::StringAttr sym_name) |
| static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llvm::StringRef sym_name) |
| static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::llvm::StringRef sym_name) |
| static void | build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={}) |
| ::mlir::ParseResult | parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result) |
Definition at line 1143 of file Ops.h.inc.
| SmallVector< Attribute > llzk::component::StructDefOp::getTemplateExprOpNames |
( |
| ) |
|
If this struct.def is within a poly.template, return names of all poly.expr within the poly.template in the order they are defined.
Otherwise, return empty. The names are returned as FlatSymbolRefAttr but the more general Attribute type is used in the return type since that's usually what's needed.
Definition at line 208 of file Ops.cpp.
| SmallVector< Attribute > llzk::component::StructDefOp::getTemplateParamOpNames |
( |
| ) |
|
If this struct.def is within a poly.template, return names of all poly.param within the poly.template in the order they are defined.
Otherwise, return empty. The names are returned as FlatSymbolRefAttr but the more general Attribute type is used in the return type since that's usually what's needed.
Definition at line 200 of file Ops.cpp.