Home
last modified time | relevance | path

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

12345678

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIntrinsicLowering.cpp49 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
245 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
250 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
254 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
258 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
269 CI->replaceAllUsesWith(Src); in LowerIntrinsicCall()
281 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
290 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 0)); in LowerIntrinsicCall()
297 CI->replaceAllUsesWith( in LowerIntrinsicCall()
303 CI->replaceAllUsesWith( in LowerIntrinsicCall()
[all …]
DScalarizeMaskedMemIntrin.cpp148 CI->replaceAllUsesWith(NewI); in scalarizeMaskedLoad()
172 CI->replaceAllUsesWith(VResult); in scalarizeMaskedLoad()
233 CI->replaceAllUsesWith(VResult); in scalarizeMaskedLoad()
422 CI->replaceAllUsesWith(VResult); in scalarizeMaskedGather()
482 CI->replaceAllUsesWith(VResult); in scalarizeMaskedGather()
633 CI->replaceAllUsesWith(VResult); in scalarizeMaskedExpandLoad()
706 CI->replaceAllUsesWith(VResult); in scalarizeMaskedExpandLoad()
DAtomicExpandPass.cpp392 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType()
425 LI->replaceAllUsesWith(Val); in expandAtomicLoadToLL()
446 LI->replaceAllUsesWith(Loaded); in expandAtomicLoadToCmpXchg()
771 AI->replaceAllUsesWith(FinalOldResult); in expandPartwordAtomicRMW()
805 AI->replaceAllUsesWith(FinalOldResult); in widenPartwordAtomicRMW()
932 CI->replaceAllUsesWith(Res); in expandPartwordCmpXchg()
943 I->replaceAllUsesWith(Loaded); in expandAtomicOpToLLSC()
970 AI->replaceAllUsesWith(FinalOldResult); in expandAtomicRMWToMaskedIntrinsic()
999 CI->replaceAllUsesWith(Res); in expandAtomicCmpXchgToMaskedIntrinsic()
1087 CI->replaceAllUsesWith(Res); in convertCmpXchgToIntegerType()
[all …]
DSjLjEHPrepare.cpp147 EVI->replaceAllUsesWith(ExnVal); in substituteLPadValues()
149 EVI->replaceAllUsesWith(SelVal); in substituteLPadValues()
166 LPI->replaceAllUsesWith(LPadVal); in substituteLPadValues()
251 AI.replaceAllUsesWith(SI); in lowerIncomingArguments()
DPreISelIntrinsicLowering.cpp53 CI->replaceAllUsesWith(ResultPtr); in lowerLoadRelative()
114 CI->replaceAllUsesWith(NewCI); in lowerObjCCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroCleanup.cpp54 SubFn->replaceAllUsesWith(Load); in lowerSubFn()
67 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics()
70 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics()
73 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lowerRemainingCoroIntrinsics()
78 II->replaceAllUsesWith(ConstantTokenNone::get(Context)); in lowerRemainingCoroIntrinsics()
DCoroSplit.cpp258 End->replaceAllUsesWith(InResume ? ConstantInt::getTrue(Context) in replaceCoroEnd()
315 Save->replaceAllUsesWith(ConstantTokenNone::get(C)); in createResumeEntryBlock()
350 S->replaceAllUsesWith(PN); in createResumeEntryBlock()
433 NewS->replaceAllUsesWith(Args.front()); in replaceRetconSuspendUses()
443 EVI->replaceAllUsesWith(Args[EVI->getIndices().front()]); in replaceRetconSuspendUses()
455 NewS->replaceAllUsesWith(Agg); in replaceRetconSuspendUses()
485 MappedCS->replaceAllUsesWith(SuspendResult); in replaceCoroSuspends()
547 MappedOp->replaceAllUsesWith(MappedResult); in replaceSwiftErrorOps()
732 OldFramePtr->replaceAllUsesWith(NewFramePtr); in create()
738 OldVFrame->replaceAllUsesWith(NewVFrame); in create()
[all …]
DCoroEarly.cpp82 Intrin->replaceAllUsesWith(Replacement); in lowerCoroPromise()
104 II->replaceAllUsesWith(Cond); in lowerCoroDone()
139 II->replaceAllUsesWith(NoopCoroVoidPtr); in lowerCoroNoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp265 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
269 ICmp->replaceAllUsesWith(ConstantInt::getFalse(ICmp->getContext())); in eliminateIVComparison()
308 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv()
324 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem()
333 Rem->replaceAllUsesWith(Rem->getOperand(0)); in replaceRemWithNumerator()
347 Rem->replaceAllUsesWith(Sel); in replaceRemWithNumeratorOrZero()
463 EVI->replaceAllUsesWith(ConstantInt::getFalse(WO->getContext())); in eliminateOverflowIntrinsic()
466 EVI->replaceAllUsesWith(NewResult); in eliminateOverflowIntrinsic()
494 SI->replaceAllUsesWith(BO); in eliminateSaturatingIntrinsic()
603 ICI->replaceAllUsesWith(NewICI); in eliminateTrunc()
[all …]
DIntegerDivision.cpp394 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
412 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
453 Div->replaceAllUsesWith(Quotient); in expandDivision()
471 Div->replaceAllUsesWith(Quotient); in expandDivision()
522 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo32Bits()
570 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo64Bits()
619 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo32Bits()
668 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo64Bits()
DInlineFunction.cpp184 OuterPHI->replaceAllUsesWith(InnerPHI); in getInnerResumeDest()
191 CallerLPad->replaceAllUsesWith(InnerEHValuesPHI); in getInnerResumeDest()
744 I->replaceAllUsesWith(Replacement); in HandleInlinedEHPad()
870 TempM->replaceAllUsesWith(NewM); in CloneAliasScopeMetadata()
1804 I->replaceAllUsesWith(NewI); in InlineFunction()
1939 CI->replaceAllUsesWith(NewCI); in InlineFunction()
2106 I->replaceAllUsesWith(NewInst); in InlineFunction()
2267 TheCall->replaceAllUsesWith(UndefValue::get(TheCall->getType())); in InlineFunction()
2269 TheCall->replaceAllUsesWith(R->getReturnValue()); in InlineFunction()
2343 TheCall->replaceAllUsesWith(PHI); in InlineFunction()
[all …]
DPromoteMemoryToRegister.cpp404 LI->replaceAllUsesWith(ReplVal); in rewriteSingleStoreAlloca()
483 LI->replaceAllUsesWith(UndefValue::get(LI->getType())); in promoteSingleBlockAlloca()
502 LI->replaceAllUsesWith(ReplVal); in promoteSingleBlockAlloca()
666 A->replaceAllUsesWith(UndefValue::get(A->getType())); in run()
695 PN->replaceAllUsesWith(V); in run()
954 LI->replaceAllUsesWith(V); in RenamePass()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp141 S->replaceAllUsesWith(ReplaceWith); in processSelect()
206 P->replaceAllUsesWith(CommonValue); in simplifyCommonValuePhi()
268 P->replaceAllUsesWith(V); in processPHI()
325 Cmp->replaceAllUsesWith(TorF); in processCmp()
510 WO->replaceAllUsesWith(NewI); in processOverflowIntrinsic()
528 SI->replaceAllUsesWith(BinOp); in processSaturatingInst()
655 Instr->replaceAllUsesWith(Zext); in processUDivOrURem()
668 SDI->replaceAllUsesWith(BO); in processSRem()
691 SDI->replaceAllUsesWith(BO); in processSDiv()
714 SDI->replaceAllUsesWith(BO); in processAShr()
[all …]
DLowerAtomic.cpp38 CXI->replaceAllUsesWith(Res); in LowerAtomicCmpXchgInst()
98 RMWI->replaceAllUsesWith(Orig); in LowerAtomicRMWInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelAttributes.cpp203 SI->replaceAllUsesWith(ConstantExpr::getIntegerCast(KnownSize, in processUse()
207 SI->replaceAllUsesWith(ZextGroupSize); in processUse()
226 GroupSize->replaceAllUsesWith( in processUse()
DAMDGPULowerKernelArguments.cpp210 Arg.replaceAllUsesWith(NewVal); in runOnFunction()
215 Arg.replaceAllUsesWith(Shuf); in runOnFunction()
218 Arg.replaceAllUsesWith(Load); in runOnFunction()
DAMDGPUCodeGenPrepare.cpp326 I.replaceAllUsesWith(TruncRes); in promoteUniformOpToI32()
353 I.replaceAllUsesWith(NewICmp); in promoteUniformOpToI32()
382 I.replaceAllUsesWith(TruncRes); in promoteUniformOpToI32()
408 I.replaceAllUsesWith(TruncRes); in promoteUniformBitreverseToI32()
522 I.replaceAllUsesWith(NewVal); in replaceMulWithMul24()
603 FDiv.replaceAllUsesWith(NewFDiv); in visitFDiv()
922 I.replaceAllUsesWith(NewDiv); in visitBinaryOperator()
971 I.replaceAllUsesWith(ValOrig); in visitLoadInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DValueList.cpp94 OldV->replaceAllUsesWith(V); in assignValue()
216 UserC->replaceAllUsesWith(NewC); in resolveConstantForwardRefs()
222 Placeholder->replaceAllUsesWith(RealVal); in resolveConstantForwardRefs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
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()
DIPConstantPropagation.cpp137 AI->replaceAllUsesWith(V); in PropagateConstantsIntoArguments()
245 Call->replaceAllUsesWith(New); in PropagateConstantReturn()
270 Ins->replaceAllUsesWith(New); in PropagateConstantReturn()
DGlobalSplit.cpp130 GEP->replaceAllUsesWith(NewGEP); in splitGlobal()
136 GV.replaceAllUsesWith(UndefValue::get(GV.getType())); in splitGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DBasicBlock.cpp76 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement, in ~BasicBlock()
349 PN->replaceAllUsesWith(PN->getIncomingValue(0)); in removePredecessor()
352 PN->replaceAllUsesWith(UndefValue::get(PN->getType())); in removePredecessor()
371 PN->replaceAllUsesWith(PNV); in removePredecessor()
DMetadata.cpp133 replaceAllUsesWith(Entry); in handleChangedMetadata()
232 void ReplaceableMetadataImpl::replaceAllUsesWith(Metadata *MD) { in replaceAllUsesWith() function in ReplaceableMetadataImpl
387 MD->replaceAllUsesWith(nullptr); in handleDeletion()
416 MD->replaceAllUsesWith(ConstantAsMetadata::get(C)); in handleRAUW()
423 MD->replaceAllUsesWith(nullptr); in handleRAUW()
429 MD->replaceAllUsesWith(nullptr); in handleRAUW()
437 MD->replaceAllUsesWith(Entry); in handleRAUW()
677 replaceAllUsesWith(UniquedNode); in replaceWithUniquedImpl()
741 Context.getReplaceableUses()->replaceAllUsesWith(Uniqued); in handleChangedOperand()
834 N->replaceAllUsesWith(nullptr); in deleteTemporary()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXLowerArgs.cpp168 Arg->replaceAllUsesWith(AllocA); in handleByValParam()
201 Ptr->replaceAllUsesWith(PtrInGeneric); in markPointerAsGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSimplifyLibCalls.h117 I->replaceAllUsesWith(With); in replaceAllUsesWithDefault()
124 void replaceAllUsesWith(Instruction *I, Value *With);
131 replaceAllUsesWith(I, With); in substituteInParent()

12345678