|
LLZK 0.1.0
Veridise's ZK Language IR
|
Public Types | |
| using | Adaptor = CallOpAdaptor |
| template<typename RangeT> | |
| using | GenericAdaptor = CallOpGenericAdaptor<RangeT> |
| using | FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>> |
| using | Properties = FoldAdaptor::Properties |
Public Member Functions | |
| static ::llvm::ArrayRef<::llvm::StringRef > | getAttributeNames () |
| ::mlir::StringAttr | getCalleeAttrName () |
| ::mlir::StringAttr | getMapOpGroupSizesAttrName () |
| ::mlir::StringAttr | getNumDimsPerMapAttrName () |
| ::mlir::StringAttr | getOperandSegmentSizesAttrName () |
| std::pair< unsigned, unsigned > | getODSOperandIndexAndLength (unsigned index) |
| ::mlir::Operation::operand_range | getODSOperands (unsigned index) |
| ::mlir::Operation::operand_range | getArgOperands () |
| ::mlir::OperandRangeRange | getMapOperands () |
| ::mlir::MutableOperandRange | getArgOperandsMutable () |
| ::mlir::MutableOperandRangeRange | getMapOperandsMutable () |
| std::pair< unsigned, unsigned > | getODSResultIndexAndLength (unsigned index) |
| ::mlir::Operation::result_range | getODSResults (unsigned index) |
| void | writeProperties (::mlir::DialectBytecodeWriter &writer) |
| ::mlir::SymbolRefAttr | getCalleeAttr () |
| ::mlir::SymbolRefAttr | getCallee () |
| ::mlir::DenseI32ArrayAttr | getNumDimsPerMapAttr () |
| ::llvm::ArrayRef< int32_t > | getNumDimsPerMap () |
| ::mlir::DenseI32ArrayAttr | getMapOpGroupSizesAttr () |
| ::llvm::ArrayRef< int32_t > | getMapOpGroupSizes () |
| void | setCalleeAttr (::mlir::SymbolRefAttr attr) |
| void | setNumDimsPerMapAttr (::mlir::DenseI32ArrayAttr attr) |
| void | setNumDimsPerMap (::llvm::ArrayRef< int32_t > attrValue) |
| void | setMapOpGroupSizesAttr (::mlir::DenseI32ArrayAttr attr) |
| void | setMapOpGroupSizes (::llvm::ArrayRef< int32_t > attrValue) |
| ::llvm::LogicalResult | verifyInvariantsImpl () |
| ::llvm::LogicalResult | verifyInvariants () |
| ::mlir::CallInterfaceCallable | getCallableForCallee () |
| Return the callee of this operation. | |
| void | setCalleeFromCallable (::mlir::CallInterfaceCallable callee) |
| Set the callee for this operation. | |
| ::llvm::LogicalResult | verifySymbolUses (::mlir::SymbolTableCollection &symbolTable) |
| void | print (::mlir::OpAsmPrinter &_odsPrinter) |
| ::mlir::FunctionType | getCalleeType () |
| bool | calleeIsCompute () |
| Return true iff the callee function name is FUNC_NAME_COMPUTE (this does not check if the callee function is located within a StructDefOp). | |
| bool | calleeIsConstrain () |
| Return true iff the callee function name is FUNC_NAME_CONSTRAIN (this does not check if the callee function is located within a StructDefOp). | |
| bool | calleeIsStructCompute () |
| Return true iff the callee function name is FUNC_NAME_COMPUTE within a StructDefOp. | |
| bool | calleeIsStructConstrain () |
| Return true iff the callee function name is FUNC_NAME_CONSTRAIN within a StructDefOp. | |
| ::mlir::Value | getSelfValueFromCompute () |
| Return the "self" value (i.e. | |
| ::mlir::Value | getSelfValueFromConstrain () |
| Return the "self" value (i.e. | |
| ::mlir::FailureOr<::llzk::SymbolLookupResult<::llzk::function::FuncDefOp > > | getCalleeTarget (::mlir::SymbolTableCollection &tables) |
| Resolve and return the target FuncDefOp for this CallOp. | |
| ::llzk::component::StructType | getSingleResultTypeOfCompute () |
| Assuming the callee is FUNC_NAME_COMPUTE, return the single StructType result. | |
| static ::llvm::SmallVector<::mlir::ValueRange > | toVectorOfValueRange (::mlir::OperandRangeRange) |
| Allocate consecutive storage of the ValueRange instances in the parameter so it can be passed to the builders as an ArrayRef<ValueRange>. | |
Static Public Member Functions | |
| ::mlir::StringAttr | getCalleeAttrName (::mlir::OperationName name) |
| ::mlir::StringAttr | getMapOpGroupSizesAttrName (::mlir::OperationName name) |
| ::mlir::StringAttr | getNumDimsPerMapAttrName (::mlir::OperationName name) |
| ::mlir::StringAttr | getOperandSegmentSizesAttrName (::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::TypeRange resultTypes, ::mlir::SymbolRefAttr callee, ::mlir::ValueRange argOperands={}) |
| static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::SymbolRefAttr callee, ::llvm::ArrayRef<::mlir::ValueRange > mapOperands, ::mlir::DenseI32ArrayAttr numDimsPerMap, ::mlir::ValueRange argOperands={}) |
| static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::SymbolRefAttr callee, ::llvm::ArrayRef<::mlir::ValueRange > mapOperands, ::llvm::ArrayRef< int32_t > numDimsPerMap, ::mlir::ValueRange argOperands={}) |
| static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::function::FuncDefOp callee, ::mlir::ValueRange argOperands={}) |
| static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::function::FuncDefOp callee, ::llvm::ArrayRef<::mlir::ValueRange > mapOperands, ::mlir::DenseI32ArrayAttr numDimsPerMap, ::mlir::ValueRange argOperands={}) |
| static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::llzk::function::FuncDefOp callee, ::llvm::ArrayRef<::mlir::ValueRange > mapOperands, ::llvm::ArrayRef< int32_t > numDimsPerMap, ::mlir::ValueRange argOperands={}) |
| static void | populateDefaultProperties (::mlir::OperationName opName, Properties &properties) |
| ::mlir::ParseResult | parse (::mlir::OpAsmParser &parser, ::mlir::OperationState &result) |
| ::llvm::LogicalResult | setPropertiesFromParsedAttr (Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) |
| using llzk::function::CallOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute>> |
| using llzk::function::CallOp::GenericAdaptor = CallOpGenericAdaptor<RangeT> |
|
static |
Definition at line 508 of file Ops.cpp.inc.
|
static |
Definition at line 502 of file Ops.cpp.inc.
|
static |
Definition at line 496 of file Ops.cpp.inc.
|
static |
Definition at line 490 of file Ops.cpp.inc.
|
static |
|
static |
|
inline |
Return true iff the callee function name is FUNC_NAME_COMPUTE (this does not check if the callee function is located within a StructDefOp).
|
inline |
Return true iff the callee function name is FUNC_NAME_CONSTRAIN (this does not check if the callee function is located within a StructDefOp).
| bool llzk::function::CallOp::calleeIsStructCompute | ( | ) |
Return true iff the callee function name is FUNC_NAME_COMPUTE within a StructDefOp.
| bool llzk::function::CallOp::calleeIsStructConstrain | ( | ) |
Return true iff the callee function name is FUNC_NAME_CONSTRAIN within a StructDefOp.
|
static |
Definition at line 330 of file Ops.cpp.inc.
|
inline |
| mlir::MutableOperandRange llzk::function::CallOp::getArgOperandsMutable | ( | ) |
Definition at line 200 of file Ops.cpp.inc.
|
inline |
| CallInterfaceCallable llzk::function::CallOp::getCallableForCallee | ( | ) |
| mlir::SymbolRefAttr llzk::function::CallOp::getCallee | ( | ) |
Definition at line 467 of file Ops.cpp.inc.
|
inline |
|
inline |
|
inlinestatic |
| FailureOr< SymbolLookupResult< FuncDefOp > > llzk::function::CallOp::getCalleeTarget | ( | ::mlir::SymbolTableCollection & | tables | ) |
|
static |
Definition at line 341 of file Ops.cpp.inc.
|
inline |
| mlir::MutableOperandRangeRange llzk::function::CallOp::getMapOperandsMutable | ( | ) |
Definition at line 206 of file Ops.cpp.inc.
| llvm::ArrayRef< int32_t > llzk::function::CallOp::getMapOpGroupSizes | ( | ) |
Definition at line 477 of file Ops.cpp.inc.
|
inline |
|
inline |
|
inlinestatic |
| llvm::ArrayRef< int32_t > llzk::function::CallOp::getNumDimsPerMap | ( | ) |
Definition at line 472 of file Ops.cpp.inc.
|
inline |
|
inline |
|
inlinestatic |
| std::pair< unsigned, unsigned > llzk::function::CallOp::getODSOperandIndexAndLength | ( | unsigned | index | ) |
Definition at line 191 of file Ops.cpp.inc.
|
inline |
| std::pair< unsigned, unsigned > llzk::function::CallOp::getODSResultIndexAndLength | ( | unsigned | index | ) |
Definition at line 212 of file Ops.cpp.inc.
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 292 of file Ops.cpp.inc.
| Value llzk::function::CallOp::getSelfValueFromCompute | ( | ) |
| Value llzk::function::CallOp::getSelfValueFromConstrain | ( | ) |
| StructType llzk::function::CallOp::getSingleResultTypeOfCompute | ( | ) |
Assuming the callee is FUNC_NAME_COMPUTE, return the single StructType result.
|
static |
Definition at line 568 of file Ops.cpp.inc.
|
static |
Definition at line 514 of file Ops.cpp.inc.
|
static |
Definition at line 379 of file Ops.cpp.inc.
| void llzk::function::CallOp::print | ( | ::mlir::OpAsmPrinter & | _odsPrinter | ) |
Definition at line 660 of file Ops.cpp.inc.
|
static |
Definition at line 409 of file Ops.cpp.inc.
|
inline |
| void llzk::function::CallOp::setCalleeFromCallable | ( | ::mlir::CallInterfaceCallable | callee | ) |
|
static |
Definition at line 354 of file Ops.cpp.inc.
| void llzk::function::CallOp::setMapOpGroupSizes | ( | ::llvm::ArrayRef< int32_t > | attrValue | ) |
Definition at line 486 of file Ops.cpp.inc.
|
inline |
| void llzk::function::CallOp::setNumDimsPerMap | ( | ::llvm::ArrayRef< int32_t > | attrValue | ) |
Definition at line 482 of file Ops.cpp.inc.
|
inline |
|
static |
Definition at line 230 of file Ops.cpp.inc.
|
static |
Definition at line 632 of file Ops.cpp.inc.
| SmallVector< ValueRange > llzk::function::CallOp::toVectorOfValueRange | ( | ::mlir::OperandRangeRange | ) |
|
static |
Definition at line 388 of file Ops.cpp.inc.
| llvm::LogicalResult llzk::function::CallOp::verifyInvariants | ( | ) |
Definition at line 564 of file Ops.cpp.inc.
| llvm::LogicalResult llzk::function::CallOp::verifyInvariantsImpl | ( | ) |
Definition at line 520 of file Ops.cpp.inc.
| LogicalResult llzk::function::CallOp::verifySymbolUses | ( | ::mlir::SymbolTableCollection & | symbolTable | ) |
| void llzk::function::CallOp::writeProperties | ( | ::mlir::DialectBytecodeWriter & | writer | ) |
Definition at line 446 of file Ops.cpp.inc.