| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 118 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode() 185 U->replaceUsesOfWith(&CB, Cast); in createRetBitCast() 313 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSite() 324 NewRet->replaceUsesOfWith(Ret->getReturnValue(), NewRetVal); in versionCallSite()
|
| H A D | DemoteRegToStack.cpp | 86 U->replaceUsesOfWith(&I, V); in DemoteRegToStack() 163 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() 1040 inst->replaceUsesOfWith(inputs[i], RewriteVal); in constructFunction() 1064 I->replaceUsesOfWith(header, newHeader); in constructFunction() 1267 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 | 408 Src->getTerminator()->replaceUsesOfWith(Target, DirectSucc); in SplitIndirectBrCriticalEdges()
|
| H A D | SimplifyIndVar.cpp | 1492 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc); in truncateIVUse() 1527 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenLoopCompare() 1532 DU.NarrowUse->replaceUsesOfWith(Op, ExtOp); in widenLoopCompare() 1797 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenIVUse()
|
| H A D | ModuleUtils.cpp | 429 UserInst->replaceUsesOfWith(GI, ResolvedCast); in lowerGlobalIFuncUsersAsGlobalCtor()
|
| /freebsd-14.2/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 | SPIRVEmitIntrinsics.cpp | 162 U->replaceUsesOfWith(Old, New); in replaceMemInstrUses() 187 I->replaceUsesOfWith(Op, IntrUndef); in preprocessUndefs() 210 I->replaceUsesOfWith(Op, CCI); in preprocessCompositeConstants()
|
| H A D | SPIRVPrepareFunctions.cpp | 376 U->replaceUsesOfWith(F, NewF); in removeAggregateTypesFromSignature()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreLowerThreadLocal.cpp | 97 Instr->replaceUsesOfWith(CE, NewInst); in replaceConstantExprOp() 163 U->replaceUsesOfWith(GV, Addr); in lowerGlobal()
|
| /freebsd-14.2/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 | LoopRerollPass.cpp | 1482 KV.first->replaceUsesOfWith(Inst, NewIV); in replaceIV() 1550 User->replaceUsesOfWith(PossibleReds[i].getReducedValue(), in replaceSelected()
|
| H A D | RewriteStatepointsForGC.cpp | 1389 ClonedValue->replaceUsesOfWith(LastValue, LastClonedValue); in rematerializeChain() 1408 ClonedValue->replaceUsesOfWith(RootOfChain, AlternateLiveBase); in rematerializeChain() 2166 Use->replaceUsesOfWith(Def, Load); in relocationViaAlloca() 2496 UserI->replaceUsesOfWith(Cand, RematChain); in rematerializeLiveValuesAtUses()
|
| H A D | LoopDistribute.cpp | 469 Pred->getTerminator()->replaceUsesOfWith(OrigPH, TopPH); in cloneLoops()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonOptimizeSZextends.cpp | 132 J->replaceUsesOfWith(Ashr, I); in runOnFunction()
|
| H A D | HexagonVectorCombine.cpp | 700 I->replaceUsesOfWith(Old, New); in createAlignedPointer() 1058 M->replaceUsesOfWith(Old, New); in moveTogether() 1091 C->replaceUsesOfWith(Old, New); in cloneBefore() 1213 In->replaceUsesOfWith(Old, New); in realignLoadGroup() 1499 I->replaceUsesOfWith(Old, New); in realignGroup()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | User.h | 308 bool replaceUsesOfWith(Value *From, Value *To);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1925 U->replaceUsesOfWith(Def, CurrentReload); in insertSpills() 1983 DVI->replaceUsesOfWith(Alloca, G); in insertSpills() 1996 I->replaceUsesOfWith(Alloca, G); in insertSpills() 2330 I->replaceUsesOfWith(D, CurrentMaterialization); in rewriteMaterializableInstructions() 2353 R.Use->replaceUsesOfWith(R.Def, R.Remat); in rewriteMaterializableInstructions() 2796 NewLifetime->replaceUsesOfWith(NewLifetime->getOperand(1), AI); in sinkLifetimeStartMarkers()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCUDANV.cpp | 495 NewInst->replaceUsesOfWith(OldV, NewV); in replaceManagedVar() 499 I->replaceUsesOfWith(OldV, NewV); in replaceManagedVar()
|