LLVM 20.0.0git
|
Public Member Functions | |
ValueDFS_Compare (DominatorTree &DT) | |
bool | operator() (const ValueDFS &A, const ValueDFS &B) const |
std::pair< BasicBlock *, BasicBlock * > | getBlockEdge (const ValueDFS &VD) const |
bool | comparePHIRelated (const ValueDFS &A, const ValueDFS &B) const |
Value * | getMiddleDef (const ValueDFS &VD) const |
const Instruction * | getDefOrUser (const Value *Def, const Use *U) const |
bool | localComesBefore (const ValueDFS &A, const ValueDFS &B) const |
Public Attributes | |
DominatorTree & | DT |
Definition at line 112 of file PredicateInfo.cpp.
|
inline |
Definition at line 114 of file PredicateInfo.cpp.
|
inline |
Definition at line 154 of file PredicateInfo.cpp.
References A, assert(), B, DT, getBlockEdge(), llvm::DomTreeNodeBase< NodeT >::getDFSNumIn(), and llvm::DominatorTreeBase< NodeT, IsPostDom >::getNode().
Referenced by operator()().
|
inline |
Definition at line 144 of file PredicateInfo.cpp.
References llvm::ValueDFS::Def, PHI, llvm::ValueDFS::PInfo, and llvm::ValueDFS::U.
Referenced by comparePHIRelated().
|
inline |
Definition at line 208 of file PredicateInfo.cpp.
Referenced by localComesBefore().
Definition at line 187 of file PredicateInfo.cpp.
References assert(), llvm::ValueDFS::Def, llvm::ValueDFS::PInfo, and llvm::ValueDFS::U.
Referenced by localComesBefore().
|
inline |
Definition at line 216 of file PredicateInfo.cpp.
References A, B, getDefOrUser(), getMiddleDef(), and llvm::valueComesBefore().
Referenced by operator()().
Definition at line 116 of file PredicateInfo.cpp.
References A, assert(), B, comparePHIRelated(), llvm::LN_Last, llvm::LN_Middle, and localComesBefore().
DominatorTree& llvm::ValueDFS_Compare::DT |
Definition at line 113 of file PredicateInfo.cpp.
Referenced by comparePHIRelated().