|
LLVM 24.0.0git
|
Storage of either a normal Value address, or a select instruction together with a pair of addresses for the "true" and "false" variant of a select-dependent address. More...
#include "llvm/Analysis/PHITransAddr.h"
Public Types | |
| using | SelectAddrs = std::pair<Value *, Value *> |
Public Member Functions | |
| SelectAddr (Value *Addr) | |
| SelectAddr (SelectInst *Sel, SelectAddrs Addrs) | |
| bool | hasSelectAddrs () const |
| Value * | getAddr () const |
| std::pair< SelectInst *, SelectAddrs > | getSelectAndAddrs () const |
Storage of either a normal Value address, or a select instruction together with a pair of addresses for the "true" and "false" variant of a select-dependent address.
If the addresses are not present (both null), V is a normal address; otherwise V is a select instruction and the pair holds the "true" and "false" addresses.
Definition at line 32 of file PHITransAddr.h.
| using llvm::SelectAddr::SelectAddrs = std::pair<Value *, Value *> |
Definition at line 34 of file PHITransAddr.h.
|
inline |
Definition at line 36 of file PHITransAddr.h.
|
inline |
Definition at line 37 of file PHITransAddr.h.
References assert(), and hasSelectAddrs().
|
inline |
Definition at line 44 of file PHITransAddr.h.
References assert(), and hasSelectAddrs().
|
inline |
Definition at line 49 of file PHITransAddr.h.
References assert(), llvm::cast(), and hasSelectAddrs().
|
inline |
Definition at line 42 of file PHITransAddr.h.
Referenced by getAddr(), getSelectAndAddrs(), and SelectAddr().