| /freebsd-13.1/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 | 372 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType() 432 LI->replaceAllUsesWith(Val); in expandAtomicLoadToLL() 453 LI->replaceAllUsesWith(Loaded); in expandAtomicLoadToCmpXchg() 1000 CI->replaceAllUsesWith(Res); in expandPartwordCmpXchg() 1013 I->replaceAllUsesWith(Loaded); in expandAtomicOpToLLSC() 1066 CI->replaceAllUsesWith(Res); in expandAtomicCmpXchgToMaskedIntrinsic() 1156 CI->replaceAllUsesWith(Res); in convertCmpXchgToIntegerType() 1401 CI->replaceAllUsesWith(Res); in expandAtomicCmpXchg() 1530 AI->replaceAllUsesWith(Loaded); in expandAtomicRMWToCmpXchg() 1884 I->replaceAllUsesWith(V); in expandAtomicOpToLibcall() [all …]
|
| H A D | SjLjEHPrepare.cpp | 154 EVI->replaceAllUsesWith(ExnVal); in substituteLPadValues() 156 EVI->replaceAllUsesWith(SelVal); in substituteLPadValues() 173 LPI->replaceAllUsesWith(LPadVal); in substituteLPadValues() 260 AI.replaceAllUsesWith(SI); in lowerIncomingArguments()
|
| H A D | PreISelIntrinsicLowering.cpp | 53 CI->replaceAllUsesWith(ResultPtr); in lowerLoadRelative() 114 CI->replaceAllUsesWith(NewCI); in lowerObjCCall()
|
| /freebsd-13.1/contrib/llvm-project/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 | 414 S->replaceAllUsesWith(PN); in createResumeEntryBlock() 518 NewS->replaceAllUsesWith(Args.front()); in replaceRetconOrAsyncSuspendUses() 540 NewS->replaceAllUsesWith(Agg); in replaceRetconOrAsyncSuspendUses() 992 OldVFrame->replaceAllUsesWith(NewVFrame); in create() 1079 CS->replaceAllUsesWith(SizeConstant); in replaceFrameSize() 1314 CoroBegin->replaceAllUsesWith(VFrame); in handleNoSuspendCoroutine() 1525 ResumeIntrinsic->replaceAllUsesWith(Val); in replaceAsyncResumeFunction() 1987 Cast->replaceAllUsesWith(Fn); in replacePrepare() 1993 Prepare->replaceAllUsesWith(CastFn); in replacePrepare() 2042 Cast->replaceAllUsesWith(Fn); in replacePrepare() [all …]
|
| H A D | CoroEarly.cpp | 77 Intrin->replaceAllUsesWith(Replacement); in lowerCoroPromise() 99 II->replaceAllUsesWith(Cond); in lowerCoroDone() 134 II->replaceAllUsesWith(NoopCoroVoidPtr); in lowerCoroNoop()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | CorrelatedValuePropagation.cpp | 267 P->replaceAllUsesWith(V); in processPHI() 316 Cmp->replaceAllUsesWith(TorF); in processCmp() 465 II->replaceAllUsesWith(X); in processAbsIntrinsic() 497 II->replaceAllUsesWith(NegX); in processAbsIntrinsic() 537 WO->replaceAllUsesWith(NewI); in processOverflowIntrinsic() 557 SI->replaceAllUsesWith(BinOp); in processSaturatingInst() 810 SDI->replaceAllUsesWith(Res); in processSRem() 867 SDI->replaceAllUsesWith(Res); in processSDiv() 905 SDI->replaceAllUsesWith(BO); in processAShr() 924 SDI->replaceAllUsesWith(ZExt); in processSExt() [all …]
|
| H A D | LowerAtomic.cpp | 38 CXI->replaceAllUsesWith(Res); in LowerAtomicCmpXchgInst() 98 RMWI->replaceAllUsesWith(Orig); in lowerAtomicRMWInst()
|
| 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelArguments.cpp | 117 Arg.replaceAllUsesWith(CastOffsetPtr); in runOnFunction() 224 Arg.replaceAllUsesWith(NewVal); in runOnFunction() 228 Arg.replaceAllUsesWith(Shuf); in runOnFunction() 231 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()
|
| H A D | AMDGPUCodeGenPrepare.cpp | 356 I.replaceAllUsesWith(TruncRes); in promoteUniformOpToI32() 383 I.replaceAllUsesWith(NewICmp); in promoteUniformOpToI32() 412 I.replaceAllUsesWith(TruncRes); in promoteUniformOpToI32() 438 I.replaceAllUsesWith(TruncRes); in promoteUniformBitreverseToI32() 552 I.replaceAllUsesWith(NewVal); in replaceMulWithMul24() 626 BO.replaceAllUsesWith(NewSelect); in foldBinOpIntoSelect() 804 FDiv.replaceAllUsesWith(NewFDiv); in visitFDiv() 832 I.replaceAllUsesWith(IntrinsicCall); in visitXor() 1278 I.replaceAllUsesWith(NewDiv); in visitBinaryOperator() 1335 I.replaceAllUsesWith(ValOrig); in visitLoadInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | ValueList.cpp | 88 OldV->replaceAllUsesWith(V); in assignValue() 207 UserC->replaceAllUsesWith(NewC); in resolveConstantForwardRefs() 213 Placeholder->replaceAllUsesWith(RealVal); in resolveConstantForwardRefs()
|
| /freebsd-13.1/contrib/llvm-project/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 | 328 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv() 344 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem() 367 Rem->replaceAllUsesWith(Sel); in replaceRemWithNumeratorOrZero() 450 EVI->replaceAllUsesWith(NewResult); in eliminateOverflowIntrinsic() 479 SI->replaceAllUsesWith(BO); in eliminateSaturatingIntrinsic() 588 ICI->replaceAllUsesWith(NewICI); in eliminateTrunc() 668 I->replaceAllUsesWith(Invariant); in replaceIVUserWithLoopInvariant() 712 UseInst->replaceAllUsesWith(IVOperand); in eliminateIdentitySCEV() 1607 User->replaceAllUsesWith(WideBO); in widenWithVariantUse() 1622 User->replaceAllUsesWith(TruncPN); in widenWithVariantUse() [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() 1729 CI->replaceAllUsesWith(NewCall); in inlineRetainOrClaimRVCalls() 2019 ICS->replaceAllUsesWith(NewI); in InlineFunction() 2153 CI->replaceAllUsesWith(NewCI); in InlineFunction() 2318 I->replaceAllUsesWith(NewInst); in InlineFunction() 2557 CB.replaceAllUsesWith(PHI); in InlineFunction() 2598 ReturnBB->replaceAllUsesWith(AfterCallBB); in InlineFunction() [all …]
|
| H A D | CallGraphUpdater.cpp | 37 DeadFn->replaceAllUsesWith(UndefValue::get(DeadFn->getType())); in finalize() 52 DeadFn->replaceAllUsesWith(UndefValue::get(DeadFn->getType())); in finalize()
|
| 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(PoisonValue::get(A->getType())); in run() 706 PN->replaceAllUsesWith(V); in run() 966 LI->replaceAllUsesWith(V); in RenamePass()
|
| /freebsd-13.1/contrib/llvm-project/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() 295 Arg.replaceAllUsesWith(UndefValue::get(Arg.getType())); in RemoveDeadArgumentsFromCallers() 960 CB.replaceAllUsesWith(NewCB); in RemoveDeadStuffFromFunction() 966 CB.replaceAllUsesWith(UndefValue::get(CB.getType())); in RemoveDeadStuffFromFunction() 1000 CB.replaceAllUsesWith(RetVal); in RemoveDeadStuffFromFunction() 1024 I->replaceAllUsesWith(&*I2); in RemoveDeadStuffFromFunction() 1031 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.h | 51 CI->replaceAllUsesWith(OldArg); in EraseInstruction() 147 It->second->replaceAllUsesWith(NewCall); in eraseInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | SVEIntrinsicOpts.cpp | 182 PTrue->replaceAllUsesWith(ConvertFromSVBool); in coalescePTrueIntrinsicCalls() 184 PTrue->replaceAllUsesWith(MostEncompassingPTrue); in coalescePTrueIntrinsicCalls()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SimplifyLibCalls.h | 117 I->replaceAllUsesWith(With); in replaceAllUsesWithDefault() 124 void replaceAllUsesWith(Instruction *I, Value *With); 131 replaceAllUsesWith(I, With); in substituteInParent()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Metadata.cpp | 134 replaceAllUsesWith(Entry); in handleChangedMetadata() 252 void ReplaceableMetadataImpl::replaceAllUsesWith(Metadata *MD) { in replaceAllUsesWith() function in ReplaceableMetadataImpl 407 MD->replaceAllUsesWith(nullptr); in handleDeletion() 436 MD->replaceAllUsesWith(ConstantAsMetadata::get(C)); in handleRAUW() 443 MD->replaceAllUsesWith(nullptr); in handleRAUW() 449 MD->replaceAllUsesWith(nullptr); in handleRAUW() 457 MD->replaceAllUsesWith(Entry); in handleRAUW() 694 replaceAllUsesWith(UniquedNode); in replaceWithUniquedImpl() 758 Context.getReplaceableUses()->replaceAllUsesWith(Uniqued); in handleChangedOperand() 851 N->replaceAllUsesWith(nullptr); in deleteTemporary()
|