/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 49 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 …]
|
D | ScalarizeMaskedMemIntrin.cpp | 148 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()
|
D | AtomicExpandPass.cpp | 392 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 …]
|
D | SjLjEHPrepare.cpp | 147 EVI->replaceAllUsesWith(ExnVal); in substituteLPadValues() 149 EVI->replaceAllUsesWith(SelVal); in substituteLPadValues() 166 LPI->replaceAllUsesWith(LPadVal); in substituteLPadValues() 251 AI.replaceAllUsesWith(SI); in lowerIncomingArguments()
|
D | PreISelIntrinsicLowering.cpp | 53 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/ |
D | CoroCleanup.cpp | 54 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()
|
D | CoroSplit.cpp | 258 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 …]
|
D | CoroEarly.cpp | 82 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/ |
D | SimplifyIndVar.cpp | 265 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 …]
|
D | IntegerDivision.cpp | 394 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()
|
D | InlineFunction.cpp | 184 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 …]
|
D | PromoteMemoryToRegister.cpp | 404 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/ |
D | CorrelatedValuePropagation.cpp | 141 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 …]
|
D | LowerAtomic.cpp | 38 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/ |
D | AMDGPULowerKernelAttributes.cpp | 203 SI->replaceAllUsesWith(ConstantExpr::getIntegerCast(KnownSize, in processUse() 207 SI->replaceAllUsesWith(ZextGroupSize); in processUse() 226 GroupSize->replaceAllUsesWith( in processUse()
|
D | AMDGPULowerKernelArguments.cpp | 210 Arg.replaceAllUsesWith(NewVal); in runOnFunction() 215 Arg.replaceAllUsesWith(Shuf); in runOnFunction() 218 Arg.replaceAllUsesWith(Load); in runOnFunction()
|
D | AMDGPUCodeGenPrepare.cpp | 326 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/ |
D | ValueList.cpp | 94 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/ |
D | DeadArgumentElimination.cpp | 218 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()
|
D | IPConstantPropagation.cpp | 137 AI->replaceAllUsesWith(V); in PropagateConstantsIntoArguments() 245 Call->replaceAllUsesWith(New); in PropagateConstantReturn() 270 Ins->replaceAllUsesWith(New); in PropagateConstantReturn()
|
D | GlobalSplit.cpp | 130 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/ |
D | BasicBlock.cpp | 76 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()
|
D | Metadata.cpp | 133 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/ |
D | NVPTXLowerArgs.cpp | 168 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/ |
D | SimplifyLibCalls.h | 117 I->replaceAllUsesWith(With); in replaceAllUsesWithDefault() 124 void replaceAllUsesWith(Instruction *I, Value *With); 131 replaceAllUsesWith(I, With); in substituteInParent()
|