LLVM 17.0.0git
Static Public Member Functions | Static Public Attributes | List of all members
llvm::PointerLikeTypeTraits< T * > Struct Template Reference

#include "llvm/Support/PointerLikeTypeTraits.h"

Collaboration diagram for llvm::PointerLikeTypeTraits< T * >:
Collaboration graph

Static Public Member Functions

static void * getAsVoidPointer (T *P)
static TgetFromVoidPointer (void *P)

Static Public Attributes

static constexpr int NumLowBitsAvailable

Detailed Description

template<typename T>
struct llvm::PointerLikeTypeTraits< T * >

Definition at line 56 of file PointerLikeTypeTraits.h.

Member Function Documentation

◆ getAsVoidPointer()

template<typename T >
static void * llvm::PointerLikeTypeTraits< T * >::getAsVoidPointer ( T P)

Definition at line 57 of file PointerLikeTypeTraits.h.

References P.

◆ getFromVoidPointer()

template<typename T >
static T * llvm::PointerLikeTypeTraits< T * >::getFromVoidPointer ( void *  P)

Definition at line 58 of file PointerLikeTypeTraits.h.

References P.

Member Data Documentation

◆ NumLowBitsAvailable

template<typename T >
constexpr int llvm::PointerLikeTypeTraits< T * >::NumLowBitsAvailable
Initial value:
Given that RA is a live value
#define T

Definition at line 60 of file PointerLikeTypeTraits.h.

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