MLIR  16.0.0git
Static Public Member Functions | Static Public Attributes | List of all members
llvm::PointerLikeTypeTraits< mlir::ModuleOp > Struct Template Reference

Allow stealing the low bits of ModuleOp. More...

#include "mlir/IR/BuiltinOps.h"

+ Collaboration diagram for llvm::PointerLikeTypeTraits< mlir::ModuleOp >:

Static Public Member Functions

static voidgetAsVoidPointer (mlir::ModuleOp val)
 
static mlir::ModuleOp getFromVoidPointer (void *p)
 

Static Public Attributes

static constexpr int numLowBitsAvailable = 3
 

Detailed Description

template<>
struct llvm::PointerLikeTypeTraits< mlir::ModuleOp >

Allow stealing the low bits of ModuleOp.

Definition at line 35 of file BuiltinOps.h.

Member Function Documentation

◆ getAsVoidPointer()

static void* llvm::PointerLikeTypeTraits< mlir::ModuleOp >::getAsVoidPointer ( mlir::ModuleOp  val)
inlinestatic

Definition at line 37 of file BuiltinOps.h.

◆ getFromVoidPointer()

static mlir::ModuleOp llvm::PointerLikeTypeTraits< mlir::ModuleOp >::getFromVoidPointer ( void p)
inlinestatic

Definition at line 40 of file BuiltinOps.h.

Member Data Documentation

◆ numLowBitsAvailable

constexpr int llvm::PointerLikeTypeTraits< mlir::ModuleOp >::numLowBitsAvailable = 3
static

Definition at line 43 of file BuiltinOps.h.


The documentation for this struct was generated from the following file: