Home
last modified time | relevance | path

Searched refs:replaceAllUsesWith (Results 1 – 25 of 200) sorted by relevance

12345678

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp83 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
356 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
368 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
408 CI->replaceAllUsesWith(Src); in LowerIntrinsicCall()
429 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 0)); in LowerIntrinsicCall()
436 CI->replaceAllUsesWith( in LowerIntrinsicCall()
442 CI->replaceAllUsesWith( in LowerIntrinsicCall()
464 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 1)); in LowerIntrinsicCall()
470 CI->replaceAllUsesWith(CI->getOperand(0)); in LowerIntrinsicCall()
578 CI->replaceAllUsesWith(UndefValue::get(CI->getType())); in LowerIntrinsicCall()
[all …]
H A DAtomicExpandPass.cpp392 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType()
425 LI->replaceAllUsesWith(Val); in expandAtomicLoadToLL()
443 LI->replaceAllUsesWith(Loaded); in expandAtomicLoadToCmpXchg()
906 CI->replaceAllUsesWith(Res); in expandPartwordCmpXchg()
917 I->replaceAllUsesWith(Loaded); in expandAtomicOpToLLSC()
973 CI->replaceAllUsesWith(Res); in expandAtomicCmpXchgToMaskedIntrinsic()
1061 CI->replaceAllUsesWith(Res); in convertCmpXchgToIntegerType()
1284 CI->replaceAllUsesWith(Res); in expandAtomicCmpXchg()
1416 AI->replaceAllUsesWith(Loaded); in expandAtomicRMWToCmpXchg()
1757 I->replaceAllUsesWith(V); in expandAtomicOpToLibcall()
[all …]
H A DScalarizeMaskedMemIntrin.cpp148 CI->replaceAllUsesWith(NewI); in scalarizeMaskedLoad()
174 CI->replaceAllUsesWith(VResult); in scalarizeMaskedLoad()
223 CI->replaceAllUsesWith(VResult); in scalarizeMaskedLoad()
395 CI->replaceAllUsesWith(VResult); in scalarizeMaskedGather()
442 CI->replaceAllUsesWith(VResult); in scalarizeMaskedGather()
H A DSjLjEHPrepare.cpp147 EVI->replaceAllUsesWith(ExnVal); in substituteLPadValues()
149 EVI->replaceAllUsesWith(SelVal); in substituteLPadValues()
166 LPI->replaceAllUsesWith(LPadVal); in substituteLPadValues()
249 AI.replaceAllUsesWith(SI); in lowerIncomingArguments()
/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp55 SubFn->replaceAllUsesWith(Load); in lowerSubFn()
68 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics()
71 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics()
74 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lowerRemainingCoroIntrinsics()
77 II->replaceAllUsesWith(ConstantTokenNone::get(Context)); in lowerRemainingCoroIntrinsics()
H A DCoroSplit.cpp123 Save->replaceAllUsesWith(ConstantTokenNone::get(C)); in createResumeEntryBlock()
158 S->replaceAllUsesWith(PN); in createResumeEntryBlock()
206 NewCE->replaceAllUsesWith(True); in replaceUnwindCoroEnds()
289 Entry->replaceAllUsesWith(Switch->getDefaultDest()); in createClone()
297 OldFramePtr->replaceAllUsesWith(NewFramePtr); in createClone()
303 OldVFrame->replaceAllUsesWith(NewVFrame); in createClone()
322 MappedCS->replaceAllUsesWith(NewValue); in createClone()
347 CE->replaceAllUsesWith(False); in removeCoroEnds()
364 CS->replaceAllUsesWith(SizeConstant); in replaceFrameSize()
534 CoroBegin->replaceAllUsesWith(VFrame); in handleNoSuspendCoroutine()
[all …]
H A DCoroutines.cpp167 CF->replaceAllUsesWith(Replacement); in replaceCoroFree()
308 CF->replaceAllUsesWith(Undef); in buildFrom()
315 CS->replaceAllUsesWith(UndefValue::get(CS->getType())); in buildFrom()
330 CF->replaceAllUsesWith(CoroBegin); in buildFrom()
H A DCoroEarly.cpp83 Intrin->replaceAllUsesWith(Replacement); in lowerCoroPromise()
104 II->replaceAllUsesWith(Cond); in lowerCoroDone()
139 II->replaceAllUsesWith(NoopCoroVoidPtr); in lowerCoroNoop()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp264 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
268 ICmp->replaceAllUsesWith(ConstantInt::getFalse(ICmp->getContext())); in eliminateIVComparison()
307 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv()
323 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem()
332 Rem->replaceAllUsesWith(Rem->getOperand(0)); in replaceRemWithNumerator()
346 Rem->replaceAllUsesWith(Sel); in replaceRemWithNumeratorOrZero()
492 EVI->replaceAllUsesWith(NewResult); in eliminateOverflowIntrinsic()
609 ICI->replaceAllUsesWith(NewICI); in eliminateTrunc()
614 TI->replaceAllUsesWith(UndefValue::get(TI->getType())); in eliminateTrunc()
678 I->replaceAllUsesWith(Invariant); in replaceIVUserWithLoopInvariant()
[all …]
H A DIntegerDivision.cpp395 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
413 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
454 Div->replaceAllUsesWith(Quotient); in expandDivision()
472 Div->replaceAllUsesWith(Quotient); in expandDivision()
523 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo32Bits()
571 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo64Bits()
620 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo32Bits()
669 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo64Bits()
H A DInlineFunction.cpp191 OuterPHI->replaceAllUsesWith(InnerPHI); in getInnerResumeDest()
198 CallerLPad->replaceAllUsesWith(InnerEHValuesPHI); in getInnerResumeDest()
751 I->replaceAllUsesWith(Replacement); in HandleInlinedEHPad()
877 TempM->replaceAllUsesWith(NewM); in CloneAliasScopeMetadata()
1742 I->replaceAllUsesWith(NewI); in InlineFunction()
1879 CI->replaceAllUsesWith(NewCI); in InlineFunction()
2044 I->replaceAllUsesWith(NewInst); in InlineFunction()
2207 TheCall->replaceAllUsesWith(R->getReturnValue()); in InlineFunction()
2281 TheCall->replaceAllUsesWith(PHI); in InlineFunction()
2322 ReturnBB->replaceAllUsesWith(AfterCallBB); in InlineFunction()
[all …]
H A DBasicBlockUtils.cpp86 I.replaceAllUsesWith(UndefValue::get(I.getType())); in DeleteDeadBlocks()
111 PN->replaceAllUsesWith(PN->getIncomingValue(0)); in FoldSingleEntryPHINodes()
113 PN->replaceAllUsesWith(UndefValue::get(PN->getType())); in FoldSingleEntryPHINodes()
193 BB->replaceAllUsesWith(PredBB); in MergeBlockIntoPredecessor()
244 I.replaceAllUsesWith(V); in ReplaceInstWithValue()
665 LPad->replaceAllUsesWith(PN); in SplitLandingPadPredecessors()
671 LPad->replaceAllUsesWith(Clone1); in SplitLandingPadPredecessors()
H A DPromoteMemoryToRegister.cpp417 LI->replaceAllUsesWith(ReplVal); in rewriteSingleStoreAlloca()
499 LI->replaceAllUsesWith(UndefValue::get(LI->getType())); in promoteSingleBlockAlloca()
518 LI->replaceAllUsesWith(ReplVal); in promoteSingleBlockAlloca()
686 A->replaceAllUsesWith(UndefValue::get(A->getType())); in run()
715 PN->replaceAllUsesWith(V); in run()
978 LI->replaceAllUsesWith(V); in RenamePass()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp121 S->replaceAllUsesWith(ReplaceWith); in processSelect()
179 P->replaceAllUsesWith(CommonValue); in simplifyCommonValuePhi()
241 P->replaceAllUsesWith(V); in processPHI()
298 Cmp->replaceAllUsesWith(TorF); in processCmp()
450 II->replaceAllUsesWith(NewI); in processOverflowIntrinsic()
541 Instr->replaceAllUsesWith(Zext); in processUDivOrURem()
554 SDI->replaceAllUsesWith(BO); in processSRem()
577 SDI->replaceAllUsesWith(BO); in processSDiv()
600 SDI->replaceAllUsesWith(BO); in processAShr()
H A DLowerAtomic.cpp38 CXI->replaceAllUsesWith(Res); in LowerAtomicCmpXchgInst()
92 RMWI->replaceAllUsesWith(Orig); in LowerAtomicRMWInst()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DValueList.cpp92 OldV->replaceAllUsesWith(V); in assignValue()
207 UserC->replaceAllUsesWith(NewC); in resolveConstantForwardRefs()
213 Placeholder->replaceAllUsesWith(RealVal); in resolveConstantForwardRefs()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp204 SI->replaceAllUsesWith(ConstantExpr::getIntegerCast(KnownSize, in processUse()
208 SI->replaceAllUsesWith(ZextGroupSize); in processUse()
227 GroupSize->replaceAllUsesWith( in processUse()
H A DAMDGPULowerKernelArguments.cpp212 Arg.replaceAllUsesWith(NewVal); in runOnFunction()
217 Arg.replaceAllUsesWith(Shuf); in runOnFunction()
220 Arg.replaceAllUsesWith(Load); in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp218 Call->replaceAllUsesWith(NewCS.getInstruction()); in DeleteDeadVarargs()
238 I->replaceAllUsesWith(&*I2); in DeleteDeadVarargs()
249 Fn.replaceAllUsesWith(ConstantExpr::getBitCast(NF, Fn.getType())); in DeleteDeadVarargs()
296 Arg.replaceAllUsesWith(UndefValue::get(Arg.getType())); in RemoveDeadArgumentsFromCallers()
959 Call->replaceAllUsesWith(New); in RemoveDeadStuffFromFunction()
965 Call->replaceAllUsesWith(UndefValue::get(Call->getType())); in RemoveDeadStuffFromFunction()
998 Call->replaceAllUsesWith(RetVal); in RemoveDeadStuffFromFunction()
1021 I->replaceAllUsesWith(&*I2); in RemoveDeadStuffFromFunction()
1028 I->replaceAllUsesWith(UndefValue::get(I->getType())); in RemoveDeadStuffFromFunction()
H A DIPConstantPropagation.cpp114 AI->replaceAllUsesWith(V); in PropagateConstantsIntoArguments()
222 Call->replaceAllUsesWith(New); in PropagateConstantReturn()
247 Ins->replaceAllUsesWith(New); in PropagateConstantReturn()
H A DGlobalSplit.cpp130 GEP->replaceAllUsesWith(NewGEP); in splitGlobal()
136 GV.replaceAllUsesWith(UndefValue::get(GV.getType())); in splitGlobal()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp129 Inst->replaceAllUsesWith(NewCast); in runOnModule()
134 Const->replaceAllUsesWith(NewConst); in runOnModule()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DBasicBlock.cpp77 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement, in ~BasicBlock()
343 PN->replaceAllUsesWith(PN->getIncomingValue(0)); in removePredecessor()
346 PN->replaceAllUsesWith(UndefValue::get(PN->getType())); in removePredecessor()
365 PN->replaceAllUsesWith(PNV); in removePredecessor()
H A DMetadata.cpp134 replaceAllUsesWith(Entry); in handleChangedMetadata()
233 void ReplaceableMetadataImpl::replaceAllUsesWith(Metadata *MD) { in replaceAllUsesWith() function in ReplaceableMetadataImpl
388 MD->replaceAllUsesWith(nullptr); in handleDeletion()
417 MD->replaceAllUsesWith(ConstantAsMetadata::get(C)); in handleRAUW()
424 MD->replaceAllUsesWith(nullptr); in handleRAUW()
430 MD->replaceAllUsesWith(nullptr); in handleRAUW()
438 MD->replaceAllUsesWith(Entry); in handleRAUW()
676 replaceAllUsesWith(UniquedNode); in replaceWithUniquedImpl()
740 Context.getReplaceableUses()->replaceAllUsesWith(Uniqued); in handleChangedOperand()
833 N->replaceAllUsesWith(nullptr); in deleteTemporary()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp168 Arg->replaceAllUsesWith(AllocA); in handleByValParam()
200 Ptr->replaceAllUsesWith(PtrInGeneric); in markPointerAsGlobal()

12345678