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

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

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

Static Public Member Functions

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

Static Public Attributes

static constexpr int numLowBitsAvailable = 3
 

Detailed Description

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

Definition at line 49 of file SPIRVOps.h.

Member Function Documentation

◆ getAsVoidPointer()

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

Definition at line 51 of file SPIRVOps.h.

◆ getFromVoidPointer()

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

Definition at line 54 of file SPIRVOps.h.

Member Data Documentation

◆ numLowBitsAvailable

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

Definition at line 57 of file SPIRVOps.h.


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