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

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

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

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

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

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

Allow stealing the low bits of FuncOp.

Definition at line 36 of file FuncOps.h.

Member Function Documentation

◆ getAsVoidPointer()

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

Definition at line 37 of file FuncOps.h.

◆ getFromVoidPointer()

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

Definition at line 40 of file FuncOps.h.

Member Data Documentation

◆ numLowBitsAvailable

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

Definition at line 43 of file FuncOps.h.


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