|
LLVM 23.0.0git
|
Storage of either a normal Value address, or a select condition 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 (Value *Cond, SelectAddrs Addrs) | |
| bool | hasSelectAddrs () const |
| Value * | getAddr () const |
| std::pair< Value *, SelectAddrs > | getSelectCondAndAddrs () const |
Storage of either a normal Value address, or a select condition 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 condition and the pair holds the "true" and "false" addresses.
Definition at line 31 of file PHITransAddr.h.
| using llvm::SelectAddr::SelectAddrs = std::pair<Value *, Value *> |
Definition at line 33 of file PHITransAddr.h.
|
inline |
Definition at line 35 of file PHITransAddr.h.
|
inline |
Definition at line 36 of file PHITransAddr.h.
References assert(), Cond, and hasSelectAddrs().
|
inline |
Definition at line 43 of file PHITransAddr.h.
References assert(), and hasSelectAddrs().
|
inline |
Definition at line 48 of file PHITransAddr.h.
References assert(), and hasSelectAddrs().
|
inline |
Definition at line 41 of file PHITransAddr.h.
Referenced by getAddr(), getSelectCondAndAddrs(), and SelectAddr().