|
LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
|
Public Member Functions | |
| ::mlir::FunctionType | getTypeSignature () |
| Returns the function signature inferred from this call site. | |
| ::mlir::FailureOr<::llzk::UnificationMap > | unifyTypeSignatureWithNamespace (::mlir::FunctionType other, ::mlir::ArrayRef<::llvm::StringRef > rhsReversePrefix) |
| Unifies this call site's inferred signature with other, resolving paths in other relative to rhsReversePrefix. | |
| ::mlir::FailureOr<::llzk::UnificationMap > | unifyTypeSignature (::mlir::FunctionType other) |
| Unifies this call site's inferred signature with other. | |
| static ::llvm::SmallVector<::mlir::ValueRange > | toVectorOfValueRange (::mlir::OperandRangeRange input) |
| Allocates consecutive storage for operand groups so they can be passed to builders as an ArrayRef<ValueRange>. | |
| ::mlir::LogicalResult | verifyTemplateParamValueCompatibility (::mlir::Attribute paramFromCallOp, ::llzk::polymorphic::TemplateParamOp targetParam) |
| Checks a template parameter value against the declared type of its target parameter. | |
| ::mlir::LogicalResult | verifyTemplateParamValuesCompatibility (::llvm::iterator_range<::mlir::Region::op_iterator<::llzk::polymorphic::TemplateParamOp > > targetParamDefs) |
| Checks each explicit template parameter against its corresponding declared parameter. | |
| ::mlir::LogicalResult | verifyTemplateParamsMatchInferred (::llvm::iterator_range<::mlir::Region::op_iterator<::llzk::polymorphic::TemplateParamOp > > targetParamDefs, const ::llzk::UnificationMap &unifications) |
| Checks that explicit template parameters agree with their inferred values. | |
Definition at line 223 of file CallLikeOpInterfaces.h.inc.
|
inline |
Returns the function signature inferred from this call site.
Definition at line 226 of file CallLikeOpInterfaces.h.inc.
|
inline |
Allocates consecutive storage for operand groups so they can be passed to builders as an ArrayRef<ValueRange>.
Definition at line 251 of file CallLikeOpInterfaces.h.inc.
|
inline |
Unifies this call site's inferred signature with other.
Definition at line 245 of file CallLikeOpInterfaces.h.inc.
|
inline |
Unifies this call site's inferred signature with other, resolving paths in other relative to rhsReversePrefix.
Definition at line 235 of file CallLikeOpInterfaces.h.inc.
|
inline |
Checks that explicit template parameters agree with their inferred values.
Pre-condition assertions:
- `!isNullOrEmpty(getTemplateParamsAttr())`
- `getTemplateParamsAttr().size() == llvm::range_size(targetParamDefs)`
Definition at line 279 of file CallLikeOpInterfaces.h.inc.
|
inline |
Checks a template parameter value against the declared type of its target parameter.
Definition at line 259 of file CallLikeOpInterfaces.h.inc.
|
inline |
Checks each explicit template parameter against its corresponding declared parameter.
Pre-condition assertions:
- `!isNullOrEmpty(getTemplateParamsAttr())`
- `getTemplateParamsAttr().size() == llvm::range_size(targetParamDefs)`
Definition at line 269 of file CallLikeOpInterfaces.h.inc.