/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 83 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith() 359 CI->replaceAllUsesWith(V); in LowerIntrinsicCall() 371 CI->replaceAllUsesWith(V); in LowerIntrinsicCall() 411 CI->replaceAllUsesWith(Src); in LowerIntrinsicCall() 423 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall() 432 CI->replaceAllUsesWith(ConstantPointerNull::get( in LowerIntrinsicCall() 453 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 1)); in LowerIntrinsicCall() 459 CI->replaceAllUsesWith(CI->getOperand(0)); in LowerIntrinsicCall() 562 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 1)); in LowerIntrinsicCall() 567 CI->replaceAllUsesWith(UndefValue::get(CI->getType())); in LowerIntrinsicCall() [all …]
|
H A D | AtomicExpandPass.cpp | 192 LI->replaceAllUsesWith(Val); in expandAtomicLoadToLL() 210 LI->replaceAllUsesWith(Loaded); in expandAtomicLoadToCmpXchg() 329 AI->replaceAllUsesWith(Loaded); in expandAtomicRMWToLLSC() 393 AI->replaceAllUsesWith(NewLoaded); in expandAtomicRMWToCmpXchg() 508 EV->replaceAllUsesWith(Loaded); in expandAtomicCmpXchg() 510 EV->replaceAllUsesWith(Success); in expandAtomicCmpXchg() 526 CI->replaceAllUsesWith(Res); in expandAtomicCmpXchg()
|
/minix/external/bsd/llvm/dist/llvm/unittests/IR/ |
H A D | ValueMapTest.cpp | 52 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST() 171 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST() 205 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST() 222 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST() 254 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST() 286 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
|
H A D | ValueHandleTest.cpp | 86 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F() 162 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F() 282 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F() 302 getValPtr()->replaceAllUsesWith(Constant::getNullValue(Type::getInt32Ty(getGlobalContext()))); in TEST_F() 360 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
|
H A D | MetadataTest.cpp | 296 Temp->replaceAllUsesWith(Empty); in TEST_F() 317 Temp3->replaceAllUsesWith(N3); in TEST_F() 387 Temp->replaceAllUsesWith(nullptr); in TEST_F() 483 GV0->replaceAllUsesWith(GV1.get()); in TEST_F() 512 Temp->replaceAllUsesWith(nullptr); in TEST_F() 527 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | PartialInlining.cpp | 84 F->replaceAllUsesWith(duplicateFunction); in unswitchFunction() 100 OldPhi->replaceAllUsesWith(retPhi); in unswitchFunction() 143 duplicateFunction->replaceAllUsesWith(F); in unswitchFunction()
|
H A D | IPConstantPropagation.cpp | 144 AI->replaceAllUsesWith(V); in PropagateConstantsIntoArguments() 245 Call->replaceAllUsesWith(New); in PropagateConstantReturn() 270 Ins->replaceAllUsesWith(New); in PropagateConstantReturn()
|
H A D | DeadArgumentElimination.cpp | 278 Call->replaceAllUsesWith(New); in DeleteDeadVarargs() 299 I->replaceAllUsesWith(I2); in DeleteDeadVarargs() 315 Fn.replaceAllUsesWith(ConstantExpr::getBitCast(NF, Fn.getType())); in DeleteDeadVarargs() 954 Call->replaceAllUsesWith(New); in RemoveDeadStuffFromFunction() 960 Call->replaceAllUsesWith(Constant::getNullValue(Call->getType())); in RemoveDeadStuffFromFunction() 994 Call->replaceAllUsesWith(RetVal); in RemoveDeadStuffFromFunction() 1017 I->replaceAllUsesWith(I2); in RemoveDeadStuffFromFunction() 1024 I->replaceAllUsesWith(Constant::getNullValue(I->getType())); in RemoveDeadStuffFromFunction()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/R600/ |
H A D | SITypeRewriter.cpp | 96 I.replaceAllUsesWith(BitCastLoad); in visitLoadInst() 142 I.replaceAllUsesWith(Builder.CreateCall(NewF, Args)); in visitCallInst() 154 I.replaceAllUsesWith(Op->getOperand(0)); in visitBitCast()
|
H A D | AMDGPUAlwaysInlinePass.cpp | 53 F->replaceAllUsesWith(NewFunc); in runOnModule()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | BypassSlowDivision.cpp | 151 Instr->replaceAllUsesWith(QuoPhi); in insertFastDiv() 153 Instr->replaceAllUsesWith(RemPhi); in insertFastDiv() 207 J->replaceAllUsesWith(Value.Quotient); in reuseOrInsertFastDiv() 210 J->replaceAllUsesWith(Value.Remainder); in reuseOrInsertFastDiv()
|
H A D | IntegerDivision.cpp | 397 Rem->replaceAllUsesWith(Remainder); in expandRemainder() 415 Rem->replaceAllUsesWith(Remainder); in expandRemainder() 457 Div->replaceAllUsesWith(Quotient); in expandDivision() 475 Div->replaceAllUsesWith(Quotient); in expandDivision() 527 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo32Bits() 577 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo64Bits() 628 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo32Bits() 678 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo64Bits()
|
H A D | SimplifyIndVar.cpp | 180 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison() 182 ICmp->replaceAllUsesWith(ConstantInt::getFalse(ICmp->getContext())); in eliminateIVComparison() 215 Rem->replaceAllUsesWith(Rem->getOperand(0)); in eliminateIVRemainder() 234 Rem->replaceAllUsesWith(Sel); in eliminateIVRemainder() 268 UseInst->replaceAllUsesWith(IVOperand); in eliminateIVUser() 434 AddVal->replaceAllUsesWith(AddInst); in splitOverflowIntrinsic()
|
H A D | InlineFunction.cpp | 147 OuterPHI->replaceAllUsesWith(InnerPHI); in getInnerResumeDest() 154 CallerLPad->replaceAllUsesWith(InnerEHValuesPHI); in getInnerResumeDest() 218 CI->replaceAllUsesWith(II); in HandleCallsInBlockInlinedThroughInvoke() 348 TempM->replaceAllUsesWith(NewM); in CloneAliasScopeMetadata() 1255 TheCall->replaceAllUsesWith(R->getReturnValue()); in InlineFunction() 1322 TheCall->replaceAllUsesWith(PHI); in InlineFunction() 1359 TheCall->replaceAllUsesWith(Returns[0]->getReturnValue()); in InlineFunction() 1364 ReturnBB->replaceAllUsesWith(AfterCallBB); in InlineFunction() 1380 TheCall->replaceAllUsesWith(UndefValue::get(TheCall->getType())); in InlineFunction() 1398 CalleeEntry->replaceAllUsesWith(OrigBB); // Update PHI nodes in InlineFunction() [all …]
|
H A D | BasicBlockUtils.cpp | 56 I.replaceAllUsesWith(UndefValue::get(I.getType())); in DeleteDeadBlock() 80 PN->replaceAllUsesWith(PN->getIncomingValue(0)); in FoldSingleEntryPHINodes() 82 PN->replaceAllUsesWith(UndefValue::get(PN->getType())); in FoldSingleEntryPHINodes() 159 BB->replaceAllUsesWith(PredBB); in MergeBlockIntoPredecessor() 203 I.replaceAllUsesWith(V); in ReplaceInstWithValue() 612 LPad->replaceAllUsesWith(PN); in SplitLandingPadPredecessors() 617 LPad->replaceAllUsesWith(Clone1); in SplitLandingPadPredecessors()
|
H A D | LowerInvoke.cpp | 66 II->replaceAllUsesWith(NewCall); in runOnFunction()
|
/minix/external/bsd/llvm/dist/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 432 CI->replaceAllUsesWith(Rep); in UpgradeIntrinsicCall() 451 CI->replaceAllUsesWith(NewCI); in UpgradeIntrinsicCall() 460 CI->replaceAllUsesWith(NewCI); in UpgradeIntrinsicCall() 468 CI->replaceAllUsesWith(Builder.CreateCall2(NewFn, CI->getArgOperand(0), in UpgradeIntrinsicCall() 474 CI->replaceAllUsesWith(Builder.CreateCall2(NewFn, in UpgradeIntrinsicCall() 482 CI->replaceAllUsesWith(Builder.CreateCall(NewFn, CI->getArgOperand(0))); in UpgradeIntrinsicCall() 489 CI->replaceAllUsesWith(Builder.CreateCall(NewFn, CI->getArgOperand(1), in UpgradeIntrinsicCall() 518 CI->replaceAllUsesWith(NewCall); in UpgradeIntrinsicCall() 546 CI->replaceAllUsesWith(NewCall); in UpgradeIntrinsicCall()
|
H A D | BasicBlock.cpp | 81 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement, in ~BasicBlock() 289 PN->replaceAllUsesWith(PN->getIncomingValue(0)); in removePredecessor() 292 PN->replaceAllUsesWith(UndefValue::get(PN->getType())); in removePredecessor() 311 PN->replaceAllUsesWith(PNV); in removePredecessor()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | CorrelatedValuePropagation.cpp | 87 S->replaceAllUsesWith(ReplaceWith); in processSelect() 131 P->replaceAllUsesWith(V); in processPHI() 193 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp() 195 C->replaceAllUsesWith(ConstantInt::getFalse(C->getContext())); in processCmp()
|
H A D | LowerAtomic.cpp | 38 CXI->replaceAllUsesWith(Res); in LowerAtomicCmpXchgInst() 92 RMWI->replaceAllUsesWith(Orig); in LowerAtomicRMWInst()
|
H A D | ConstantProp.cpp | 87 I->replaceAllUsesWith(C); in runOnFunction()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64AddressTypePromotion.cpp | 306 SExt->replaceAllUsesWith(Inst); in propagateSignExtension() 361 SExt->replaceAllUsesWith(SExt->getOperand(0)); in propagateSignExtension() 391 Pt->replaceAllUsesWith(Inst); in mergeSExts() 404 Inst->replaceAllUsesWith(Pt); in mergeSExts()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXFavorNonGenericAddrSpaces.cpp | 131 GEP->replaceAllUsesWith( in hoistAddrSpaceCastFromGEP() 139 GEP->replaceAllUsesWith( in hoistAddrSpaceCastFromGEP()
|
/minix/external/bsd/llvm/dist/llvm/tools/bugpoint-passes/ |
H A D | TestPasses.cpp | 63 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in runOnBasicBlock()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCExpand.cpp | 117 Inst->replaceAllUsesWith(Value); in runOnFunction()
|