LLVM 23.0.0git
llvm::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > > Struct Template Reference

#include "llvm/ADT/PointerIntPair.h"

Inheritance diagram for llvm::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >:
[legend]

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 243 of file PointerIntPair.h.

Member Function Documentation

◆ getAsVoidPointer()

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

Definition at line 246 of file PointerIntPair.h.

References P.

◆ getFromVoidPointer() [1/2]

template<typename PointerTy, unsigned IntBits, typename IntType, typename PtrTraits>
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>
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>
int llvm::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >::NumLowBitsAvailable
staticconstexpr
Initial value:
=
PtrTraits::NumLowBitsAvailable - IntBits

Definition at line 260 of file PointerIntPair.h.


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