LLVM  8.0.1
Public Types | Static Public Member Functions | List of all members
llvm::Use::PrevPointerTraits Struct Reference

Pointer traits for the Prev PointerIntPair. More...

#include "llvm/IR/Use.h"

Public Types

enum  { NumLowBitsAvailable = 2 }
 

Static Public Member Functions

static void * getAsVoidPointer (Use **P)
 
static Use ** getFromVoidPointer (void *P)
 

Detailed Description

Pointer traits for the Prev PointerIntPair.

This ensures we always use the two LSBs regardless of pointer alignment on different targets.

Definition at line 82 of file Use.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NumLowBitsAvailable 

Definition at line 89 of file Use.h.

Member Function Documentation

◆ getAsVoidPointer()

static void* llvm::Use::PrevPointerTraits::getAsVoidPointer ( Use **  P)
inlinestatic

Definition at line 83 of file Use.h.

References P.

◆ getFromVoidPointer()

static Use** llvm::Use::PrevPointerTraits::getFromVoidPointer ( void *  P)
inlinestatic

Definition at line 85 of file Use.h.

References P.


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