Home
last modified time | relevance | path

Searched refs:replaceAllUsesWith (Results 1 – 25 of 243) sorted by relevance

12345678910

/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp83 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
359 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
371 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
376 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
392 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
396 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
400 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
411 CI->replaceAllUsesWith(Src); in LowerIntrinsicCall()
423 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
432 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 0)); in LowerIntrinsicCall()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DIntrinsicLowering.cpp83 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
359 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
371 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
376 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
392 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
396 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
400 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
411 CI->replaceAllUsesWith(Src); in LowerIntrinsicCall()
423 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
432 CI->replaceAllUsesWith(ConstantPointerNull::get( in LowerIntrinsicCall()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DInlineFunction.cpp225 phi->replaceAllUsesWith(splitPhi); in findSelectorForLandingPad()
233 exn->replaceAllUsesWith(exnPhi); in findSelectorForLandingPad()
239 selector->replaceAllUsesWith(selectorPhi); in findSelectorForLandingPad()
375 outerPhi->replaceAllUsesWith(innerPhi); in getInnerUnwindDest()
382 exn->replaceAllUsesWith(InnerExceptionPHI); in getInnerUnwindDest()
389 selector->replaceAllUsesWith(InnerSelectorPHI); in getInnerUnwindDest()
456 OuterPHI->replaceAllUsesWith(InnerPHI); in getInnerUnwindDestNewEH()
463 CallerLPad->replaceAllUsesWith(InnerEHValuesPHI); in getInnerUnwindDestNewEH()
547 Inner->replaceAllUsesWith(NewInner); in HandleCallsInBlockInlinedThroughInvoke()
586 CI->replaceAllUsesWith(II); in HandleCallsInBlockInlinedThroughInvoke()
[all …]
DSimplifyIndVar.cpp175 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
177 ICmp->replaceAllUsesWith(ConstantInt::getFalse(ICmp->getContext())); in eliminateIVComparison()
210 Rem->replaceAllUsesWith(Rem->getOperand(0)); in eliminateIVRemainder()
229 Rem->replaceAllUsesWith(Sel); in eliminateIVRemainder()
268 UseInst->replaceAllUsesWith(IVOperand); in eliminateIVUser()
DBasicBlockUtils.cpp55 I.replaceAllUsesWith(UndefValue::get(I.getType())); in DeleteDeadBlock()
79 PN->replaceAllUsesWith(PN->getIncomingValue(0)); in FoldSingleEntryPHINodes()
81 PN->replaceAllUsesWith(UndefValue::get(PN->getType())); in FoldSingleEntryPHINodes()
158 BB->replaceAllUsesWith(PredBB); in MergeBlockIntoPredecessor()
200 I.replaceAllUsesWith(V); in ReplaceInstWithValue()
595 LPad->replaceAllUsesWith(PN); in SplitLandingPadPredecessors()
600 LPad->replaceAllUsesWith(Clone1); in SplitLandingPadPredecessors()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp82 S->replaceAllUsesWith(ReplaceWith); in processSelect()
108 P->replaceAllUsesWith(V); in processPHI()
167 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp()
169 C->replaceAllUsesWith(ConstantInt::getFalse(C->getContext())); in processCmp()
/external/swiftshader/third_party/LLVM/unittests/VMCore/
DValueMapTest.cpp54 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
172 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
206 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
223 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
255 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
287 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
/external/llvm/unittests/IR/
DValueMapTest.cpp52 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
171 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
206 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
223 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
255 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
287 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
DValueHandleTest.cpp86 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
162 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
288 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
309 getValPtr()->replaceAllUsesWith( in TEST_F()
368 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp146 I->replaceAllUsesWith(QuoPhi); in insertFastDiv()
148 I->replaceAllUsesWith(RemPhi); in insertFastDiv()
194 I->replaceAllUsesWith(Value.Quotient); in reuseOrInsertFastDiv()
197 I->replaceAllUsesWith(Value.Remainder); in reuseOrInsertFastDiv()
DIntegerDivision.cpp395 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
413 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
454 Div->replaceAllUsesWith(Quotient); in expandDivision()
472 Div->replaceAllUsesWith(Quotient); in expandDivision()
523 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo32Bits()
571 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo64Bits()
620 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo32Bits()
669 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo64Bits()
DSimplifyIndVar.cpp175 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
179 ICmp->replaceAllUsesWith(ConstantInt::getFalse(ICmp->getContext())); in eliminateIVComparison()
291 Rem->replaceAllUsesWith(Rem->getOperand(0)); in eliminateIVRemainder()
309 Rem->replaceAllUsesWith(Sel); in eliminateIVRemainder()
402 EVI->replaceAllUsesWith(ConstantInt::getFalse(CI->getContext())); in eliminateOverflowIntrinsic()
405 EVI->replaceAllUsesWith(NewResult); in eliminateOverflowIntrinsic()
482 UseInst->replaceAllUsesWith(IVOperand); in eliminateIdentitySCEV()
DInlineFunction.cpp149 OuterPHI->replaceAllUsesWith(InnerPHI); in getInnerResumeDest()
156 CallerLPad->replaceAllUsesWith(InnerEHValuesPHI); in getInnerResumeDest()
493 CI->replaceAllUsesWith(II); in HandleCallsInBlockInlinedThroughInvoke()
668 I->replaceAllUsesWith(Replacement); in HandleInlinedEHPad()
783 TempM->replaceAllUsesWith(NewM); in CloneAliasScopeMetadata()
1582 I->replaceAllUsesWith(NewI); in InlineFunction()
1821 I->replaceAllUsesWith(NewInst); in InlineFunction()
1968 TheCall->replaceAllUsesWith(UndefValue::get(TheCall->getType())); in InlineFunction()
1970 TheCall->replaceAllUsesWith(R->getReturnValue()); in InlineFunction()
2038 TheCall->replaceAllUsesWith(PHI); in InlineFunction()
[all …]
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp86 S->replaceAllUsesWith(ReplaceWith); in processSelect()
151 P->replaceAllUsesWith(V); in processPHI()
203 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp()
205 C->replaceAllUsesWith(ConstantInt::getFalse(C->getContext())); in processCmp()
359 SDI->replaceAllUsesWith(BO); in processSRem()
378 SDI->replaceAllUsesWith(BO); in processSDiv()
/external/llvm/lib/Transforms/IPO/
DPartialInlining.cpp90 F->replaceAllUsesWith(duplicateFunction); in unswitchFunction()
106 OldPhi->replaceAllUsesWith(retPhi); in unswitchFunction()
147 duplicateFunction->replaceAllUsesWith(F); in unswitchFunction()
DIPConstantPropagation.cpp114 AI->replaceAllUsesWith(V); in PropagateConstantsIntoArguments()
216 Call->replaceAllUsesWith(New); in PropagateConstantReturn()
241 Ins->replaceAllUsesWith(New); in PropagateConstantReturn()
DDeadArgumentElimination.cpp201 Call->replaceAllUsesWith(New); in DeleteDeadVarargs()
222 I->replaceAllUsesWith(&*I2); in DeleteDeadVarargs()
230 Fn.replaceAllUsesWith(ConstantExpr::getBitCast(NF, Fn.getType())); in DeleteDeadVarargs()
909 Call->replaceAllUsesWith(New); in RemoveDeadStuffFromFunction()
915 Call->replaceAllUsesWith(Constant::getNullValue(Call->getType())); in RemoveDeadStuffFromFunction()
948 Call->replaceAllUsesWith(RetVal); in RemoveDeadStuffFromFunction()
971 I->replaceAllUsesWith(&*I2); in RemoveDeadStuffFromFunction()
978 I->replaceAllUsesWith(Constant::getNullValue(I->getType())); in RemoveDeadStuffFromFunction()
/external/llvm/lib/Target/AMDGPU/
DSITypeRewriter.cpp89 I.replaceAllUsesWith(BitCastLoad); in visitLoadInst()
138 I.replaceAllUsesWith(Builder.CreateCall(NewF, Args)); in visitCallInst()
150 I.replaceAllUsesWith(Op->getOperand(0)); in visitBitCast()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DBasicBlock.cpp74 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement, in ~BasicBlock()
257 PN->replaceAllUsesWith(PN->getIncomingValue(0)); in removePredecessor()
260 PN->replaceAllUsesWith(UndefValue::get(PN->getType())); in removePredecessor()
279 PN->replaceAllUsesWith(PNV); in removePredecessor()
DAutoUpgrade.cpp197 CI->replaceAllUsesWith(BC); in UpgradeIntrinsicCall()
237 CI->replaceAllUsesWith(Val); in UpgradeIntrinsicCall()
276 CI->replaceAllUsesWith(Val); in UpgradeIntrinsicCall()
324 CI->replaceAllUsesWith(NewCI); in UpgradeIntrinsicCall()
352 CI->replaceAllUsesWith(AdjustCall); in UpgradeIntrinsicCall()
631 Exn->replaceAllUsesWith(LPExn); in UpgradeExceptionHandling()
632 Sel->replaceAllUsesWith(LPSel); in UpgradeExceptionHandling()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DPartialInlining.cpp83 F->replaceAllUsesWith(duplicateFunction); in unswitchFunction()
99 OldPhi->replaceAllUsesWith(retPhi); in unswitchFunction()
141 duplicateFunction->replaceAllUsesWith(F); in unswitchFunction()
DIPConstantPropagation.cpp143 AI->replaceAllUsesWith(V); in PropagateConstantsIntoArguments()
244 Call->replaceAllUsesWith(New); in PropagateConstantReturn()
270 Ins->replaceAllUsesWith(New); in PropagateConstantReturn()
/external/llvm/lib/IR/
DBasicBlock.cpp77 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement, in ~BasicBlock()
322 PN->replaceAllUsesWith(PN->getIncomingValue(0)); in removePredecessor()
325 PN->replaceAllUsesWith(UndefValue::get(PN->getType())); in removePredecessor()
344 PN->replaceAllUsesWith(PNV); in removePredecessor()
/external/llvm/lib/Target/AArch64/
DAArch64AddressTypePromotion.cpp306 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()
/external/swiftshader/third_party/LLVM/unittests/Support/
DValueHandleTest.cpp90 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
166 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
286 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
306 getValPtr()->replaceAllUsesWith(Constant::getNullValue(Type::getInt32Ty(getGlobalContext()))); in TEST_F()
364 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()

12345678910