Home
last modified time | relevance | path

Searched refs:replaceUsesOfWith (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DPseudoProbe.cpp75 II->replaceUsesOfWith(II->getFactor(), Builder.getInt64(IntFactor)); in setProbeDistributionFactor()
107 Inst.replaceUsesOfWith(Inst.getAttributes(), Builder.getInt32(NewAttr)); in addPseudoProbeAttribute()
H A DReplaceConstant.cpp68 II->replaceUsesOfWith(CE, NI); in convertConstantExprsToInstructions()
H A DUser.cpp21 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 DCallPromotionUtils.cpp117 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 DFlattenCFG.cpp304 PBI->replaceUsesOfWith(CC, NC); in FlattenParallelAndOr()
501 PBI->replaceUsesOfWith(CInst2, NC); in MergeIfRegion()
H A DCodeExtractor.cpp433 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 DDemoteRegToStack.cpp86 U->replaceUsesOfWith(&I, V); in DemoteRegToStack()
H A DUnifyLoopExits.cpp132 U->replaceUsesOfWith(Def, NewPhi); in INITIALIZE_PASS_DEPENDENCY()
H A DLoopVersioning.cpp155 U->replaceUsesOfWith(Inst, PN); in addPHINodes()
H A DSimplifyIndVar.cpp1407 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 DBreakCriticalEdges.cpp417 Src->getTerminator()->replaceUsesOfWith(Target, DirectSucc); in SplitIndirectBrCriticalEdges()
H A DBasicBlockUtils.cpp1113 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 DXCoreLowerThreadLocal.cpp98 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 DLoopFuse.cpp1385 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 DLoopUnswitch.cpp1526 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 DCorrelatedValuePropagation.cpp294 I->replaceUsesOfWith(Pointer, C); in processMemAccess()
1088 RI->replaceUsesOfWith(RetVal, C); in runImpl()
H A DLoopRerollPass.cpp1523 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 DHexagonOptimizeSZextends.cpp135 J->replaceUsesOfWith(Ashr, I); in runOnFunction()
H A DHexagonLoopIdiomRecognition.cpp681 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 DAMDGPUAnnotateUniformValues.cpp121 I.replaceUsesOfWith(Ptr, PtrI); in visitLoadInst()
H A DAMDGPUReplaceLDSUseWithPointer.cpp275 II->replaceUsesOfWith(GV, ReplaceInst); in replaceLDSUseByPointer()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DUser.h308 void replaceUsesOfWith(Value *From, Value *To);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1676 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 DX86LowerAMXType.cpp440 UserI->replaceUsesOfWith(V, TileLoad); in replaceWithTileLoad()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp477 NewInst->replaceUsesOfWith(OldV, NewV); in replaceManagedVar()
481 I->replaceUsesOfWith(OldV, NewV); in replaceManagedVar()

12