9 #ifndef MLIR_DIALECT_FUNC_IR_OPS_H
10 #define MLIR_DIALECT_FUNC_IR_OPS_H
25 class PatternRewriter;
28 #define GET_OP_CLASSES
29 #include "mlir/Dialect/Func/IR/FuncOps.h.inc"
31 #include "mlir/Dialect/Func/IR/FuncOpsDialect.h.inc"
37 struct PointerLikeTypeTraits<
mlir::func::FuncOp> {
39 return const_cast<void *
>(val.getAsOpaquePointer());
42 return mlir::func::FuncOp::getFromOpaquePointer(p);
44 static constexpr
int numLowBitsAvailable = 3;
The OpAsmOpInterface, see OpAsmInterface.td for more details.
Include the generated interface declarations.
static mlir::func::FuncOp getFromVoidPointer(void *p)
static void * getAsVoidPointer(mlir::func::FuncOp val)