Lines Matching refs:RootOfChain
2033 Value *RootOfChain =
2042 // Handle the scenario where the RootOfChain is not equal to the
2044 if (RootOfChain != Info.PointerToBase[LiveValue]) {
2045 PHINode *OrigRootPhi = dyn_cast<PHINode>(RootOfChain);
2055 // and RootOfChain (the original phi node itself) are the same, so that we
2093 Instruction *InsertBefore, Value *RootOfChain, Value *AlternateLiveBase) {
2118 // Assert that the cloned instruction does not use the RootOfChain
2120 assert(OpValue != RootOfChain && OpValue != AlternateLiveBase);
2125 // RootOfChain/OrigRootPhi, with the corresponding PHI present in the
2127 // that the *only* use of the RootOfChain in the ChainToBase list is
2129 if (RootOfChain != AlternateLiveBase)
2130 ClonedValue->replaceUsesOfWith(RootOfChain, AlternateLiveBase);
2146 InsertBefore, RootOfChain, Info.PointerToBase[LiveValue]);
2157 NormalInsertBefore, RootOfChain, Info.PointerToBase[LiveValue]);
2159 UnwindInsertBefore, RootOfChain, Info.PointerToBase[LiveValue]);