LLVM  6.0.0svn
Public Types | Static Public Member Functions | List of all members
llvm::PointerLikeTypeTraits< PointerEmbeddedInt< IntT, Bits > > Struct Template Reference

#include "llvm/ADT/PointerEmbeddedInt.h"

Public Types

enum  { NumLowBitsAvailable = T::Shift }
 
using T = PointerEmbeddedInt< IntT, Bits >
 

Static Public Member Functions

static void * getAsVoidPointer (const T &P)
 
static T getFromVoidPointer (void *P)
 
static T getFromVoidPointer (const void *P)
 

Detailed Description

template<typename IntT, int Bits>
struct llvm::PointerLikeTypeTraits< PointerEmbeddedInt< IntT, Bits > >

Definition at line 83 of file PointerEmbeddedInt.h.

Member Typedef Documentation

◆ T

template<typename IntT , int Bits>
using llvm::PointerLikeTypeTraits< PointerEmbeddedInt< IntT, Bits > >::T = PointerEmbeddedInt<IntT, Bits>

Definition at line 84 of file PointerEmbeddedInt.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename IntT , int Bits>
anonymous enum
Enumerator
NumLowBitsAvailable 

Definition at line 98 of file PointerEmbeddedInt.h.

Member Function Documentation

◆ getAsVoidPointer()

template<typename IntT , int Bits>
static void* llvm::PointerLikeTypeTraits< PointerEmbeddedInt< IntT, Bits > >::getAsVoidPointer ( const T P)
inlinestatic

Definition at line 86 of file PointerEmbeddedInt.h.

◆ getFromVoidPointer() [1/2]

template<typename IntT , int Bits>
static T llvm::PointerLikeTypeTraits< PointerEmbeddedInt< IntT, Bits > >::getFromVoidPointer ( void *  P)
inlinestatic

Definition at line 90 of file PointerEmbeddedInt.h.

References T.

◆ getFromVoidPointer() [2/2]

template<typename IntT , int Bits>
static T llvm::PointerLikeTypeTraits< PointerEmbeddedInt< IntT, Bits > >::getFromVoidPointer ( const void *  P)
inlinestatic

Definition at line 94 of file PointerEmbeddedInt.h.

References T.


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