| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 48 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith() 242 CI->replaceAllUsesWith(V); in LowerIntrinsicCall() 247 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall() 251 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall() 255 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall() 266 CI->replaceAllUsesWith(Src); in LowerIntrinsicCall() 278 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall() 287 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 0)); in LowerIntrinsicCall() 294 CI->replaceAllUsesWith( in LowerIntrinsicCall() 300 CI->replaceAllUsesWith( in LowerIntrinsicCall() [all …]
|
| H A D | AtomicExpandPass.cpp | 361 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType() 395 LI->replaceAllUsesWith(Val); in expandAtomicLoadToLL() 416 LI->replaceAllUsesWith(Loaded); in expandAtomicLoadToCmpXchg() 802 AI->replaceAllUsesWith(FinalOldResult); in expandPartwordAtomicRMW() 836 AI->replaceAllUsesWith(FinalOldResult); in widenPartwordAtomicRMW() 961 CI->replaceAllUsesWith(Res); in expandPartwordCmpXchg() 974 I->replaceAllUsesWith(Loaded); in expandAtomicOpToLLSC() 1000 AI->replaceAllUsesWith(FinalOldResult); in expandAtomicRMWToMaskedIntrinsic() 1027 CI->replaceAllUsesWith(Res); in expandAtomicCmpXchgToMaskedIntrinsic() 1117 CI->replaceAllUsesWith(Res); in convertCmpXchgToIntegerType() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroCleanup.cpp | 53 SubFn->replaceAllUsesWith(Load); in lowerSubFn() 66 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics() 69 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics() 72 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lowerRemainingCoroIntrinsics() 78 II->replaceAllUsesWith(ConstantTokenNone::get(Context)); in lowerRemainingCoroIntrinsics() 98 Target->replaceAllUsesWith(NewFuncPtrStruct); in lowerRemainingCoroIntrinsics()
|
| H A D | CoroSplit.cpp | 320 End->replaceAllUsesWith(InResume ? ConstantInt::getTrue(Context) in replaceCoroEnd() 377 Save->replaceAllUsesWith(ConstantTokenNone::get(C)); in createResumeEntryBlock() 412 S->replaceAllUsesWith(PN); in createResumeEntryBlock() 515 NewS->replaceAllUsesWith(Args.front()); in replaceRetconOrAsyncSuspendUses() 525 EVI->replaceAllUsesWith(Args[EVI->getIndices().front()]); in replaceRetconOrAsyncSuspendUses() 537 NewS->replaceAllUsesWith(Agg); in replaceRetconOrAsyncSuspendUses() 571 MappedCS->replaceAllUsesWith(SuspendResult); in replaceCoroSuspends() 635 MappedOp->replaceAllUsesWith(MappedResult); in replaceSwiftErrorOps() 949 OldFramePtr->replaceAllUsesWith(NewFramePtr); in create() 955 OldVFrame->replaceAllUsesWith(NewVFrame); in create() [all …]
|
| H A D | CoroEarly.cpp | 77 Intrin->replaceAllUsesWith(Replacement); in lowerCoroPromise() 99 II->replaceAllUsesWith(Cond); in lowerCoroDone() 134 II->replaceAllUsesWith(NoopCoroVoidPtr); in lowerCoroNoop()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | CorrelatedValuePropagation.cpp | 140 S->replaceAllUsesWith(ReplaceWith); in processSelect() 205 P->replaceAllUsesWith(CommonValue); in simplifyCommonValuePhi() 267 P->replaceAllUsesWith(V); in processPHI() 316 Cmp->replaceAllUsesWith(TorF); in processCmp() 465 II->replaceAllUsesWith(X); in processAbsIntrinsic() 497 II->replaceAllUsesWith(NegX); in processAbsIntrinsic() 516 MM->replaceAllUsesWith(MM->getOperand(!Result)); in processMinMaxIntrinsic() 537 WO->replaceAllUsesWith(NewI); in processOverflowIntrinsic() 557 SI->replaceAllUsesWith(BinOp); in processSaturatingInst() 719 Instr->replaceAllUsesWith(Sext); in narrowSDivOrSRem() [all …]
|
| H A D | ScalarizeMaskedMemIntrin.cpp | 167 CI->replaceAllUsesWith(NewI); in scalarizeMaskedLoad() 192 CI->replaceAllUsesWith(VResult); in scalarizeMaskedLoad() 255 CI->replaceAllUsesWith(VResult); in scalarizeMaskedLoad() 448 CI->replaceAllUsesWith(VResult); in scalarizeMaskedGather() 513 CI->replaceAllUsesWith(VResult); in scalarizeMaskedGather() 681 CI->replaceAllUsesWith(VResult); in scalarizeMaskedExpandLoad() 756 CI->replaceAllUsesWith(VResult); in scalarizeMaskedExpandLoad()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | SVEIntrinsicOpts.cpp | 191 PTrue->replaceAllUsesWith(ConvertFromSVBool); in coalescePTrueIntrinsicCalls() 193 PTrue->replaceAllUsesWith(MostEncompassingPTrue); in coalescePTrueIntrinsicCalls() 304 I->replaceAllUsesWith(CI); in optimizePTest() 357 I->replaceAllUsesWith(OpMultiplicand); in optimizeVectorMul() 367 I->replaceAllUsesWith(OpMultiplicand); in optimizeVectorMul() 415 I->replaceAllUsesWith(VectorSplat); in optimizeTBL()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/examples/IRTransforms/ |
| H A D | SimplifyCFG.cpp | 88 I.replaceAllUsesWith(UndefValue::get(I.getType())); in removeDeadBlocks_v1() 282 BB.replaceAllUsesWith(Pred); in mergeIntoSinglePredecessor_v1() 285 PN.replaceAllUsesWith(PN.getIncomingValue(0)); in mergeIntoSinglePredecessor_v1() 333 BB.replaceAllUsesWith(Pred); in mergeIntoSinglePredecessor_v2() 336 PN.replaceAllUsesWith(PN.getIncomingValue(0)); in mergeIntoSinglePredecessor_v2()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceArguments.cpp | 36 CI->replaceAllUsesWith(NewCI); in replaceFunctionCalls() 75 I->replaceAllUsesWith(UndefValue::get(I->getType())); in extractArgumentsFromModule() 97 F->replaceAllUsesWith(ConstantExpr::getBitCast(ClonedFunc, F->getType())); in extractArgumentsFromModule()
|
| H A D | ReduceGlobalVars.cpp | 40 GV.replaceAllUsesWith(UndefValue::get(GV.getType())); in extractGVsFromModule() 49 Inst->replaceAllUsesWith(UndefValue::get(Inst->getType())); in extractGVsFromModule()
|
| H A D | ReduceBasicBlocks.cpp | 44 Term->replaceAllUsesWith(UndefValue::get(Term->getType())); in replaceBranchTerminator() 125 I.replaceAllUsesWith(UndefValue::get(I.getType())); in extractBasicBlocksFromModule()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | IntegerDivision.cpp | 394 Rem->replaceAllUsesWith(Remainder); in expandRemainder() 412 Rem->replaceAllUsesWith(Remainder); in expandRemainder() 453 Div->replaceAllUsesWith(Quotient); in expandDivision() 471 Div->replaceAllUsesWith(Quotient); in expandDivision() 522 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo32Bits() 570 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo64Bits() 619 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo32Bits() 668 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo64Bits()
|
| H A D | SimplifyIndVar.cpp | 289 ICmp->replaceAllUsesWith(ConstantInt::getBool(ICmp->getContext(), *Ev)); in eliminateIVComparison() 328 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv() 344 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem() 353 Rem->replaceAllUsesWith(Rem->getOperand(0)); in replaceRemWithNumerator() 367 Rem->replaceAllUsesWith(Sel); in replaceRemWithNumeratorOrZero() 483 EVI->replaceAllUsesWith(ConstantInt::getFalse(WO->getContext())); in eliminateOverflowIntrinsic() 486 EVI->replaceAllUsesWith(NewResult); in eliminateOverflowIntrinsic() 515 SI->replaceAllUsesWith(BO); in eliminateSaturatingIntrinsic() 624 ICI->replaceAllUsesWith(NewICI); in eliminateTrunc() 629 TI->replaceAllUsesWith(UndefValue::get(TI->getType())); in eliminateTrunc() [all …]
|
| H A D | InlineFunction.cpp | 200 OuterPHI->replaceAllUsesWith(InnerPHI); in getInnerResumeDest() 207 CallerLPad->replaceAllUsesWith(InnerEHValuesPHI); in getInnerResumeDest() 767 I->replaceAllUsesWith(Replacement); in HandleInlinedEHPad() 908 TempM->replaceAllUsesWith(NewM); in clone() 1726 CI->replaceAllUsesWith(NewCall); in inlineRetainOrClaimRVCalls() 2016 ICS->replaceAllUsesWith(NewI); in InlineFunction() 2150 CI->replaceAllUsesWith(NewCI); in InlineFunction() 2311 I->replaceAllUsesWith(NewInst); in InlineFunction() 2471 CB.replaceAllUsesWith(UndefValue::get(CB.getType())); in InlineFunction() 2473 CB.replaceAllUsesWith(R->getReturnValue()); in InlineFunction() [all …]
|
| H A D | PromoteMemoryToRegister.cpp | 411 LI->replaceAllUsesWith(ReplVal); in rewriteSingleStoreAlloca() 494 LI->replaceAllUsesWith(UndefValue::get(LI->getType())); in promoteSingleBlockAlloca() 513 LI->replaceAllUsesWith(ReplVal); in promoteSingleBlockAlloca() 675 A->replaceAllUsesWith(UndefValue::get(A->getType())); in run() 706 PN->replaceAllUsesWith(V); in run() 966 LI->replaceAllUsesWith(V); in RenamePass()
|
| H A D | CallGraphUpdater.cpp | 37 DeadFn->replaceAllUsesWith(UndefValue::get(DeadFn->getType())); in finalize() 52 DeadFn->replaceAllUsesWith(UndefValue::get(DeadFn->getType())); in finalize()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelArguments.cpp | 116 Arg.replaceAllUsesWith(CastOffsetPtr); in runOnFunction() 223 Arg.replaceAllUsesWith(NewVal); in runOnFunction() 227 Arg.replaceAllUsesWith(Shuf); in runOnFunction() 230 Arg.replaceAllUsesWith(Load); in runOnFunction()
|
| H A D | AMDGPULowerKernelAttributes.cpp | 194 SI->replaceAllUsesWith(ConstantExpr::getIntegerCast(KnownSize, in processUse() 198 SI->replaceAllUsesWith(ZextGroupSize); in processUse() 217 GroupSize->replaceAllUsesWith( in processUse()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 215 CB->replaceAllUsesWith(NewCB); in DeleteDeadVarargs() 235 I->replaceAllUsesWith(&*I2); in DeleteDeadVarargs() 246 Fn.replaceAllUsesWith(ConstantExpr::getBitCast(NF, Fn.getType())); in DeleteDeadVarargs() 294 Arg.replaceAllUsesWith(UndefValue::get(Arg.getType())); in RemoveDeadArgumentsFromCallers() 959 CB.replaceAllUsesWith(NewCB); in RemoveDeadStuffFromFunction() 965 CB.replaceAllUsesWith(UndefValue::get(CB.getType())); in RemoveDeadStuffFromFunction() 999 CB.replaceAllUsesWith(RetVal); in RemoveDeadStuffFromFunction() 1023 I->replaceAllUsesWith(&*I2); in RemoveDeadStuffFromFunction() 1030 I->replaceAllUsesWith(UndefValue::get(I->getType())); in RemoveDeadStuffFromFunction()
|
| H A D | GlobalSplit.cpp | 133 GEP->replaceAllUsesWith(NewGEP); in splitGlobal() 139 GV.replaceAllUsesWith(UndefValue::get(GV.getType())); in splitGlobal()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
| H A D | ValueList.cpp | 91 OldV->replaceAllUsesWith(V); in assignValue() 213 UserC->replaceAllUsesWith(NewC); in resolveConstantForwardRefs() 219 Placeholder->replaceAllUsesWith(RealVal); in resolveConstantForwardRefs()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanTransforms.cpp | 40 VPV->replaceAllUsesWith(&DummyValue); in VPInstructionsToVPRecipes() 90 VPV->replaceAllUsesWith(NewRecipe->getVPSingleValue()); in VPInstructionsToVPRecipes()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.h | 51 CI->replaceAllUsesWith(OldArg); in EraseInstruction() 147 It->second->replaceAllUsesWith(NewCall); in eraseInst()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Metadata.cpp | 134 replaceAllUsesWith(Entry); in handleChangedMetadata() 246 void ReplaceableMetadataImpl::replaceAllUsesWith(Metadata *MD) { in replaceAllUsesWith() function in ReplaceableMetadataImpl 401 MD->replaceAllUsesWith(nullptr); in handleDeletion() 430 MD->replaceAllUsesWith(ConstantAsMetadata::get(C)); in handleRAUW() 437 MD->replaceAllUsesWith(nullptr); in handleRAUW() 443 MD->replaceAllUsesWith(nullptr); in handleRAUW() 451 MD->replaceAllUsesWith(Entry); in handleRAUW() 688 replaceAllUsesWith(UniquedNode); in replaceWithUniquedImpl() 752 Context.getReplaceableUses()->replaceAllUsesWith(Uniqued); in handleChangedOperand() 845 N->replaceAllUsesWith(nullptr); in deleteTemporary()
|