14 auto testOperation = createIndexOperation();
19 mlirOperationDestroy(testOperation);
25 auto testOp = createIndexOperation();
31 MlirLocation location = mlirLocationUnknownGet(context);
32 auto dummyValue = mlirOperationGetResult(testOp, 0);
38 mlirOperationDestroy(testOp);
46 static std::unique_ptr<FeltToIndexOpBuildFuncHelper>
get();
57 auto testOp = createIndexOperation();
63 mlirOperationDestroy(testOp);
67 auto testOp = createIndexOperation();
70 auto dummyValue = mlirOperationGetResult(testOp, 0);
74 mlirOperationDestroy(testOp);
78 auto testOp = createIndexOperation();
84 mlirOperationDestroy(testOp);
89 auto testOperation = createIndexOperation();
94 mlirOperationDestroy(testOperation);
100 auto testOp = createIndexOperation();
106 MlirLocation location = mlirLocationUnknownGet(context);
107 auto dummyValue = mlirOperationGetResult(testOp, 0);
113 mlirOperationDestroy(testOp);
121 static std::unique_ptr<IntToFeltOpBuildFuncHelper>
get();
132 auto testOp = createIndexOperation();
138 mlirOperationDestroy(testOp);
142 auto testOp = createIndexOperation();
145 auto dummyValue = mlirOperationGetResult(testOp, 0);
149 mlirOperationDestroy(testOp);
153 auto testOp = createIndexOperation();
159 mlirOperationDestroy(testOp);
TEST_F(ArrayOperationLinkTests, IsA_Array_ArrayLengthOp)
This test ensures llzkOperationIsA_Array_ArrayLengthOp links properly.
MlirOpBuilder mlirOpBuilderCreate(MlirContext ctx)
Creates a new OpBuilder for the given MLIR context.
MlirValue llzkCast_FeltToIndexOpGetResult(MlirOperation op)
Get Result result from llzk::cast::FeltToIndexOp Operation.
void llzkCast_IntToFeltOpSetValue(MlirOperation op, MlirValue value)
Set Value operand of llzk::cast::IntToFeltOp Operation.
MlirOperation llzkCast_IntToFeltOpBuild(MlirOpBuilder builder, MlirLocation location, MlirValue value)
Build a llzk::cast::IntToFeltOp Operation.
MlirValue llzkCast_FeltToIndexOpGetValue(MlirOperation op)
Get Value operand from llzk::cast::FeltToIndexOp Operation.
bool llzkOperationIsA_Cast_FeltToIndexOp(MlirOperation inp)
Returns true if the Operation is a llzk::cast::FeltToIndexOp.
bool llzkOperationIsA_Cast_IntToFeltOp(MlirOperation inp)
Returns true if the Operation is a llzk::cast::IntToFeltOp.
MlirValue llzkCast_IntToFeltOpGetResult(MlirOperation op)
Get Result result from llzk::cast::IntToFeltOp Operation.
void llzkCast_FeltToIndexOpSetValue(MlirOperation op, MlirValue value)
Set Value operand of llzk::cast::FeltToIndexOp Operation.
MlirValue llzkCast_IntToFeltOpGetValue(MlirOperation op)
Get Value operand from llzk::cast::IntToFeltOp Operation.
MlirOperation llzkCast_FeltToIndexOpBuild(MlirOpBuilder builder, MlirLocation location, MlirValue value)
Build a llzk::cast::FeltToIndexOp Operation.
virtual bool callIsA(MlirOperation op) override
static std::unique_ptr< FeltToIndexOpBuildFuncHelper > get()
This method must be implemented to return a subclass of FeltToIndexOpBuildFuncHelper that at least im...
FeltToIndexOpBuildFuncHelper()=default
static std::unique_ptr< IntToFeltOpBuildFuncHelper > get()
This method must be implemented to return a subclass of IntToFeltOpBuildFuncHelper that at least impl...
IntToFeltOpBuildFuncHelper()=default
virtual bool callIsA(MlirOperation op) override