LLVM 19.0.0git
Static Public Member Functions | Static Public Attributes | List of all members
llvm::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > > Struct Template Reference

#include "llvm/ADT/PointerIntPair.h"

Static Public Member Functions

static void * getAsVoidPointer (const PointerIntPair< PointerTy, IntBits, IntType > &P)
 
static PointerIntPair< PointerTy, IntBits, IntType > getFromVoidPointer (void *P)
 
static PointerIntPair< PointerTy, IntBits, IntType > getFromVoidPointer (const void *P)
 

Static Public Attributes

static constexpr int NumLowBitsAvailable
 

Detailed Description

template<typename PointerTy, unsigned IntBits, typename IntType, typename PtrTraits>
struct llvm::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >

Definition at line 245 of file PointerIntPair.h.

Member Function Documentation

◆ getAsVoidPointer()

template<typename PointerTy , unsigned IntBits, typename IntType , typename PtrTraits >
static void * llvm::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >::getAsVoidPointer ( const PointerIntPair< PointerTy, IntBits, IntType > &  P)
inlinestatic

Definition at line 248 of file PointerIntPair.h.

References P.

◆ getFromVoidPointer() [1/2]

template<typename PointerTy , unsigned IntBits, typename IntType , typename PtrTraits >
static PointerIntPair< PointerTy, IntBits, IntType > llvm::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >::getFromVoidPointer ( const void *  P)
inlinestatic

◆ getFromVoidPointer() [2/2]

template<typename PointerTy , unsigned IntBits, typename IntType , typename PtrTraits >
static PointerIntPair< PointerTy, IntBits, IntType > llvm::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >::getFromVoidPointer ( void *  P)
inlinestatic

Member Data Documentation

◆ NumLowBitsAvailable

template<typename PointerTy , unsigned IntBits, typename IntType , typename PtrTraits >
constexpr int llvm::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >::NumLowBitsAvailable
staticconstexpr
Initial value:
=
PtrTraits::NumLowBitsAvailable - IntBits

Definition at line 262 of file PointerIntPair.h.


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