19#include <mlir/IR/OpImplementation.h>
20#include <mlir/Interfaces/CallInterfaces.h>
21#include <mlir/Interfaces/ControlFlowInterfaces.h>
22#include <mlir/Interfaces/FunctionInterfaces.h>
constexpr char ARG_NAME_ATTR_NAME[]
Attribute name for source-level function argument names.
constexpr char RES_NAME_ATTR_NAME[]
Attribute name for source-level function result names.
FunctionKind fnNameToKind(mlir::StringRef name)
Given a function name, return the corresponding FunctionKind.
FunctionKind
Kinds of functions in LLZK.
@ StructConstrain
Function within a struct named FUNC_NAME_CONSTRAIN.
@ StructProduct
Function within a struct named FUNC_NAME_PRODUCT.
@ StructCompute
Function within a struct named FUNC_NAME_COMPUTE.
@ Free
Function that is not within a struct.