LLVM  13.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"

Collaboration diagram for llvm::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >:
Collaboration graph
[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 221 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 224 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 238 of file PointerIntPair.h.


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