/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 121 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 188 U->replaceUsesOfWith(&CB, Cast); in createRetBitCast() 309 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSiteWithCond() 320 NewRet->replaceUsesOfWith(Ret->getReturnValue(), NewRetVal); in versionCallSiteWithCond()
|
H A D | DemoteRegToStack.cpp | 96 U->replaceUsesOfWith(&I, V); in DemoteRegToStack() 178 User->replaceUsesOfWith(P, V); in DemotePHIToStack()
|
H A D | FlattenCFG.cpp | 301 PBI->replaceUsesOfWith(CC, NC); in FlattenParallelAndOr() 497 PBI->replaceUsesOfWith(PBI->getCondition(), NC); in MergeIfRegion()
|
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() 775 PredBB->getTerminator()->replaceUsesOfWith(ExitBB, NewBB); in severSplitPHINodesOfExits() 1056 inst->replaceUsesOfWith(inputs[i], RewriteVal); in constructFunction() 1080 I->replaceUsesOfWith(header, newHeader); in constructFunction() 1283 inst->replaceUsesOfWith(outputs[i], load); in emitCallAndSwitchStatement()
|
H A D | UnifyLoopExits.cpp | 137 U->replaceUsesOfWith(Def, NewPhi); in INITIALIZE_PASS_DEPENDENCY()
|
H A D | LoopVersioning.cpp | 155 U->replaceUsesOfWith(Inst, PN); in addPHINodes()
|
H A D | BreakCriticalEdges.cpp | 405 Src->getTerminator()->replaceUsesOfWith(Target, DirectSucc); in SplitIndirectBrCriticalEdges()
|
H A D | SimplifyIndVar.cpp | 1593 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc); in truncateIVUse() 1628 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenLoopCompare() 1633 DU.NarrowUse->replaceUsesOfWith(Op, ExtOp); in widenLoopCompare() 1900 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenIVUse()
|
H A D | ModuleUtils.cpp | 432 UserInst->replaceUsesOfWith(GI, ResolvedCast); in lowerGlobalIFuncUsersAsGlobalCtor()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVRegularizer.cpp | 101 User->replaceUsesOfWith(CE, ReplInst); in runLowerConstExpr() 142 II->replaceUsesOfWith(Op, ReplInst); in runLowerConstExpr() 243 CI->replaceUsesOfWith(OldF, NewF); in visitCallScalToVec()
|
H A D | SPIRVPrepareFunctions.cpp | 537 U->replaceUsesOfWith(F, NewF); in removeAggregateTypesFromSignature()
|
H A D | SPIRVEmitIntrinsics.cpp | 830 U->replaceUsesOfWith(Old, New); in replaceMemInstrUses() 859 I->replaceUsesOfWith(Op, IntrUndef); in preprocessUndefs() 911 I->replaceUsesOfWith(Op, CI); in preprocessCompositeConstants()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreLowerThreadLocal.cpp | 100 Instr->replaceUsesOfWith(CE, NewInst); in replaceConstantExprOp() 165 U->replaceUsesOfWith(GV, Addr); in lowerGlobal()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopFuse.cpp | 1633 FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC1.Preheader, in performFusion() 1644 FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC0.ExitBlock, in performFusion() 1694 FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header); in performFusion() 1695 FC1.Latch->getTerminator()->replaceUsesOfWith(FC1.Header, FC0.Header); in performFusion() 1849 FC0.GuardBranch->replaceUsesOfWith(FC0NonLoopBlock, FC1NonLoopBlock); in fuseGuardedLoops() 1852 BBToUpdate->getTerminator()->replaceUsesOfWith(FC1GuardBlock, FC1.Header); in fuseGuardedLoops() 1917 FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC0.ExitBlock, in fuseGuardedLoops() 1979 FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header); in fuseGuardedLoops() 1980 FC1.Latch->getTerminator()->replaceUsesOfWith(FC1.Header, FC0.Header); in fuseGuardedLoops()
|
H A D | MergeICmps.cpp | 647 LhsLoad->replaceUsesOfWith(LhsLoad->getOperand(0), Lhs); in mergeComparisons() 648 RhsLoad->replaceUsesOfWith(RhsLoad->getOperand(0), Rhs); in mergeComparisons() 709 Pred->getTerminator()->replaceUsesOfWith(EntryBlock_, NextCmpBlock); in simplify()
|
H A D | InferAddressSpaces.cpp | 1198 I->replaceUsesOfWith(C, Replace); in rewriteWithNewAddressSpaces() 1316 CurUser->replaceUsesOfWith( in rewriteWithNewAddressSpaces() 1319 CurUser->replaceUsesOfWith( in rewriteWithNewAddressSpaces()
|
H A D | RewriteStatepointsForGC.cpp | 1390 ClonedValue->replaceUsesOfWith(LastValue, LastClonedValue); in rematerializeChain() 1409 ClonedValue->replaceUsesOfWith(RootOfChain, AlternateLiveBase); in rematerializeChain() 2168 Use->replaceUsesOfWith(Def, Load); in relocationViaAlloca() 2498 UserI->replaceUsesOfWith(Cand, RematChain); in rematerializeLiveValuesAtUses()
|
H A D | LoopDistribute.cpp | 468 Pred->getTerminator()->replaceUsesOfWith(OrigPH, TopPH); in cloneLoops()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonOptimizeSZextends.cpp | 132 J->replaceUsesOfWith(Ashr, I); in runOnFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | PseudoProbe.cpp | 86 II->replaceUsesOfWith(II->getFactor(), Builder.getInt64(IntFactor)); in setProbeDistributionFactor()
|
H A D | User.cpp | 21 bool User::replaceUsesOfWith(Value *From, Value *To) { in replaceUsesOfWith() function in llvm::User
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | User.h | 308 bool replaceUsesOfWith(Value *From, Value *To);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 1955 U->replaceUsesOfWith(Def, CurrentReload); in insertSpills() 2013 DVI->replaceUsesOfWith(Alloca, G); in insertSpills() 2026 I->replaceUsesOfWith(Alloca, G); in insertSpills() 2360 I->replaceUsesOfWith(D, CurrentMaterialization); in rewriteMaterializableInstructions() 2383 R.Use->replaceUsesOfWith(R.Def, R.Remat); in rewriteMaterializableInstructions() 2825 NewLifetime->replaceUsesOfWith(NewLifetime->getOperand(1), AI); in sinkLifetimeStartMarkers()
|
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
H A D | SandboxIR.cpp | 235 bool User::replaceUsesOfWith(Value *FromV, Value *ToV) { in replaceUsesOfWith() function in User 245 return cast<llvm::User>(Val)->replaceUsesOfWith(FromV->Val, ToV->Val); in replaceUsesOfWith()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCUDANV.cpp | 518 NewInst->replaceUsesOfWith(OldV, NewV); in replaceManagedVar() 522 I->replaceUsesOfWith(OldV, NewV); in replaceManagedVar()
|