Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DUser.cpp100 bool User::replaceUsesOfWith(Value *FromV, Value *ToV) { in replaceUsesOfWith() function in llvm::sandboxir::User
111 return cast<llvm::User>(Val)->replaceUsesOfWith(FromV->Val, ToV->Val); in replaceUsesOfWith()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp94 User->replaceUsesOfWith(CE, ReplInst); in runLowerConstExpr()
136 II->replaceUsesOfWith(Op, ReplInst); in runLowerConstExpr()
239 CI->replaceUsesOfWith(OldF, NewF); in visitCallScalToVec()
H A DSPIRVPrepareFunctions.cpp493 U->replaceUsesOfWith(F, NewF); in removeAggregateTypesFromSignature()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp97 Instr->replaceUsesOfWith(CE, NewInst); in replaceConstantExprOp()
160 U->replaceUsesOfWith(GV, Addr); in lowerGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp96 U->replaceUsesOfWith(&I, V); in DemoteRegToStack()
178 User->replaceUsesOfWith(P, V); in DemotePHIToStack()
H A DCallPromotionUtils.cpp123 U->replaceUsesOfWith(OrigInst, Phi); in createRetPHINode()
190 U->replaceUsesOfWith(&CB, Cast); in createRetBitCast()
311 NewBitCast->replaceUsesOfWith(OrigInst, NewInst); in versionCallSiteWithCond()
322 NewRet->replaceUsesOfWith(Ret->getReturnValue(), NewRetVal); in versionCallSiteWithCond()
H A DFlattenCFG.cpp301 PBI->replaceUsesOfWith(CC, NC); in FlattenParallelAndOr()
497 PBI->replaceUsesOfWith(PBI->getCondition(), NC); in MergeIfRegion()
H A DCodeExtractor.cpp440 Pred->getTerminator()->replaceUsesOfWith(CommonExitBlock, NewExitBlock); in findOrCreateBlockForHoisting()
574 I->replaceUsesOfWith(I->getOperand(1), CastI); in findAllocas()
735 TI->replaceUsesOfWith(OldPred, NewBB); in severSplitPHINodesOfEntry()
794 PredBB->getTerminator()->replaceUsesOfWith(ExitBB, NewBB); in severSplitPHINodesOfExits()
1687 inst->replaceUsesOfWith(inputs[i], RewriteVal); in emitFunctionBody()
2042 I->replaceUsesOfWith(header, codeReplacer); in insertReplacerCall()
2072 inst->replaceUsesOfWith(outputs[i], load); in insertReplacerCall()
H A DUnifyLoopExits.cpp138 U->replaceUsesOfWith(Def, NewPhi); in INITIALIZE_PASS_DEPENDENCY()
H A DLoopVersioning.cpp154 U->replaceUsesOfWith(Inst, PN); in addPHINodes()
H A DBreakCriticalEdges.cpp417 Src->getTerminator()->replaceUsesOfWith(Target, DirectSucc); in SplitIndirectBrCriticalEdges()
H A DSimplifyIndVar.cpp1593 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, Trunc); in truncateIVUse()
1629 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenLoopCompare()
1640 DU.NarrowUse->replaceUsesOfWith(Op, ExtOp); in widenLoopCompare()
1910 DU.NarrowUse->replaceUsesOfWith(DU.NarrowDef, DU.WideDef); in widenIVUse()
H A DModuleUtils.cpp475 UserInst->replaceUsesOfWith(GI, ResolvedCast); in lowerGlobalIFuncUsersAsGlobalCtor()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopFuse.cpp1633 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()
1851 FC0.GuardBranch->replaceUsesOfWith(FC0NonLoopBlock, FC1NonLoopBlock); in fuseGuardedLoops()
1854 BBToUpdate->getTerminator()->replaceUsesOfWith(FC1GuardBlock, FC1.Header); in fuseGuardedLoops()
1919 FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC0.ExitBlock, in fuseGuardedLoops()
1981 FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header); in fuseGuardedLoops()
1982 FC1.Latch->getTerminator()->replaceUsesOfWith(FC1.Header, FC0.Header); in fuseGuardedLoops()
H A DMergeICmps.cpp651 LhsLoad->replaceUsesOfWith(LhsLoad->getOperand(0), Lhs); in mergeComparisons()
652 RhsLoad->replaceUsesOfWith(RhsLoad->getOperand(0), Rhs); in mergeComparisons()
713 Pred->getTerminator()->replaceUsesOfWith(EntryBlock_, NextCmpBlock); in simplify()
H A DInferAddressSpaces.cpp428 II->replaceUsesOfWith(OldV, NewV); in rewriteIntrinsicOperands()
1306 CurUser->replaceUsesOfWith( in performPointerReplacement()
1309 CurUserI->replaceUsesOfWith( in performPointerReplacement()
1381 I->replaceUsesOfWith(C, Replace); in rewriteWithNewAddressSpaces()
H A DDFAJumpThreading.cpp234 SIUse->replaceUsesOfWith(SI, SIOp1); in unfold()
246 SIUse->replaceUsesOfWith(SI, EndPhi); in unfold()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DMaterializationUtils.cpp206 I->replaceUsesOfWith(D, CurrentMaterialization); in rewriteMaterializableInstructions()
229 R.Use->replaceUsesOfWith(R.Def, R.Remat); in rewriteMaterializableInstructions()
H A DCoroFrame.cpp1158 U->replaceUsesOfWith(Def, CurrentReload); in insertSpills()
1222 DVI->replaceUsesOfWith(Alloca, G); in insertSpills()
1227 I->replaceUsesOfWith(Alloca, G); in insertSpills()
1824 NewLifetime->replaceUsesOfWith(NewLifetime->getOperand(1), AI); in sinkLifetimeStartMarkers()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp125 J->replaceUsesOfWith(Ashr, I); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DPseudoProbe.cpp86 II->replaceUsesOfWith(II->getFactor(), Builder.getInt64(IntFactor)); in setProbeDistributionFactor()
H A DUser.cpp21 bool User::replaceUsesOfWith(Value *From, Value *To) { in replaceUsesOfWith() function in llvm::User
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DUser.h136 bool replaceUsesOfWith(Value *FromV, Value *ToV);
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DUser.h358 LLVM_ABI bool replaceUsesOfWith(Value *From, Value *To);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanValue.h254 void replaceUsesOfWith(VPValue *From, VPValue *To);

123