MLIR 22.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 51 of file SPIRVOps.h.

Member Function Documentation

◆ getAsVoidPointer()

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

Definition at line 53 of file SPIRVOps.h.

◆ getFromVoidPointer()

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

Definition at line 56 of file SPIRVOps.h.

Member Data Documentation

◆ numLowBitsAvailable

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

Definition at line 59 of file SPIRVOps.h.


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