| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | PseudoProbe.cpp | 75 II->replaceUsesOfWith(II->getFactor(), Builder.getInt64(IntFactor)); in setProbeDistributionFactor() 107 Inst.replaceUsesOfWith(Inst.getAttributes(), Builder.getInt32(NewAttr)); in addPseudoProbeAttribute()
|
| H A D | ReplaceConstant.cpp | 68 II->replaceUsesOfWith(CE, NI); in convertConstantExprsToInstructions()
|
| H A D | User.cpp | 21 void User::replaceUsesOfWith(Value *From, Value *To) { in replaceUsesOfWith() function in llvm::User
|
| /freebsd-13.1/contrib/llvm-project/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 | CodeExtractor.cpp | 433 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() 1010 inst->replaceUsesOfWith(inputs[i], RewriteVal); in constructFunction() 1032 I->replaceUsesOfWith(header, newHeader); in constructFunction() 1234 inst->replaceUsesOfWith(outputs[i], load); in emitCallAndSwitchStatement()
|
| H A D | DemoteRegToStack.cpp | 86 U->replaceUsesOfWith(&I, V); in DemoteRegToStack()
|
| H A D | UnifyLoopExits.cpp | 132 U->replaceUsesOfWith(Def, NewPhi); in INITIALIZE_PASS_DEPENDENCY()
|
| H A D | LoopVersioning.cpp | 155 U->replaceUsesOfWith(Inst, PN); in addPHINodes()
|
| H A D | SimplifyIndVar.cpp | 1407 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc); in truncateIVUse() 1446 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenLoopCompare() 1451 DU.NarrowUse->replaceUsesOfWith(Op, ExtOp); in widenLoopCompare() 1712 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenIVUse()
|
| H A D | BreakCriticalEdges.cpp | 417 Src->getTerminator()->replaceUsesOfWith(Target, DirectSucc); in SplitIndirectBrCriticalEdges()
|
| H A D | BasicBlockUtils.cpp | 1113 Preds[i]->getTerminator()->replaceUsesOfWith(BB, NewBB); in SplitBlockPredecessorsImpl() 1191 Preds[i]->getTerminator()->replaceUsesOfWith(OrigBB, NewBB1); in SplitLandingPadPredecessorsImpl() 1227 NewBB2Pred->getTerminator()->replaceUsesOfWith(OrigBB, NewBB2); in SplitLandingPadPredecessorsImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreLowerThreadLocal.cpp | 98 Instr->replaceUsesOfWith(CE, NewInst); in replaceConstantExprOp() 164 U->replaceUsesOfWith(GV, Addr); in lowerGlobal()
|
| /freebsd-13.1/contrib/llvm-project/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 | LoopUnswitch.cpp | 1526 static void replaceUsesOfWith(Instruction *I, Value *V, in replaceUsesOfWith() function 1588 UI->replaceUsesOfWith(LIC, Replacement); in rewriteLoopBodyWithConditionConstant() 1718 replaceUsesOfWith(I, V, Worklist, L, LPM, MSSAU.get()); in simplifyCode()
|
| H A D | CorrelatedValuePropagation.cpp | 294 I->replaceUsesOfWith(Pointer, C); in processMemAccess() 1088 RI->replaceUsesOfWith(RetVal, C); in runImpl()
|
| H A D | LoopRerollPass.cpp | 1523 KV.first->replaceUsesOfWith(Inst, NewIV); in replaceIV() 1591 User->replaceUsesOfWith(PossibleReds[i].getReducedValue(), in replaceSelected()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonOptimizeSZextends.cpp | 135 J->replaceUsesOfWith(Ashr, I); in runOnFunction()
|
| H A D | HexagonLoopIdiomRecognition.cpp | 681 II->replaceUsesOfWith(I, J); in replaceAllUsesOfWithIn() 1459 I->replaceUsesOfWith(Op, W); in convertShiftsToLeft() 1482 cast<User>(S)->replaceUsesOfWith(S, PN); in convertShiftsToLeft()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAnnotateUniformValues.cpp | 121 I.replaceUsesOfWith(Ptr, PtrI); in visitLoadInst()
|
| H A D | AMDGPUReplaceLDSUseWithPointer.cpp | 275 II->replaceUsesOfWith(GV, ReplaceInst); in replaceLDSUseByPointer()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | User.h | 308 void replaceUsesOfWith(Value *From, Value *To);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1676 U->replaceUsesOfWith(Def, CurrentReload); in insertSpills() 1728 DVI->replaceUsesOfWith(Alloca, G); in insertSpills() 1731 I->replaceUsesOfWith(Alloca, G); in insertSpills() 2006 U->replaceUsesOfWith(Def, CurrentMaterialization); in rewriteMaterializableInstructions() 2465 NewLifetime->replaceUsesOfWith(NewLifetime->getOperand(1), NewBitCast); in sinkLifetimeStartMarkers()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86LowerAMXType.cpp | 440 UserI->replaceUsesOfWith(V, TileLoad); in replaceWithTileLoad()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCUDANV.cpp | 477 NewInst->replaceUsesOfWith(OldV, NewV); in replaceManagedVar() 481 I->replaceUsesOfWith(OldV, NewV); in replaceManagedVar()
|