MLIR 23.0.0git
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 voidgetAsVoidPointer (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 52 of file SPIRVOps.h.

Member Function Documentation

◆ getAsVoidPointer()

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

Definition at line 54 of file SPIRVOps.h.

◆ getFromVoidPointer()

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

Definition at line 57 of file SPIRVOps.h.

Member Data Documentation

◆ NumLowBitsAvailable

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

Definition at line 60 of file SPIRVOps.h.


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