Searched defs:replaceAllUsesWith (Results 1 - 4 of 4) sorted by relevance

/external/llvm/lib/IR/
H A DValue.cpp339 void Value::replaceAllUsesWith(Value *New) { function in class:Value
340 assert(New && "Value::replaceAllUsesWith(<null>) is invalid!");
342 "this->replaceAllUsesWith(expr(this)) is NOT valid!");
H A DDebugInfo.cpp342 /// replaceAllUsesWith - Replace all uses of the MDNode used by this
344 void DIType::replaceAllUsesWith(LLVMContext &VMContext, DIDescriptor D) { function in class:DIType
349 // legitimate situations where they want to replaceAllUsesWith() on something
351 // this detail by allowing a value to be replaced with replaceAllUsesWith()
363 Node->replaceAllUsesWith(const_cast<Value *>(V));
368 /// replaceAllUsesWith - Replace all uses of the MDNode used by this
370 void DIType::replaceAllUsesWith(MDNode *D) { function in class:DIType
377 Node->replaceAllUsesWith(const_cast<Value *>(V));
/external/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp958 LCS->replaceAllUsesWith(Old, Cmp);
1447 LCS->replaceAllUsesWith(*I, Res);
2310 void LibCallSimplifier::replaceAllUsesWith(Instruction *I, Value *With) const { function in class:llvm::LibCallSimplifier
2311 I->replaceAllUsesWith(With);
/external/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp464 BB->replaceAllUsesWith(DestBB);
806 CI->replaceAllUsesWith(With);
1345 Inst->replaceAllUsesWith(New);
1416 /// Same as Value::replaceAllUsesWith.
1417 void replaceAllUsesWith(Instruction *Inst, Value *New);
1446 void TypePromotionTransaction::replaceAllUsesWith(Instruction *Inst, function in class:__anon25735::TypePromotionTransaction
1853 TPT.replaceAllUsesWith(SExtOpnd, Trunc);
1855 // to replaceAllUsesWith) to avoid creating a cycle trunc <-> sext.
1871 TPT.replaceAllUsesWith(SExt, SExtOpnd);
3033 SI->replaceAllUsesWith(P
[all...]

Completed in 108 milliseconds