/external/llvm/include/llvm/Transforms/Utils/ |
SimplifyLibCalls.h | 46 /// replaceAllUsesWith - This method is used when the library call 49 virtual void replaceAllUsesWith(Instruction *I, Value *With) const;
|
/external/llvm/lib/CodeGen/ |
IntrinsicLowering.cpp | 83 CI->replaceAllUsesWith(NewCI); 359 CI->replaceAllUsesWith(V); 371 CI->replaceAllUsesWith(V); 376 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); 392 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); 396 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); 400 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); 411 CI->replaceAllUsesWith(Src); 423 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); 432 CI->replaceAllUsesWith(ConstantPointerNull::get [all...] |
/external/llvm/tools/bugpoint-passes/ |
TestPasses.cpp | 63 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType()));
|
/external/llvm/lib/Transforms/IPO/ |
PartialInlining.cpp | 83 F->replaceAllUsesWith(duplicateFunction); 99 OldPhi->replaceAllUsesWith(retPhi); 142 duplicateFunction->replaceAllUsesWith(F);
|
IPConstantPropagation.cpp | 143 AI->replaceAllUsesWith(V); 244 Call->replaceAllUsesWith(New); 270 Ins->replaceAllUsesWith(New);
|
ExtractGV.cpp | 120 CurI->replaceAllUsesWith(Declaration);
|
DeadArgumentElimination.cpp | 307 Call->replaceAllUsesWith(New); 328 I->replaceAllUsesWith(I2); 338 Fn.replaceAllUsesWith(ConstantExpr::getBitCast(NF, Fn.getType())); [all...] |
PruneEH.cpp | 190 II->replaceAllUsesWith(Call); 248 I->replaceAllUsesWith(UndefValue::get(I->getType()));
|
/external/llvm/lib/IR/ |
BasicBlock.cpp | 74 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement, 257 PN->replaceAllUsesWith(PN->getIncomingValue(0)); 260 PN->replaceAllUsesWith(UndefValue::get(PN->getType())); 279 PN->replaceAllUsesWith(PNV);
|
AutoUpgrade.cpp | 299 CI->replaceAllUsesWith(Rep); 315 CI->replaceAllUsesWith(Builder.CreateCall2(NewFn, CI->getArgOperand(0), 322 CI->replaceAllUsesWith(Builder.CreateCall2(NewFn, CI->getArgOperand(0), 329 CI->replaceAllUsesWith(Builder.CreateCall(NewFn, CI->getArgOperand(0))); 336 CI->replaceAllUsesWith(Builder.CreateCall(NewFn, CI->getArgOperand(1), 365 CI->replaceAllUsesWith(NewCall);
|
/external/llvm/lib/Target/Hexagon/ |
HexagonRemoveSZExtArgs.cpp | 70 Use->replaceAllUsesWith(SI);
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCExpand.cpp | 117 Inst->replaceAllUsesWith(Value);
|
/external/llvm/lib/Transforms/Scalar/ |
ConstantProp.cpp | 86 I->replaceAllUsesWith(C);
|
CorrelatedValuePropagation.cpp | 86 S->replaceAllUsesWith(ReplaceWith); 129 P->replaceAllUsesWith(V); 189 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); 191 C->replaceAllUsesWith(ConstantInt::getFalse(C->getContext()));
|
LowerAtomic.cpp | 34 CXI->replaceAllUsesWith(Orig); 88 RMWI->replaceAllUsesWith(Orig);
|
SimplifyCFGPass.cpp | 92 BBI->replaceAllUsesWith(UndefValue::get(BBI->getType())); 105 II->replaceAllUsesWith(NewCall); 270 BB.replaceAllUsesWith(RetBlock);
|
/external/llvm/lib/Transforms/Utils/ |
BypassSlowDivision.cpp | 150 Instr->replaceAllUsesWith(QuoPhi); 152 Instr->replaceAllUsesWith(RemPhi); 206 J->replaceAllUsesWith(Value.Quotient); 209 J->replaceAllUsesWith(Value.Remainder);
|
SimplifyIndVar.cpp | 171 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); 173 ICmp->replaceAllUsesWith(ConstantInt::getFalse(ICmp->getContext())); 206 Rem->replaceAllUsesWith(Rem->getOperand(0)); 225 Rem->replaceAllUsesWith(Sel); 259 UseInst->replaceAllUsesWith(IVOperand);
|
SimplifyInstructions.cpp | 71 I->replaceAllUsesWith(V);
|
InlineFunction.cpp | 126 OuterPHI->replaceAllUsesWith(InnerPHI); 133 CallerLPad->replaceAllUsesWith(InnerEHValuesPHI); 217 CI->replaceAllUsesWith(II); 771 TheCall->replaceAllUsesWith(UndefValue::get(TheCall->getType())); 773 TheCall->replaceAllUsesWith(R->getReturnValue()); [all...] |
IntegerDivision.cpp | 346 Rem->replaceAllUsesWith(Remainder); 362 Rem->replaceAllUsesWith(Remainder); 399 Div->replaceAllUsesWith(Quotient); 415 Div->replaceAllUsesWith(Quotient); 467 Rem->replaceAllUsesWith(Trunc); 519 Div->replaceAllUsesWith(Trunc);
|
/external/llvm/unittests/IR/ |
ValueMapTest.cpp | 53 this->BitcastV->replaceAllUsesWith(this->AddV.get()); 171 this->BitcastV->replaceAllUsesWith(this->AddV.get()); 205 this->BitcastV->replaceAllUsesWith(this->AddV.get()); 222 this->BitcastV->replaceAllUsesWith(this->AddV.get()); 254 this->BitcastV->replaceAllUsesWith(this->AddV.get()); 286 this->BitcastV->replaceAllUsesWith(this->AddV.get());
|
/external/llvm/unittests/Support/ |
ValueHandleTest.cpp | 87 BitcastV->replaceAllUsesWith(ConstantV); 163 BitcastV->replaceAllUsesWith(ConstantV); 283 BitcastV->replaceAllUsesWith(ConstantV); 303 getValPtr()->replaceAllUsesWith(Constant::getNullValue(Type::getInt32Ty(getGlobalContext()))); 361 BitcastV->replaceAllUsesWith(ConstantV);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
AMDILPeepholeOptimizer.cpp | 247 CI->replaceAllUsesWith(Val); 341 CI->replaceAllUsesWith(Val); 358 CI->replaceAllUsesWith(Val); 678 inst->replaceAllUsesWith(CI); 837 inst->replaceAllUsesWith(CI); 876 CI->replaceAllUsesWith(lhs); 920 CI->replaceAllUsesWith(lhs); [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDILPeepholeOptimizer.cpp | 247 CI->replaceAllUsesWith(Val); 341 CI->replaceAllUsesWith(Val); 358 CI->replaceAllUsesWith(Val); 678 inst->replaceAllUsesWith(CI); 837 inst->replaceAllUsesWith(CI); 876 CI->replaceAllUsesWith(lhs); 920 CI->replaceAllUsesWith(lhs); [all...] |