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

#include "llvm/ADT/PointerEmbeddedInt.h"

Collaboration diagram for llvm::PointerLikeTypeTraits< PointerEmbeddedInt< IntT, Bits > >:
Collaboration graph
[legend]

Public Types

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)
 

Static Public Attributes

static constexpr int NumLowBitsAvailable = T::Shift
 

Detailed Description

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

Definition at line 82 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 83 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 85 of file PointerEmbeddedInt.h.

References P.

◆ getFromVoidPointer() [1/2]

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

Definition at line 93 of file PointerEmbeddedInt.h.

References P.

◆ getFromVoidPointer() [2/2]

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

Definition at line 89 of file PointerEmbeddedInt.h.

References P.

Member Data Documentation

◆ NumLowBitsAvailable

template<typename IntT , int Bits>
constexpr int llvm::PointerLikeTypeTraits< PointerEmbeddedInt< IntT, Bits > >::NumLowBitsAvailable = T::Shift
staticconstexpr

Definition at line 97 of file PointerEmbeddedInt.h.


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