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

Allow stealing the low bits of spirv::Function ops. More...

#include "mlir/Dialect/SPIRV/IR/SPIRVOps.h"

+ Collaboration diagram for llvm::PointerLikeTypeTraits< mlir::spirv::FuncOp >:

Static Public Member Functions

static voidgetAsVoidPointer (mlir::spirv::FuncOp i)
 
static mlir::spirv::FuncOp getFromVoidPointer (void *p)
 

Static Public Attributes

static constexpr int numLowBitsAvailable = 3
 

Detailed Description

template<>
struct llvm::PointerLikeTypeTraits< mlir::spirv::FuncOp >

Allow stealing the low bits of spirv::Function ops.

Definition at line 48 of file SPIRVOps.h.

Member Function Documentation

◆ getAsVoidPointer()

static void* llvm::PointerLikeTypeTraits< mlir::spirv::FuncOp >::getAsVoidPointer ( mlir::spirv::FuncOp  i)
inlinestatic

Definition at line 50 of file SPIRVOps.h.

◆ getFromVoidPointer()

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

Definition at line 53 of file SPIRVOps.h.

Member Data Documentation

◆ numLowBitsAvailable

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

Definition at line 56 of file SPIRVOps.h.


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