9 #ifndef MLIR_DIALECT_FUNC_IR_OPS_H 10 #define MLIR_DIALECT_FUNC_IR_OPS_H 24 class PatternRewriter;
27 #define GET_OP_CLASSES 28 #include "mlir/Dialect/Func/IR/FuncOps.h.inc" 30 #include "mlir/Dialect/Func/IR/FuncOpsDialect.h.inc" 36 struct PointerLikeTypeTraits<
mlir::func::FuncOp> {
38 return const_cast<void *
>(val.getAsOpaquePointer());
41 return mlir::func::FuncOp::getFromOpaquePointer(p);
43 static constexpr
int numLowBitsAvailable = 3;
47 #endif // MLIR_DIALECT_FUNC_IR_OPS_H Include the generated interface declarations.
The OpAsmOpInterface, see OpAsmInterface.td for more details.
static mlir::func::FuncOp getFromVoidPointer(void *p)
static void * getAsVoidPointer(mlir::func::FuncOp val)