/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerInvoke.cpp | 55 CallInst *NewCall = in runImpl() local 58 NewCall->takeName(II); in runImpl() 59 NewCall->setCallingConv(II->getCallingConv()); in runImpl() 60 NewCall->setAttributes(II->getAttributes()); in runImpl() 61 NewCall->setDebugLoc(II->getDebugLoc()); in runImpl() 62 II->replaceAllUsesWith(NewCall); in runImpl()
|
D | InlineFunction.cpp | 1211 auto *NewCall = dyn_cast<CallBase>(VMI->second); in UpdateCallGraphAfterInlining() local 1212 if (!NewCall) in UpdateCallGraphAfterInlining() 1217 if (NewCall->getCalledFunction() && in UpdateCallGraphAfterInlining() 1218 NewCall->getCalledFunction()->isIntrinsic()) in UpdateCallGraphAfterInlining() 1223 IFI.InlinedCalls.push_back(NewCall); in UpdateCallGraphAfterInlining() 1231 if (Function *F = NewCall->getCalledFunction()) { in UpdateCallGraphAfterInlining() 1233 CallerNode->addCalledFunction(NewCall, CG[F]); in UpdateCallGraphAfterInlining() 1238 CallerNode->addCalledFunction(NewCall, I->second); in UpdateCallGraphAfterInlining()
|
D | Local.cpp | 1962 CallInst *NewCall = CallInst::Create(II->getFunctionType(), in createCallMatchingInvoke() local 1964 NewCall->setCallingConv(II->getCallingConv()); in createCallMatchingInvoke() 1965 NewCall->setAttributes(II->getAttributes()); in createCallMatchingInvoke() 1966 NewCall->setDebugLoc(II->getDebugLoc()); in createCallMatchingInvoke() 1967 NewCall->copyMetadata(*II); in createCallMatchingInvoke() 1968 return NewCall; in createCallMatchingInvoke() 1973 CallInst *NewCall = createCallMatchingInvoke(II); in changeToCall() local 1974 NewCall->takeName(II); in changeToCall() 1975 NewCall->insertBefore(II); in changeToCall() 1976 II->replaceAllUsesWith(NewCall); in changeToCall()
|
D | SimplifyLibCalls.cpp | 1269 CallInst *NewCall = B.CreateCall(F, V); in replaceUnaryCall() local 1270 NewCall->takeName(CI); in replaceUnaryCall() 1271 return NewCall; in replaceUnaryCall()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 400 CallInst *NewCall = IRB.CreateCall(getInvokeWrapper(CI), Args); in wrapInvoke() local 401 NewCall->takeName(CI); in wrapInvoke() 402 NewCall->setCallingConv(CallingConv::WASM_EmscriptenInvoke); in wrapInvoke() 403 NewCall->setDebugLoc(CI->getDebugLoc()); in wrapInvoke() 433 NewCall->setAttributes(NewCallAL); in wrapInvoke() 435 CI->replaceAllUsesWith(NewCall); in wrapInvoke() 772 CallInst *NewCall = in runEHOnFunction() local 774 NewCall->takeName(II); in runEHOnFunction() 775 NewCall->setCallingConv(II->getCallingConv()); in runEHOnFunction() 776 NewCall->setDebugLoc(II->getDebugLoc()); in runEHOnFunction() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 947 CallInst *NewCall; in processLoopStridedStore() local 949 NewCall = Builder.CreateMemSet(BasePtr, SplatValue, NumBytes, in processLoopStridedStore() 969 NewCall = Builder.CreateCall(MSP, {BasePtr, PatternPtr, NumBytes}); in processLoopStridedStore() 972 LLVM_DEBUG(dbgs() << " Formed memset: " << *NewCall << "\n" in processLoopStridedStore() 975 NewCall->setDebugLoc(TheStore->getDebugLoc()); in processLoopStridedStore() 979 NewCall->getDebugLoc(), Preheader) in processLoopStridedStore() 981 << ore::NV("NewFunction", NewCall->getCalledFunction()) in processLoopStridedStore() 1082 CallInst *NewCall = nullptr; in processLoopStoreOfLoopLoad() local 1087 NewCall = Builder.CreateMemCpy(StoreBasePtr, SI->getAlign(), LoadBasePtr, in processLoopStoreOfLoopLoad() 1106 NewCall = Builder.CreateElementUnorderedAtomicMemCpy( in processLoopStoreOfLoopLoad() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 3428 Value *NewCall = Builder.CreateCall( in UpgradeIntrinsicCall() local 3433 Value *Data = Builder.CreateExtractValue(NewCall, 1); in UpgradeIntrinsicCall() 3439 Value *CF = Builder.CreateExtractValue(NewCall, 0); in UpgradeIntrinsicCall() 3513 CallInst *NewCall = nullptr; in UpgradeIntrinsicCall() local 3526 NewCall = Builder.CreateCall(NewFn, Args); in UpgradeIntrinsicCall() 3527 cast<Instruction>(NewCall)->copyFastMathFlags(CI); in UpgradeIntrinsicCall() 3537 NewCall = Builder.CreateCall(NewFn, Args); in UpgradeIntrinsicCall() 3538 cast<Instruction>(NewCall)->copyFastMathFlags(CI); in UpgradeIntrinsicCall() 3557 NewCall = Builder.CreateCall(NewFn, Args); in UpgradeIntrinsicCall() 3562 NewCall = Builder.CreateCall(NewFn, {CI->getArgOperand(0)}); in UpgradeIntrinsicCall() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 2191 Value *NewCall = Builder.CreateBinaryIntrinsic(NewIID, X, Y, II); in visitCallInst() local 2192 Instruction *FNeg = BinaryOperator::CreateFNeg(NewCall); in visitCallInst() 2222 Instruction *NewCall = Builder.CreateBinaryIntrinsic( in visitCallInst() local 2224 NewCall->copyIRFlags(II); in visitCallInst() 2225 return replaceInstUsesWith(*II, NewCall); in visitCallInst() 3579 CallInst *NewCall = Builder.CreateCall(II->getCalledFunction(), in visitCallInst() local 3583 NewCall->takeName(II); in visitCallInst() 3584 return replaceInstUsesWith(*II, NewCall); in visitCallInst() 3741 CallInst *NewCall = nullptr; in visitCallInst() local 3743 NewCall = Builder.CreateMinNum(Src1, Src2); in visitCallInst() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 1082 CallInst *NewCall = Builder.CreateCall(NewIntrin, Args); in simplifyAMDGCNMemoryIntrinsicDemanded() local 1083 NewCall->takeName(II); in simplifyAMDGCNMemoryIntrinsicDemanded() 1084 NewCall->copyMetadata(*II); in simplifyAMDGCNMemoryIntrinsicDemanded() 1087 return Builder.CreateInsertElement(UndefValue::get(II->getType()), NewCall, in simplifyAMDGCNMemoryIntrinsicDemanded() 1101 Builder.CreateShuffleVector(NewCall, UndefValue::get(NewTy), EltMask); in simplifyAMDGCNMemoryIntrinsicDemanded()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CallGraph.cpp | 230 void CallGraphNode::replaceCallEdge(CallBase &Call, CallBase &NewCall, in replaceCallEdge() argument 236 I->first = &NewCall; in replaceCallEdge()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceASanInstrumentation.cpp | 355 auto *NewCall = in instrumentCall() local 359 NewCall->addArg(Instr->getArg(I)); in instrumentCall() 360 Context.insert(NewCall); in instrumentCall()
|
D | IceTargetLoweringMIPS32.cpp | 3508 Inst *NewCall; in lowerCall() local 3514 NewCall = InstMIPS32Call::create(Func, RetReg, CallTarget); in lowerCall() 3515 Context.insert(NewCall); in lowerCall() 3517 NewCall = Context.insert<InstMIPS32Call>(ReturnReg, CallTarget); in lowerCall() 3539 Context.insert(InstFakeKill::create(Func, NewCall)); in lowerCall()
|
D | IceTargetLoweringARM32.cpp | 3656 InstARM32Call *NewCall = Context.insert<InstARM32Call>(ReturnReg, CallTarget); in lowerCall() local 3662 Context.insert<InstFakeKill>(NewCall); in lowerCall()
|
D | IceTargetLoweringX8664.cpp | 2350 Inst *NewCall = emitCallToTarget(CallTarget, ReturnReg, NumVariadicFpArgs); in lowerCall() local 2352 Context.insert<InstFakeKill>(NewCall); in lowerCall()
|
D | IceTargetLoweringX8632.cpp | 2544 Inst *NewCall = emitCallToTarget(CallTarget, ReturnReg, NumVariadicFpArgs); in lowerCall() local 2549 Context.insert<InstFakeKill>(NewCall); in lowerCall()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 333 auto *NewCall = CallInst::Create(NF, Args, OpBundles, "", Call); in doPromotion() local 334 NewCall->setTailCallKind(cast<CallInst>(Call)->getTailCallKind()); in doPromotion() 335 NewCS = NewCall; in doPromotion()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonLoopIdiomRecognition.cpp | 2159 CallInst *NewCall; in processCopyingStore() local 2276 NewCall = CondBuilder.CreateCall(Fn, {Op0, Op1, NumWords}); in processCopyingStore() 2278 NewCall = CondBuilder.CreateMemMove( in processCopyingStore() 2282 NewCall = Builder.CreateMemCpy(StoreBasePtr, SI->getAlign(), LoadBasePtr, in processCopyingStore() 2289 NewCall->setDebugLoc(DLoc); in processCopyingStore() 2292 << *NewCall << "\n" in processCopyingStore()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPromoteAlloca.cpp | 926 CallInst *NewCall = Builder.CreateCall( in handleAlloca() local 929 Intr->replaceAllUsesWith(NewCall); in handleAlloca()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | CallGraph.h | 266 void replaceCallEdge(CallBase &Call, CallBase &NewCall,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCOpts.cpp | 984 CallInst *NewCall = in OptimizeIndividualCallImpl() local 986 NewCall->setMetadata(MDKindCache.get(ARCMDKindID::ImpreciseRelease), in OptimizeIndividualCallImpl() 991 << *Call << "\nNew: " << *NewCall << "\n"); in OptimizeIndividualCallImpl() 994 Inst = NewCall; in OptimizeIndividualCallImpl()
|