Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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 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()
1008 inst->replaceUsesOfWith(inputs[i], RewriteVal); in constructFunction()
1030 I->replaceUsesOfWith(header, newHeader); in constructFunction()
1232 inst->replaceUsesOfWith(outputs[i], load); in emitCallAndSwitchStatement()
H A DFlattenCFG.cpp304 PBI->replaceUsesOfWith(CC, NC); in FlattenParallelAndOr()
497 PBI->replaceUsesOfWith(IfCond2, NC); in MergeIfRegion()
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.cpp1452 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc); in truncateIVUse()
1491 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenLoopCompare()
1496 DU.NarrowUse->replaceUsesOfWith(Op, ExtOp); in widenLoopCompare()
1757 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()
/netbsd-src/external/apache2/llvm/dist/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 DUser.cpp21 void User::replaceUsesOfWith(Value *From, Value *To) { in replaceUsesOfWith() function in llvm::User
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp98 Instr->replaceUsesOfWith(CE, NewInst); in replaceConstantExprOp()
164 U->replaceUsesOfWith(GV, Addr); in lowerGlobal()
/netbsd-src/external/apache2/llvm/dist/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.cpp1521 KV.first->replaceUsesOfWith(Inst, NewIV); in replaceIV()
1589 User->replaceUsesOfWith(PossibleReds[i].getReducedValue(), in replaceSelected()
H A DRewriteStatepointsForGC.cpp2052 Use->replaceUsesOfWith(Def, Load); in relocationViaAlloca()
2326 ClonedValue->replaceUsesOfWith(LastValue, LastClonedValue); in rematerializeLiveValues()
2345 ClonedValue->replaceUsesOfWith(RootOfChain, AlternateLiveBase); in rematerializeLiveValues()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUAnnotateUniformValues.cpp121 I.replaceUsesOfWith(Ptr, PtrI); in visitLoadInst()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DUser.h308 void replaceUsesOfWith(Value *From, Value *To);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1638 U->replaceUsesOfWith(Def, CurrentReload); in insertSpills()
1690 DVI->replaceUsesOfWith(Alloca, G); in insertSpills()
1693 I->replaceUsesOfWith(Alloca, G); in insertSpills()
1945 U->replaceUsesOfWith(Def, CurrentMaterialization); in rewriteMaterializableInstructions()
2404 NewLifetime->replaceUsesOfWith(NewLifetime->getOperand(1), NewBitCast); in sinkLifetimeStartMarkers()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp439 UserI->replaceUsesOfWith(V, TileLoad); in replaceWithTileLoad()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCUDANV.cpp469 NewInst->replaceUsesOfWith(OldV, NewV); in replaceManagedVar()
473 I->replaceUsesOfWith(OldV, NewV); in replaceManagedVar()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DLexicon.rst234 Replace All Uses With. The functions ``User::replaceUsesOfWith()``,

12