reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/GVN.cpp
 1779   Worklist.push_back(std::make_pair(LHS, RHS));
 1787     LHS = Item.first; RHS = Item.second;
 1789     if (LHS == RHS)
 1791     assert(LHS->getType() == RHS->getType() && "Equality but unequal types!");
 1794     if (isa<Constant>(LHS) && isa<Constant>(RHS))
 1798     if (isa<Constant>(LHS) || (isa<Argument>(LHS) && !isa<Constant>(RHS)))
 1798     if (isa<Constant>(LHS) || (isa<Argument>(LHS) && !isa<Constant>(RHS)))
 1799       std::swap(LHS, RHS);
 1800     assert((isa<Argument>(LHS) || isa<Instruction>(LHS)) && "Unexpected value!");
 1800     assert((isa<Argument>(LHS) || isa<Instruction>(LHS)) && "Unexpected value!");
 1806     uint32_t LVN = VN.lookupOrAdd(LHS);
 1807     if ((isa<Argument>(LHS) && isa<Argument>(RHS)) ||
 1808         (isa<Instruction>(LHS) && isa<Instruction>(RHS))) {
 1813         std::swap(LHS, RHS);
 1833     if (!LHS->hasOneUse()) {
 1836               ? replaceDominatedUsesWith(LHS, RHS, *DT, Root)
 1837               : replaceDominatedUsesWith(LHS, RHS, *DT, Root.getStart());
 1843         MD->invalidateCachedPointerInfo(LHS);
 1864     if ((isKnownTrue && match(LHS, m_And(m_Value(A), m_Value(B)))) ||
 1865         (isKnownFalse && match(LHS, m_Or(m_Value(A), m_Value(B))))) {
 1874     if (CmpInst *Cmp = dyn_cast<CmpInst>(LHS)) {