MLIR 23.0.0git
llvm::PointerLikeTypeTraits< mlir::func::FuncOp > Struct Reference

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

#include "mlir/Dialect/Func/IR/FuncOps.h"

Static Public Member Functions

static voidgetAsVoidPointer (mlir::func::FuncOp val)
static mlir::func::FuncOp getFromVoidPointer (void *p)

Static Public Attributes

static constexpr int numLowBitsAvailable = 3

Detailed Description

Allow stealing the low bits of FuncOp.

Definition at line 37 of file FuncOps.h.

Member Function Documentation

◆ getAsVoidPointer()

void * llvm::PointerLikeTypeTraits< mlir::func::FuncOp >::getAsVoidPointer ( mlir::func::FuncOp val)
inlinestatic

Definition at line 38 of file FuncOps.h.

◆ getFromVoidPointer()

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

Definition at line 41 of file FuncOps.h.

Member Data Documentation

◆ numLowBitsAvailable

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

Definition at line 44 of file FuncOps.h.


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