LLVM API Documentation
#include <PointerIntPair.h>
Public Member Functions | |
| PointerIntPair () | |
| PointerIntPair (PointerTy Ptr, IntType Int) | |
| PointerTy | getPointer () const |
| IntType | getInt () const |
| void | setPointer (PointerTy Ptr) |
| void | setInt (IntType Int) |
| void * | getOpaqueValue () const |
| void | setFromOpaqueValue (void *Val) |
| bool | operator== (const PointerIntPair &RHS) const |
| bool | operator!= (const PointerIntPair &RHS) const |
| bool | operator< (const PointerIntPair &RHS) const |
| bool | operator> (const PointerIntPair &RHS) const |
| bool | operator<= (const PointerIntPair &RHS) const |
| bool | operator>= (const PointerIntPair &RHS) const |
Static Public Member Functions | |
| static PointerIntPair | getFromOpaqueValue (void *V) |
Note that PointerIntPair always puts the Int part in the highest bits possible. For example, PointerIntPair<void*, 1, bool> will put the bit for the bool into bit #2, not bit #0, which allows the low two bits to be used for something else. For example, this allows: PointerIntPair<PointerIntPair<void*, 1, bool>, 1, bool> ... and the two bools will land in different bits.
Definition at line 41 of file PointerIntPair.h.
| llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::PointerIntPair | ( | ) | [inline] |
Definition at line 59 of file PointerIntPair.h.
| llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::PointerIntPair | ( | PointerTy | Ptr, | |
| IntType | Int | |||
| ) | [inline] |
Definition at line 60 of file PointerIntPair.h.
| PointerTy llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::getPointer | ( | ) | const [inline] |
Definition at line 67 of file PointerIntPair.h.
Referenced by llvm::Use::getUser(), and llvm::MemoryDependenceAnalysis::removeInstruction().
| IntType llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::getInt | ( | ) | const [inline] |
| void llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::setPointer | ( | PointerTy | Ptr | ) | [inline] |
Definition at line 75 of file PointerIntPair.h.
Referenced by llvm::User::allocHungoffUses(), and llvm::PointerIntPair< llvm::User *, 1, llvm::Tag >::PointerIntPair().
| void llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::setInt | ( | IntType | Int | ) | [inline] |
Definition at line 83 of file PointerIntPair.h.
Referenced by llvm::User::allocHungoffUses(), and llvm::PointerIntPair< llvm::User *, 1, llvm::Tag >::PointerIntPair().
| void* llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::getOpaqueValue | ( | ) | const [inline] |
| void llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::setFromOpaqueValue | ( | void * | Val | ) | [inline] |
Definition at line 93 of file PointerIntPair.h.
Referenced by llvm::PointerIntPair< llvm::User *, 1, llvm::Tag >::getFromOpaqueValue().
| static PointerIntPair llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::getFromOpaqueValue | ( | void * | V | ) | [inline, static] |
Definition at line 95 of file PointerIntPair.h.
| bool llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::operator== | ( | const PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > & | RHS | ) | const [inline] |
Definition at line 99 of file PointerIntPair.h.
| bool llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::operator!= | ( | const PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > & | RHS | ) | const [inline] |
Definition at line 100 of file PointerIntPair.h.
| bool llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::operator< | ( | const PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > & | RHS | ) | const [inline] |
Definition at line 101 of file PointerIntPair.h.
| bool llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::operator> | ( | const PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > & | RHS | ) | const [inline] |
Definition at line 102 of file PointerIntPair.h.
| bool llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::operator<= | ( | const PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > & | RHS | ) | const [inline] |
Definition at line 103 of file PointerIntPair.h.
| bool llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::operator>= | ( | const PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > & | RHS | ) | const [inline] |
Definition at line 104 of file PointerIntPair.h.