| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroCleanup.cpp | 42 SubFn->replaceAllUsesWith(Load); in lowerSubFn() 55 II->replaceAllUsesWith(II->getArgOperand(1)); in lower() 58 II->replaceAllUsesWith(II->getArgOperand(1)); in lower() 61 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lower() 64 II->replaceAllUsesWith( in lower() 71 II->replaceAllUsesWith(ConstantTokenNone::get(Context)); in lower() 79 II->replaceAllUsesWith(UndefValue::get(II->getType())); in lower() 98 Target->replaceAllUsesWith(NewFuncPtrStruct); in lower()
|
| H A D | CoroSplit.cpp | 495 S->replaceAllUsesWith(PN); in createResumeEntryBlock() 602 NewS->replaceAllUsesWith(Args.front()); in replaceRetconOrAsyncSuspendUses() 624 NewS->replaceAllUsesWith(Agg); in replaceRetconOrAsyncSuspendUses() 717 MappedOp->replaceAllUsesWith(MappedResult); in replaceSwiftErrorOps() 1117 OldVFrame->replaceAllUsesWith(NewVFrame); in create() 1194 CA->replaceAllUsesWith( in replaceFrameSizeAndAlignment() 1210 CS->replaceAllUsesWith(SizeConstant); in replaceFrameSizeAndAlignment() 1494 CoroBegin->replaceAllUsesWith(Frame); in handleNoSuspendCoroutine() 1728 ResumeIntrinsic->replaceAllUsesWith(Val); in replaceAsyncResumeFunction() 2132 Cast->replaceAllUsesWith(Fn); in replacePrepare() [all …]
|
| H A D | CoroEarly.cpp | 78 Intrin->replaceAllUsesWith(Replacement); in lowerCoroPromise() 100 II->replaceAllUsesWith(Cond); in lowerCoroDone() 155 II->replaceAllUsesWith(NoopCoroVoidPtr); in lowerCoroNoop()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 48 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith() 242 CI->replaceAllUsesWith(V); in LowerIntrinsicCall() 266 CI->replaceAllUsesWith(Src); in LowerIntrinsicCall() 287 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 0)); in LowerIntrinsicCall() 294 CI->replaceAllUsesWith( in LowerIntrinsicCall() 300 CI->replaceAllUsesWith( in LowerIntrinsicCall() 322 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 1)); in LowerIntrinsicCall() 328 CI->replaceAllUsesWith(CI->getOperand(0)); in LowerIntrinsicCall() 436 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 1)); in LowerIntrinsicCall() 441 CI->replaceAllUsesWith(UndefValue::get(CI->getType())); in LowerIntrinsicCall() [all …]
|
| H A D | AtomicExpandPass.cpp | 384 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType() 464 LI->replaceAllUsesWith(Val); in expandAtomicLoadToLL() 485 LI->replaceAllUsesWith(Loaded); in expandAtomicLoadToCmpXchg() 1045 CI->replaceAllUsesWith(Res); in expandPartwordCmpXchg() 1058 I->replaceAllUsesWith(Loaded); in expandAtomicOpToLLSC() 1111 CI->replaceAllUsesWith(Res); in expandAtomicCmpXchgToMaskedIntrinsic() 1199 CI->replaceAllUsesWith(Res); in convertCmpXchgToIntegerType() 1443 CI->replaceAllUsesWith(Res); in expandAtomicCmpXchg() 1579 AI->replaceAllUsesWith(Loaded); in expandAtomicRMWToCmpXchg() 1932 I->replaceAllUsesWith(V); in expandAtomicOpToLibcall() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | CorrelatedValuePropagation.cpp | 277 P->replaceAllUsesWith(V); in processPHI() 336 Cmp->replaceAllUsesWith(TorF); in constantFoldCmp() 498 II->replaceAllUsesWith(X); in processAbsIntrinsic() 509 II->replaceAllUsesWith(NegX); in processAbsIntrinsic() 560 WO->replaceAllUsesWith(NewI); in processOverflowIntrinsic() 580 SI->replaceAllUsesWith(BinOp); in processSaturatingInst() 909 SDI->replaceAllUsesWith(Res); in processSRem() 971 SDI->replaceAllUsesWith(Res); in processSDiv() 1029 SDI->replaceAllUsesWith(BO); in processAShr() 1049 SDI->replaceAllUsesWith(ZExt); in processSExt() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelAttributes.cpp | 232 ICmp->replaceAllUsesWith(llvm::ConstantInt::getTrue(ICmp->getType())); in processUse() 242 Remainder->replaceAllUsesWith(Constant::getNullValue(Remainder->getType())); in processUse() 290 UMin->replaceAllUsesWith(ConstantFoldIntegerCast( in processUse() 293 UMin->replaceAllUsesWith(ZextGroupSize); in processUse() 313 GroupSize->replaceAllUsesWith( in processUse()
|
| H A D | AMDGPULowerKernelArguments.cpp | 168 Arg.replaceAllUsesWith(CastOffsetPtr); in lowerKernelArguments() 272 Arg.replaceAllUsesWith(NewVal); in lowerKernelArguments() 276 Arg.replaceAllUsesWith(Shuf); in lowerKernelArguments() 279 Arg.replaceAllUsesWith(Load); in lowerKernelArguments()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVStripConvergentIntrinsics.cpp | 56 II->replaceAllUsesWith(UndefValue::get(II->getType())); in runOnFunction() 66 CI->replaceAllUsesWith(NewCall); in runOnFunction()
|
| H A D | SPIRVEmitIntrinsics.cpp | 253 I.replaceAllUsesWith(NewI); in visitGetElementPtrInst() 266 I.replaceAllUsesWith(Source); in visitBitCastInst() 275 I.replaceAllUsesWith(NewI); in visitBitCastInst() 395 I.replaceAllUsesWith(NewI); in visitInsertElementInst() 408 I.replaceAllUsesWith(NewI); in visitExtractElementInst() 438 I.replaceAllUsesWith(NewI); in visitExtractValueInst() 479 I.replaceAllUsesWith(NewI); in visitAllocaInst() 587 I->replaceAllUsesWith(NewOp); in processInstrAfterVisit()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanTransforms.cpp | 317 PredRecipe->replaceAllUsesWith(PHIRecipe); in createReplicateRegion() 425 FindMyCast->replaceAllUsesWith(IV); in removeRedundantInductionCasts() 458 WidenNewIV->replaceAllUsesWith(WidenOriginalIV); in removeRedundantCanonicalIVs() 532 WideIV->replaceAllUsesWith(Steps); in optimizeInductions() 552 ExpR->replaceAllUsesWith(I.first->second); in removeRedundantExpandSCEVRecipes() 745 FOR->replaceAllUsesWith(RecurSplice); in adjustFixedOrderRecurrences() 830 Trunc->replaceAllUsesWith(A); in simplifyRecipe() 839 Trunc->replaceAllUsesWith(VPC); in simplifyRecipe() 843 Trunc->replaceAllUsesWith(VPC); in simplifyRecipe() 962 ResultVPV->replaceAllUsesWith(Ext); in truncateToMinimalBitwidths() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | IntegerDivision.cpp | 370 Rem->replaceAllUsesWith(Remainder); in expandRemainder() 388 Rem->replaceAllUsesWith(Remainder); in expandRemainder() 424 Div->replaceAllUsesWith(Quotient); in expandDivision() 442 Div->replaceAllUsesWith(Quotient); in expandDivision() 493 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo32Bits() 539 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo64Bits() 588 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo32Bits() 634 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo64Bits()
|
| H A D | SimplifyIndVar.cpp | 305 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv() 321 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem() 344 Rem->replaceAllUsesWith(Sel); in replaceRemWithNumeratorOrZero() 457 SI->replaceAllUsesWith(BO); in eliminateSaturatingIntrinsic() 567 ICI->replaceAllUsesWith(NewCmp); in eliminateTrunc() 647 I->replaceAllUsesWith(Invariant); in replaceIVUserWithLoopInvariant() 700 CI->replaceAllUsesWith(Conv); in replaceFloatIVWithIntegerIV() 762 UseInst->replaceAllUsesWith(IVOperand); in eliminateIdentitySCEV() 1690 User->replaceAllUsesWith(WideBO); in widenWithVariantUse() 1706 User->replaceAllUsesWith(TruncPN); in widenWithVariantUse() [all …]
|
| H A D | CallGraphUpdater.cpp | 39 DeadFn->replaceAllUsesWith(PoisonValue::get(DeadFn->getType())); in finalize() 54 DeadFn->replaceAllUsesWith(PoisonValue::get(DeadFn->getType())); in finalize()
|
| H A D | InlineFunction.cpp | 200 OuterPHI->replaceAllUsesWith(InnerPHI); in getInnerResumeDest() 208 CallerLPad->replaceAllUsesWith(InnerEHValuesPHI); in getInnerResumeDest() 756 I->replaceAllUsesWith(Replacement); in HandleInlinedEHPad() 977 I->replaceAllUsesWith(NewInst); in PropagateOperandBundles() 1059 TempM->replaceAllUsesWith(NewM); in clone() 2007 CI->replaceAllUsesWith(NewCall); in inlineRetainOrClaimRVCalls() 2340 ICS->replaceAllUsesWith(NewI); in InlineFunction() 2493 CI->replaceAllUsesWith(NewCI); in InlineFunction() 2873 CB.replaceAllUsesWith(PHI); in InlineFunction() 2914 ReturnBB->replaceAllUsesWith(AfterCallBB); in InlineFunction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 126 I.replaceAllUsesWith(Builder.CreateFSub(Zero, In)); in runOnModule() 137 LI->replaceAllUsesWith( in runOnModule() 148 SI->replaceAllUsesWith( in runOnModule()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/HipStdPar/ |
| H A D | HipStdPar.cpp | 63 ToErase.replaceAllUsesWith(PoisonValue::get(ToErase.getType())); in eraseFromModule() 288 F.replaceAllUsesWith(R); in run() 306 F->replaceAllUsesWith(LibcFree.getCallee()); in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 220 CB->replaceAllUsesWith(NewCB); in deleteDeadVarargs() 241 I->replaceAllUsesWith(&*I2); in deleteDeadVarargs() 252 F.replaceAllUsesWith(NF); in deleteDeadVarargs() 304 Arg.replaceAllUsesWith(PoisonValue::get(Arg.getType())); in removeDeadArgumentsFromCallers() 962 CB.replaceAllUsesWith(NewCB); in removeDeadStuffFromFunction() 968 CB.replaceAllUsesWith(PoisonValue::get(CB.getType())); in removeDeadStuffFromFunction() 1002 CB.replaceAllUsesWith(RetVal); in removeDeadStuffFromFunction() 1026 I->replaceAllUsesWith(&*I2); in removeDeadStuffFromFunction() 1033 I->replaceAllUsesWith(PoisonValue::get(I->getType())); in removeDeadStuffFromFunction()
|
| H A D | ExtractGV.cpp | 126 GA.replaceAllUsesWith(Declaration); in run() 144 IF.replaceAllUsesWith(Declaration); in run()
|
| H A D | GlobalSplit.cpp | 131 GEP->replaceAllUsesWith(NewGEP); in splitGlobal() 137 GV.replaceAllUsesWith(PoisonValue::get(GV.getType())); in splitGlobal()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFCheckAndAdjustIR.cpp | 126 Call->replaceAllUsesWith(Arg); in removePassThroughBuiltin() 166 Call->replaceAllUsesWith(ICmp); in removeCompareBuiltin() 302 ICmp->replaceAllUsesWith(Replacement); in sinkMinMaxInBB() 372 Call->replaceAllUsesWith(Load); in unrollGEPLoad()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.h | 50 CI->replaceAllUsesWith(OldArg); in EraseInstruction() 145 It->second->replaceAllUsesWith(NewCall); in eraseInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 167 Phi.replaceAllUsesWith(Builder.CreateCall(F, {ShVal0, ShVal1, ShAmt})); in foldGuardedFunnelShift() 266 I.replaceAllUsesWith(Zext); in foldAnyOrAllBitsSet() 327 I.replaceAllUsesWith(Builder.CreateCall(Func, {Root})); in tryToRecognizePopCount() 395 I.replaceAllUsesWith(Builder.CreateSExt(Sat, IntTy)); in tryToFPToSat() 436 I.replaceAllUsesWith(NewSqrt); in foldSqrt() 608 LI->replaceAllUsesWith(ZExtOrTrunc); in tryToRecognizeTableBasedCttz() 831 I.replaceAllUsesWith(NewOp); in foldConsecutiveLoads() 920 I.replaceAllUsesWith(Ca); in foldPatternedLoads()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86LowerAMXType.cpp | 252 Bitcast->replaceAllUsesWith(NewInst); in combineLoadBitcast() 290 Bitcast->replaceAllUsesWith(Vec); in combineBitcastStore() 328 Bitcast->replaceAllUsesWith(NewInst); in transformBitcast() 347 Bitcast->replaceAllUsesWith(NewInst); in transformBitcast() 904 ACI->replaceAllUsesWith(NewPN); in optimizeAMXCastFromPhi() 986 Cast->replaceAllUsesWith(NewInst); in combineLoadCast() 1065 II->replaceAllUsesWith(Inst->getOperand(0)); in combineAMXcast() 1174 AMXCast->replaceAllUsesWith(NewInst); in transformAMXCast() 1195 AMXCast->replaceAllUsesWith(NewInst); in transformAMXCast()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | SVEIntrinsicOpts.cpp | 182 PTrue->replaceAllUsesWith(ConvertFromSVBool); in coalescePTrueIntrinsicCalls() 184 PTrue->replaceAllUsesWith(MostEncompassingPTrue); in coalescePTrueIntrinsicCalls() 387 BitCast->replaceAllUsesWith(LoadPred); in optimizePredicateLoad()
|