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

#include "llvm/ADT/PointerIntPair.h"

Public Types

enum  { NumLowBitsAvailable = PtrTraits::NumLowBitsAvailable - IntBits }
 

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)
 

Detailed Description

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

Definition at line 211 of file PointerIntPair.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename PointerTy , unsigned IntBits, typename IntType , typename PtrTraits >
anonymous enum
Enumerator
NumLowBitsAvailable 

Definition at line 228 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

◆ 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 ( 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 ( const void *  P)
inlinestatic

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