Lines Matching refs:Root
733 bool propagateEquality(Value *LHS, Value *RHS, const BasicBlockEdge &Root,
2134 /// dominated by 'Root'. Exploit this, for example by replacing 'LHS' with
2136 /// If DominatesByEdge is false, then it means that it is dominated by Root.End.
2137 bool GVN::propagateEquality(Value *LHS, Value *RHS, const BasicBlockEdge &Root,
2143 // DT->dominates(Root, Root.getEnd());
2144 bool RootDominatesEnd = isOnlyReachableViaThisEdge(Root, DT);
2189 addToLeaderTable(LVN, RHS, Root.getEnd());
2192 // LHS always has at least one use that is not dominated by Root, this will
2197 ? replaceDominatedUsesWith(LHS, RHS, *DT, Root)
2198 : replaceDominatedUsesWith(LHS, RHS, *DT, Root.getEnd());
2268 Value *NotCmp = findLeader(Root.getEnd(), Num);
2272 ? replaceDominatedUsesWith(NotCmp, NotVal, *DT, Root)
2274 Root.getEnd());
2284 addToLeaderTable(Num, NotVal, Root.getEnd());