Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp148 Instr->replaceUsesOfWith(CE, NewInst); in replaceConstantExprOp()
214 U->replaceUsesOfWith(GV, Addr); in lowerGlobal()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp117 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode()
187 U->replaceUsesOfWith(CS.getInstruction(), Cast); in createRetBitCast()
H A DFlattenCFG.cpp305 PBI->replaceUsesOfWith(CC, NC); in FlattenParallelAndOr()
454 PBI->replaceUsesOfWith(CC, NC); in MergeIfRegion()
H A DCodeExtractor.cpp397 Pred->getTerminator()->replaceUsesOfWith(CommonExitBlock, NewExitBlock); in findOrCreateBlockForHoisting()
580 TI->replaceUsesOfWith(OldPred, NewBB); in severSplitPHINodesOfEntry()
640 PredBB->getTerminator()->replaceUsesOfWith(ExitBB, NewBB); in severSplitPHINodesOfExits()
856 inst->replaceUsesOfWith(inputs[i], RewriteVal); in constructFunction()
878 I->replaceUsesOfWith(header, newHeader); in constructFunction()
987 inst->replaceUsesOfWith(outputs[i], load); in emitCallAndSwitchStatement()
H A DDemoteRegToStack.cpp85 U->replaceUsesOfWith(&I, V); in DemoteRegToStack()
H A DBasicBlockUtils.cpp546 Preds[i]->getTerminator()->replaceUsesOfWith(BB, NewBB); in SplitBlockPredecessors()
599 Preds[i]->getTerminator()->replaceUsesOfWith(OrigBB, NewBB1); in SplitLandingPadPredecessors()
635 NewBB2Pred->getTerminator()->replaceUsesOfWith(OrigBB, NewBB2); in SplitLandingPadPredecessors()
H A DLoopVersioning.cpp148 U->replaceUsesOfWith(Inst, PN); in addPHINodes()
H A DBreakCriticalEdges.cpp399 Src->getTerminator()->replaceUsesOfWith(Target, DirectSucc); in SplitIndirectBrCriticalEdges()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp135 J->replaceUsesOfWith(Ashr, I); in runOnFunction()
H A DHexagonLoopIdiomRecognition.cpp662 II->replaceUsesOfWith(I, J); in replaceAllUsesOfWithIn()
1438 I->replaceUsesOfWith(Op, W); in convertShiftsToLeft()
1461 cast<User>(S)->replaceUsesOfWith(S, PN); in convertShiftsToLeft()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUAnnotateUniformValues.cpp152 I.replaceUsesOfWith(Ptr, PtrI); in visitLoadInst()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DUser.cpp21 void User::replaceUsesOfWith(Value *From, Value *To) { in replaceUsesOfWith() function in llvm::User
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DUser.h304 void replaceUsesOfWith(Value *From, Value *To);
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp268 I->replaceUsesOfWith(Pointer, C); in processMemAccess()
748 RI->replaceUsesOfWith(RetVal, C); in runImpl()
H A DIndVarSimplify.cpp1308 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc); in truncateIVUse()
1345 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenLoopCompare()
1350 DU.NarrowUse->replaceUsesOfWith(Op, ExtOp); in widenLoopCompare()
1559 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenIVUse()
H A DLoopRerollPass.cpp1490 KV.first->replaceUsesOfWith(Inst, NewIV); in replaceIV()
1558 User->replaceUsesOfWith(PossibleReds[i].getReducedValue(), in replaceSelected()
H A DRewriteStatepointsForGC.cpp1844 Use->replaceUsesOfWith(Def, Load); in relocationViaAlloca()
2116 ClonedValue->replaceUsesOfWith(LastValue, LastClonedValue); in rematerializeLiveValues()
2135 ClonedValue->replaceUsesOfWith(RootOfChain, AlternateLiveBase); in rematerializeLiveValues()
H A DLoopDistribute.cpp477 Pred->getTerminator()->replaceUsesOfWith(OrigPH, TopPH); in cloneLoops()
H A DStructurizeCFG.cpp692 BB->getTerminator()->replaceUsesOfWith(OldExit, NewExit); in changeExit()
H A DGVNHoist.cpp888 Repl->replaceUsesOfWith(Gep, ClonedGep); in makeGepsAvailable()
H A DLoopUnswitch.cpp1467 UI->replaceUsesOfWith(LIC, Replacement); in RewriteLoopBodyWithConditionConstant()
/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp580 E.user()->replaceUsesOfWith(CurrentValue, CurrentReload); in insertSpills()
796 E.user()->replaceUsesOfWith(CurrentDef, CurrentMaterialization); in rewriteMaterializableInstructions()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp871 User->replaceUsesOfWith(CI, TheBC); in OptimizeGlobalAddressOfMalloc()
1045 U->replaceUsesOfWith(Alloc, NL); in ReplaceUsesOfMallocWithGlobal()
1896 UI->replaceUsesOfWith(U, NewU); in makeAllConstantUsesInstructions()
H A DPartialInlining.cpp1082 E->getTerminator()->replaceUsesOfWith(PreReturn, ClonedOI->ReturnBlock); in NormalizeReturnBlock()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMCodeGenPrepare.cpp458 U->replaceUsesOfWith(From, To); in ReplaceAllUsersOfWith()

12