14 auto testOperation = createIndexOperation();
19 mlirOperationDestroy(testOperation);
25 auto testOp = createIndexOperation();
31 MlirLocation location = mlirLocationUnknownGet(context);
32 auto dummyValue = mlirOperationGetResult(testOp, 0);
33 auto resultType = createIndexType();
34 auto valueAttr = mlirOperationGetName(testOp);
40 mlirOperationDestroy(testOp);
48 static std::unique_ptr<LitStringOpBuildFuncHelper>
get();
59 auto testOp = createIndexOperation();
65 mlirOperationDestroy(testOp);
69 auto testOp = createIndexOperation();
75 mlirOperationDestroy(testOp);
79 auto testOp = createIndexOperation();
85 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 llzkString_LitStringOpGetResult(MlirOperation op)
Get Result result from llzk::string::LitStringOp Operation.
MlirAttribute llzkString_LitStringOpGetValue(MlirOperation op)
Get Value attribute from llzk::string::LitStringOp Operation.
MlirOperation llzkString_LitStringOpBuild(MlirOpBuilder builder, MlirLocation location, MlirType resultType, MlirIdentifier value)
Build a llzk::string::LitStringOp Operation.
void llzkString_LitStringOpSetValue(MlirOperation op, MlirAttribute attr)
Set Value attribute of llzk::string::LitStringOp Operation.
bool llzkOperationIsA_String_LitStringOp(MlirOperation inp)
Returns true if the Operation is a llzk::string::LitStringOp.
virtual bool callIsA(MlirOperation op) override
LitStringOpBuildFuncHelper()=default
static std::unique_ptr< LitStringOpBuildFuncHelper > get()
This method must be implemented to return a subclass of LitStringOpBuildFuncHelper that at least impl...