Searched refs:replaceUsesOfWith (Results 1 - 14 of 14) sorted by relevance

/external/llvm/lib/VMCore/
H A DUser.cpp22 // replaceUsesOfWith - Replaces all references to the "From" definition with
25 void User::replaceUsesOfWith(Value *From, Value *To) { function in class:llvm::User
29 "Cannot call User::replaceUsesOfWith on a constant!");
/external/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp68 U->replaceUsesOfWith(&I, V);
H A DBasicBlockUtils.cpp471 Preds[i]->getTerminator()->replaceUsesOfWith(BB, NewBB);
531 Preds[i]->getTerminator()->replaceUsesOfWith(OrigBB, NewBB1);
567 (*i)->getTerminator()->replaceUsesOfWith(OrigBB, NewBB2);
H A DCodeExtractor.cpp157 TI->replaceUsesOfWith(OldPred, NewBB);
330 inst->replaceUsesOfWith(inputs[i], RewriteVal);
352 TI->replaceUsesOfWith(header, newHeader);
462 inst->replaceUsesOfWith(outputs[i], load);
H A DSimplifyCFG.cpp1650 if (BonusInst) New->replaceUsesOfWith(BonusInst, NewBonus);
/external/llvm/include/llvm/
H A DUser.h134 /// replaceUsesOfWith - Replaces all references to the "From" definition with
137 void replaceUsesOfWith(Value *From, Value *To);
/external/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp109 newEntryBlock->getTerminator()->replaceUsesOfWith(preReturn, newReturnBlock);
H A DGlobalOpt.cpp887 User->replaceUsesOfWith(CI, TheBC);
1065 U->replaceUsesOfWith(Alloc, NL);
/external/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp134 I->replaceUsesOfWith(Pointer, C);
H A DLoopDeletion.cpp186 TI->replaceUsesOfWith(L->getHeader(), exitBlock);
H A DIndVarSimplify.cpp878 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef);
910 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc);
H A DCodeGenPrepare.cpp927 MemoryInst->replaceUsesOfWith(Repl, SunkAddr);
H A DLoopStrengthReduce.cpp2006 TermBr->replaceUsesOfWith(OldCond, Cond);
2734 IncI->UserInst->replaceUsesOfWith(IncI->IVOperand, IVOper);
2756 Phi->replaceUsesOfWith(PostIncV, IVOper);
4457 // which case doing replaceUsesOfWith leads to replacing both operands
4462 LF.UserInst->replaceUsesOfWith(LF.OperandValToReplace, FullV);
H A DLoopUnswitch.cpp1115 (*UI)->replaceUsesOfWith(LIC, Replacement);

Completed in 161 milliseconds