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)))
 1799       std::swap(LHS, RHS);
 1807     if ((isa<Argument>(LHS) && isa<Argument>(RHS)) ||
 1808         (isa<Instruction>(LHS) && isa<Instruction>(RHS))) {
 1811       uint32_t RVN = VN.lookupOrAdd(RHS);
 1813         std::swap(LHS, RHS);
 1827     if (RootDominatesEnd && !isa<Instruction>(RHS))
 1828       addToLeaderTable(LVN, RHS, Root.getEnd());
 1836               ? replaceDominatedUsesWith(LHS, RHS, *DT, Root)
 1837               : replaceDominatedUsesWith(LHS, RHS, *DT, Root.getStart());
 1850     if (!RHS->getType()->isIntegerTy(1))
 1853     ConstantInt *CI = dyn_cast<ConstantInt>(RHS);
 1866       Worklist.push_back(std::make_pair(A, RHS));
 1867       Worklist.push_back(std::make_pair(B, RHS));