Home
last modified time | relevance | path

Searched refs:NewCall (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerInvoke.cpp55 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()
DInlineFunction.cpp1211 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()
DLocal.cpp1962 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()
DSimplifyLibCalls.cpp1269 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/
DWebAssemblyLowerEmscriptenEHSjLj.cpp400 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/
DLoopIdiomRecognize.cpp947 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/
DAutoUpgrade.cpp3428 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/
DInstCombineCalls.cpp2191 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 …]
DInstCombineSimplifyDemanded.cpp1082 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/
DCallGraph.cpp230 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/
DIceASanInstrumentation.cpp355 auto *NewCall = in instrumentCall() local
359 NewCall->addArg(Instr->getArg(I)); in instrumentCall()
360 Context.insert(NewCall); in instrumentCall()
DIceTargetLoweringMIPS32.cpp3508 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()
DIceTargetLoweringARM32.cpp3656 InstARM32Call *NewCall = Context.insert<InstARM32Call>(ReturnReg, CallTarget); in lowerCall() local
3662 Context.insert<InstFakeKill>(NewCall); in lowerCall()
DIceTargetLoweringX8664.cpp2350 Inst *NewCall = emitCallToTarget(CallTarget, ReturnReg, NumVariadicFpArgs); in lowerCall() local
2352 Context.insert<InstFakeKill>(NewCall); in lowerCall()
DIceTargetLoweringX8632.cpp2544 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/
DArgumentPromotion.cpp333 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/
DHexagonLoopIdiomRecognition.cpp2159 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/
DAMDGPUPromoteAlloca.cpp926 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/
DCallGraph.h266 void replaceCallEdge(CallBase &Call, CallBase &NewCall,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp984 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()