| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 184 U->replaceUsesOfWith(&CB, Cast); in createRetBitCast() 312 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite() 323 NewRet->replaceUsesOfWith(Ret->getReturnValue(), NewRetVal); in versionCallSite()
|
| H A D | FlattenCFG.cpp | 304 PBI->replaceUsesOfWith(CC, NC); in FlattenParallelAndOr() 501 PBI->replaceUsesOfWith(CInst2, NC); in MergeIfRegion()
|
| H A D | DemoteRegToStack.cpp | 85 U->replaceUsesOfWith(&I, V); in DemoteRegToStack()
|
| H A D | CodeExtractor.cpp | 432 Pred->getTerminator()->replaceUsesOfWith(CommonExitBlock, NewExitBlock); in findOrCreateBlockForHoisting() 574 I->replaceUsesOfWith(I->getOperand(1), CastI); in findAllocas() 714 TI->replaceUsesOfWith(OldPred, NewBB); in severSplitPHINodesOfEntry() 773 PredBB->getTerminator()->replaceUsesOfWith(ExitBB, NewBB); in severSplitPHINodesOfExits() 1030 inst->replaceUsesOfWith(inputs[i], RewriteVal); in constructFunction() 1054 I->replaceUsesOfWith(header, newHeader); in constructFunction() 1264 inst->replaceUsesOfWith(outputs[i], load); in emitCallAndSwitchStatement()
|
| H A D | UnifyLoopExits.cpp | 134 U->replaceUsesOfWith(Def, NewPhi); in INITIALIZE_PASS_DEPENDENCY()
|
| H A D | LoopVersioning.cpp | 154 U->replaceUsesOfWith(Inst, PN); in addPHINodes()
|
| H A D | BreakCriticalEdges.cpp | 408 Src->getTerminator()->replaceUsesOfWith(Target, DirectSucc); in SplitIndirectBrCriticalEdges()
|
| H A D | SimplifyIndVar.cpp | 1456 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc); in truncateIVUse() 1495 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenLoopCompare() 1500 DU.NarrowUse->replaceUsesOfWith(Op, ExtOp); in widenLoopCompare() 1763 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenIVUse()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | UserTest.cpp | 147 EXPECT_TRUE(XUser->replaceUsesOfWith(&X, &I0)); in TEST() 152 EXPECT_FALSE(XUser->replaceUsesOfWith(&X, &I0)); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/XCore/ |
| H A D | XCoreLowerThreadLocal.cpp | 97 Instr->replaceUsesOfWith(CE, NewInst); in replaceConstantExprOp() 163 U->replaceUsesOfWith(GV, Addr); in lowerGlobal()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopFuse.cpp | 1385 FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC1.Preheader, in performFusion() 1396 FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC0.ExitBlock, in performFusion() 1445 FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header); in performFusion() 1446 FC1.Latch->getTerminator()->replaceUsesOfWith(FC1.Header, FC0.Header); in performFusion() 1599 FC0.GuardBranch->replaceUsesOfWith(FC0NonLoopBlock, FC1NonLoopBlock); in fuseGuardedLoops() 1602 BBToUpdate->getTerminator()->replaceUsesOfWith(FC1GuardBlock, FC1.Header); in fuseGuardedLoops() 1667 FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC0.ExitBlock, in fuseGuardedLoops() 1728 FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header); in fuseGuardedLoops() 1729 FC1.Latch->getTerminator()->replaceUsesOfWith(FC1.Header, FC0.Header); in fuseGuardedLoops()
|
| H A D | CorrelatedValuePropagation.cpp | 307 I->replaceUsesOfWith(Pointer, C); in processMemAccess() 1149 RI->replaceUsesOfWith(RetVal, C); in runImpl()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | PseudoProbe.cpp | 75 II->replaceUsesOfWith(II->getFactor(), Builder.getInt64(IntFactor)); in setProbeDistributionFactor()
|
| H A D | ReplaceConstant.cpp | 85 II->replaceUsesOfWith(CE, NI); in convertConstantExprsToInstructions()
|
| H A D | User.cpp | 21 bool User::replaceUsesOfWith(Value *From, Value *To) { in replaceUsesOfWith() function in llvm::User
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonOptimizeSZextends.cpp | 132 J->replaceUsesOfWith(Ashr, I); in runOnFunction()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Scalar/ |
| H A D | LoopPassManagerTest.cpp | 972 Loop01BB.getTerminator()->replaceUsesOfWith(&Loop01BB, NewLoop010PHBB); in TEST_F() 1014 NewLoop010BB->getTerminator()->replaceUsesOfWith(NewLoop01LatchBB, in TEST_F() 1164 Loop00BB.getTerminator()->replaceUsesOfWith(&Loop02PHBB, NewLoop01PHBB); in TEST_F() 1219 Loop02BB.getTerminator()->replaceUsesOfWith(&Loop0LatchBB, NewLoop03PHBB); in TEST_F() 1286 Loop0BB.getTerminator()->replaceUsesOfWith(&Loop2PHBB, NewLoop1PHBB); in TEST_F() 1399 IDomBB.getTerminator()->replaceUsesOfWith(L.getHeader(), in TEST_F() 1522 Loop02PHBB.getTerminator()->replaceUsesOfWith(&Loop0LatchBB, in TEST_F()
|
| /llvm-project-15.0.7/polly/test/GPGPU/ |
| H A D | managed-memory-rewrite-malloc-free-inside-constexpr.ll | 12 ; Inst->replaceUsesOfWith(...) call does not actually work, because this does
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | User.h | 308 bool replaceUsesOfWith(Value *From, Value *To);
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEmitIntrinsics.cpp | 145 U->replaceUsesOfWith(Old, New); in replaceMemInstrUses() 170 I->replaceUsesOfWith(Op, CCI); in preprocessCompositeConstants()
|
| H A D | SPIRVPrepareFunctions.cpp | 116 U->replaceUsesOfWith(F, NewF); in processFunctionSignature()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | ManagedMemoryRewrite.cpp | 159 I->replaceUsesOfWith(OldVal, NewVal); in rewriteOldValToNew()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUReplaceLDSUseWithPointer.cpp | 286 II->replaceUsesOfWith(GV, ReplaceInst); in replaceLDSUseByPointer()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1726 U->replaceUsesOfWith(Def, CurrentReload); in insertSpills() 1778 DVI->replaceUsesOfWith(Alloca, G); in insertSpills() 1781 I->replaceUsesOfWith(Alloca, G); in insertSpills() 2056 U->replaceUsesOfWith(Def, CurrentMaterialization); in rewriteMaterializableInstructions() 2513 NewLifetime->replaceUsesOfWith(NewLifetime->getOperand(1), NewBitCast); in sinkLifetimeStartMarkers()
|
| /llvm-project-15.0.7/mlir/lib/Transforms/Utils/ |
| H A D | InliningUtils.cpp | 401 castResult.getDefiningOp()->replaceUsesOfWith(castResult, callResult); in inlineCall()
|