|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/User.h 303 void replaceUsesOfWith(Value *From, Value *To);
References
lib/CodeGen/CodeGenPrepare.cpp 5002 MemoryInst->replaceUsesOfWith(Repl, SunkAddr);
6155 UI->replaceUsesOfWith(SVI, InsertedShuffle);
lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp 150 I.replaceUsesOfWith(Ptr, PtrI);
lib/Target/ARM/ARMCodeGenPrepare.cpp 463 U->replaceUsesOfWith(From, To);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 661 II->replaceUsesOfWith(I, J);
1439 I->replaceUsesOfWith(Op, W);
1462 cast<User>(S)->replaceUsesOfWith(S, PN);
lib/Target/Hexagon/HexagonOptimizeSZextends.cpp 134 J->replaceUsesOfWith(Ashr, I);
lib/Target/XCore/XCoreLowerThreadLocal.cpp 147 Instr->replaceUsesOfWith(CE, NewInst);
213 U->replaceUsesOfWith(GV, Addr);
lib/Transforms/Coroutines/CoroFrame.cpp 740 E.user()->replaceUsesOfWith(CurrentValue, CurrentReload);
769 I->replaceUsesOfWith(A, G);
988 E.user()->replaceUsesOfWith(CurrentDef, CurrentMaterialization);
lib/Transforms/IPO/GlobalOpt.cpp 873 User->replaceUsesOfWith(CI, TheBC);
1049 U->replaceUsesOfWith(Alloc, NL);
1912 UI->replaceUsesOfWith(U, NewU);
lib/Transforms/IPO/PartialInlining.cpp 1098 E->getTerminator()->replaceUsesOfWith(PreReturn, ClonedOI->ReturnBlock);
lib/Transforms/InstCombine/InstCombineSelect.cpp 1579 Outer.replaceUsesOfWith(Inner, A);
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp 294 I->replaceUsesOfWith(Pointer, C);
903 RI->replaceUsesOfWith(RetVal, C);
lib/Transforms/Scalar/GVNHoist.cpp 887 Repl->replaceUsesOfWith(Gep, ClonedGep);
lib/Transforms/Scalar/IndVarSimplify.cpp 1352 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc);
1391 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef);
1396 DU.NarrowUse->replaceUsesOfWith(Op, ExtOp);
1605 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef);
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp 1489 Preheader->getTerminator()->replaceUsesOfWith(MainLoopStructure.Header,
lib/Transforms/Scalar/JumpThreading.cpp 467 I.replaceUsesOfWith(Cond, ToVal);
lib/Transforms/Scalar/LoopDistribute.cpp 476 Pred->getTerminator()->replaceUsesOfWith(OrigPH, TopPH);
lib/Transforms/Scalar/LoopFuse.cpp 1200 FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC1.Preheader,
1246 FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header);
1247 FC1.Latch->getTerminator()->replaceUsesOfWith(FC1.Header, FC0.Header);
1370 FC0.GuardBranch->replaceUsesOfWith(FC0NonLoopBlock, FC1NonLoopBlock);
1371 FC0.ExitBlock->getTerminator()->replaceUsesOfWith(FC1GuardBlock,
1428 FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC0.ExitBlock,
1490 FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header);
1491 FC1.Latch->getTerminator()->replaceUsesOfWith(FC1.Header, FC0.Header);
lib/Transforms/Scalar/LoopRerollPass.cpp 1499 KV.first->replaceUsesOfWith(Inst, NewIV);
1567 User->replaceUsesOfWith(PossibleReds[i].getReducedValue(),
lib/Transforms/Scalar/LoopStrengthReduce.cpp 2487 TermBr->replaceUsesOfWith(OldCond, Cond);
3213 Inc.UserInst->replaceUsesOfWith(Inc.IVOperand, IVOper);
3234 Phi.replaceUsesOfWith(PostIncV, IVOper);
5448 LF.UserInst->replaceUsesOfWith(LF.OperandValToReplace, FullV);
lib/Transforms/Scalar/LoopUnswitch.cpp 1478 UI->replaceUsesOfWith(LIC, Replacement);
lib/Transforms/Scalar/MergeICmps.cpp 728 Pred->getTerminator()->replaceUsesOfWith(EntryBlock_, NextCmpBlock);
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 1838 Use->replaceUsesOfWith(Def, Load);
2110 ClonedValue->replaceUsesOfWith(LastValue, LastClonedValue);
2129 ClonedValue->replaceUsesOfWith(RootOfChain, AlternateLiveBase);
lib/Transforms/Scalar/StructurizeCFG.cpp 693 BB->getTerminator()->replaceUsesOfWith(OldExit, NewExit);
lib/Transforms/Utils/BasicBlockUtils.cpp 637 Preds[i]->getTerminator()->replaceUsesOfWith(BB, NewBB);
690 Preds[i]->getTerminator()->replaceUsesOfWith(OrigBB, NewBB1);
726 NewBB2Pred->getTerminator()->replaceUsesOfWith(OrigBB, NewBB2);
lib/Transforms/Utils/BreakCriticalEdges.cpp 415 Src->getTerminator()->replaceUsesOfWith(Target, DirectSucc);
lib/Transforms/Utils/CallPromotionUtils.cpp 116 U->replaceUsesOfWith(OrigInst, Phi);
186 U->replaceUsesOfWith(CS.getInstruction(), Cast);
lib/Transforms/Utils/CodeExtractor.cpp 431 Pred->getTerminator()->replaceUsesOfWith(CommonExitBlock, NewExitBlock);
666 TI->replaceUsesOfWith(OldPred, NewBB);
726 PredBB->getTerminator()->replaceUsesOfWith(ExitBB, NewBB);
948 inst->replaceUsesOfWith(inputs[i], RewriteVal);
970 I->replaceUsesOfWith(header, newHeader);
1174 inst->replaceUsesOfWith(outputs[i], load);
lib/Transforms/Utils/DemoteRegToStack.cpp 86 U->replaceUsesOfWith(&I, V);
lib/Transforms/Utils/FlattenCFG.cpp 304 PBI->replaceUsesOfWith(CC, NC);
453 PBI->replaceUsesOfWith(CC, NC);
lib/Transforms/Utils/LoopVersioning.cpp 147 U->replaceUsesOfWith(Inst, PN);
lib/Transforms/Utils/SimplifyCFG.cpp 4050 TI->replaceUsesOfWith(BB, UnwindDest);
5622 SI->replaceUsesOfWith(SI->getCondition(), Rot);
lib/Transforms/Vectorize/LoopVectorize.cpp 3758 (*UI++)->replaceUsesOfWith(RdxParts[Part], Extnd);
lib/Transforms/Vectorize/SLPVectorizer.cpp 4342 User->replaceUsesOfWith(Scalar, Ex);
4349 User->replaceUsesOfWith(Scalar, Ex);
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp 1636 inst->replaceUsesOfWith(
tools/polly/lib/CodeGen/BlockGenerators.cpp 236 NewInst->replaceUsesOfWith(OldOperand, NewOperand);
901 EUser->replaceUsesOfWith(EscapeInst, MergePHI);
tools/polly/lib/Support/ScopHelper.cpp 281 InstClone->replaceUsesOfWith(Op, OpClone);
unittests/Transforms/Scalar/LoopPassManagerTest.cpp 960 Loop01BB.getTerminator()->replaceUsesOfWith(&Loop01BB, NewLoop010PHBB);
1002 NewLoop010BB->getTerminator()->replaceUsesOfWith(NewLoop01LatchBB,
1152 Loop00BB.getTerminator()->replaceUsesOfWith(&Loop02PHBB, NewLoop01PHBB);
1207 Loop02BB.getTerminator()->replaceUsesOfWith(&Loop0LatchBB, NewLoop03PHBB);
1274 Loop0BB.getTerminator()->replaceUsesOfWith(&Loop2PHBB, NewLoop1PHBB);
1387 IDomBB.getTerminator()->replaceUsesOfWith(L.getHeader(),
1510 Loop02PHBB.getTerminator()->replaceUsesOfWith(&Loop0LatchBB,