13#ifndef MLIR_IR_BUILTINOPS_H_
14#define MLIR_IR_BUILTINOPS_H_
18#include "llvm/Support/PointerLikeTypeTraits.h"
25#include "mlir/IR/BuiltinOps.h.inc"
30struct PointerLikeTypeTraits<
mlir::ModuleOp> {
33 return const_cast<void *
>(val.getAsOpaquePointer());
36 return mlir::ModuleOp::getFromOpaquePointer(p);
The OpAsmOpInterface, see OpAsmInterface.td for more details.
Include the generated interface declarations.
static mlir::ModuleOp getFromVoidPointer(void *p)
static void * getAsVoidPointer(mlir::ModuleOp val)
static constexpr int NumLowBitsAvailable