/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 200 CallSite NewCS; in DeleteDeadVarargs() local 202 NewCS = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in DeleteDeadVarargs() 205 NewCS = CallInst::Create(NF, Args, OpBundles, "", Call); in DeleteDeadVarargs() 206 cast<CallInst>(NewCS.getInstruction()) in DeleteDeadVarargs() 209 NewCS.setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs() 210 NewCS.setAttributes(PAL); in DeleteDeadVarargs() 211 NewCS->setDebugLoc(Call->getDebugLoc()); in DeleteDeadVarargs() 214 NewCS->setProfWeight(W); in DeleteDeadVarargs() 219 Call->replaceAllUsesWith(NewCS.getInstruction()); in DeleteDeadVarargs() 221 NewCS->takeName(Call); in DeleteDeadVarargs() [all …]
|
D | ArgumentPromotion.cpp | 105 Optional<function_ref<void(CallSite OldCS, CallSite NewCS)>> in doPromotion() 322 CallSite NewCS; in doPromotion() local 324 NewCS = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in doPromotion() 329 NewCS = NewCall; in doPromotion() 331 NewCS.setCallingConv(CS.getCallingConv()); in doPromotion() 332 NewCS.setAttributes( in doPromotion() 335 NewCS->setDebugLoc(Call->getDebugLoc()); in doPromotion() 338 NewCS->setProfWeight(W); in doPromotion() 344 (*ReplaceCallSite)(CS, NewCS); in doPromotion() 347 Call->replaceAllUsesWith(NewCS.getInstruction()); in doPromotion() [all …]
|
D | WholeProgramDevirt.cpp | 912 CallSite NewCS; in applyICallBranchFunnel() local 914 NewCS = IRB.CreateCall(IRB.CreateBitCast(JT, NewFT), Args); in applyICallBranchFunnel() 916 NewCS = IRB.CreateInvoke( in applyICallBranchFunnel() 920 NewCS.setCallingConv(CS.getCallingConv()); in applyICallBranchFunnel() 929 NewCS.setAttributes( in applyICallBranchFunnel() 933 CS->replaceAllUsesWith(NewCS.getInstruction()); in applyICallBranchFunnel()
|
/external/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 489 CallSite NewCS; in rewriteSetJmpCallSite() local 494 NewCS = NewCI; in rewriteSetJmpCallSite() 497 NewCS = Builder.CreateInvoke( in rewriteSetJmpCallSite() 500 NewCS.setCallingConv(CS.getCallingConv()); in rewriteSetJmpCallSite() 501 NewCS.setAttributes(CS.getAttributes()); in rewriteSetJmpCallSite() 502 NewCS->setDebugLoc(CS->getDebugLoc()); in rewriteSetJmpCallSite() 504 Instruction *NewInst = NewCS.getInstruction(); in rewriteSetJmpCallSite()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 497 CallSite NewCS; in rewriteSetJmpCallSite() local 502 NewCS = NewCI; in rewriteSetJmpCallSite() 505 NewCS = Builder.CreateInvoke( in rewriteSetJmpCallSite() 508 NewCS.setCallingConv(CS.getCallingConv()); in rewriteSetJmpCallSite() 509 NewCS.setAttributes(CS.getAttributes()); in rewriteSetJmpCallSite() 510 NewCS->setDebugLoc(CS->getDebugLoc()); in rewriteSetJmpCallSite() 512 Instruction *NewInst = NewCS.getInstruction(); in rewriteSetJmpCallSite()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | IndirectCallPromotion.cpp | 478 CallSite NewCS(NewInst); in createDirectCallInst() local 482 Type *ATy = NewCS.getArgument(I)->getType(); in createDirectCallInst() 485 BitCastInst *BI = new BitCastInst(NewCS.getArgument(I), PTy, "", NewInst); in createDirectCallInst() 486 NewCS.setArgument(I, BI); in createDirectCallInst()
|
D | DataFlowSanitizer.cpp | 1587 CallSite NewCS; in visitCallSite() local 1589 NewCS = IRB.CreateInvoke(Func, II->getNormalDest(), II->getUnwindDest(), in visitCallSite() 1592 NewCS = IRB.CreateCall(Func, Args); in visitCallSite() 1594 NewCS.setCallingConv(CS.getCallingConv()); in visitCallSite() 1595 NewCS.setAttributes(CS.getAttributes().removeAttributes( in visitCallSite() 1597 AttributeFuncs::typeIncompatible(NewCS.getInstruction()->getType()))); in visitCallSite() 1601 ExtractValueInst::Create(NewCS.getInstruction(), 0, "", Next); in visitCallSite() 1604 ExtractValueInst::Create(NewCS.getInstruction(), 1, "", Next); in visitCallSite()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/ |
D | CallGraph.cpp | 326 CallSite NewCS, CallGraphNode *NewNode){ in replaceCallEdge() argument 331 I->first = NewCS.getInstruction(); in replaceCallEdge()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CallGraph.cpp | 233 CallSite NewCS, CallGraphNode *NewNode){ in replaceCallEdge() argument 238 I->first = NewCS.getInstruction(); in replaceCallEdge()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | CallSiteSplitting.cpp | 333 CallSite NewCS(NewCI); in splitCallSite() local 334 addConditions(NewCS, Preds[i].second); in splitCallSite() 341 NewCS.setArgument(ArgNo, PN.getIncomingValueForBlock(SplitBlock)); in splitCallSite()
|
/external/llvm/lib/Analysis/ |
D | CallGraph.cpp | 247 CallSite NewCS, CallGraphNode *NewNode){ in replaceCallEdge() argument 252 I->first = NewCS.getInstruction(); in replaceCallEdge()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 1706 CallSite NewCS; in visitCallSite() local 1708 NewCS = IRB.CreateInvoke(Func, II->getNormalDest(), II->getUnwindDest(), in visitCallSite() 1711 NewCS = IRB.CreateCall(Func, Args); in visitCallSite() 1713 NewCS.setCallingConv(CS.getCallingConv()); in visitCallSite() 1714 NewCS.setAttributes(CS.getAttributes().removeAttributes( in visitCallSite() 1716 AttributeFuncs::typeIncompatible(NewCS.getInstruction()->getType()))); in visitCallSite() 1720 ExtractValueInst::Create(NewCS.getInstruction(), 0, "", Next); in visitCallSite() 1723 ExtractValueInst::Create(NewCS.getInstruction(), 1, "", Next); in visitCallSite()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | CallGraph.h | 293 void replaceCallEdge(CallSite CS, CallSite NewCS, CallGraphNode *NewNode);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | CallGraph.h | 267 void replaceCallEdge(CallSite CS, CallSite NewCS, CallGraphNode *NewNode);
|
/external/llvm/include/llvm/Analysis/ |
D | CallGraph.h | 270 void replaceCallEdge(CallSite CS, CallSite NewCS, CallGraphNode *NewNode);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 4325 CallSite NewCS; in transformConstExprCastCall() local 4327 NewCS = Builder.CreateInvoke(Callee, II->getNormalDest(), in transformConstExprCastCall() 4330 NewCS = Builder.CreateCall(Callee, Args, OpBundles); in transformConstExprCastCall() 4331 cast<CallInst>(NewCS.getInstruction()) in transformConstExprCastCall() 4334 NewCS->takeName(Caller); in transformConstExprCastCall() 4335 NewCS.setCallingConv(CS.getCallingConv()); in transformConstExprCastCall() 4336 NewCS.setAttributes(NewCallerPAL); in transformConstExprCastCall() 4342 NewCS->setProfWeight(W); in transformConstExprCastCall() 4345 Instruction *NC = NewCS.getInstruction(); in transformConstExprCastCall()
|