Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLowerInvoke.cpp178 CallInst *NewCall = CallInst::Create(II->getCalledValue(), in insertCheapEHSupport() local
180 NewCall->takeName(II); in insertCheapEHSupport()
181 NewCall->setCallingConv(II->getCallingConv()); in insertCheapEHSupport()
182 NewCall->setAttributes(II->getAttributes()); in insertCheapEHSupport()
183 NewCall->setDebugLoc(II->getDebugLoc()); in insertCheapEHSupport()
184 II->replaceAllUsesWith(NewCall); in insertCheapEHSupport()
258 CallInst *NewCall = CallInst::Create(II->getCalledValue(), in rewriteExpensiveInvoke() local
260 NewCall->takeName(II); in rewriteExpensiveInvoke()
261 NewCall->setCallingConv(II->getCallingConv()); in rewriteExpensiveInvoke()
262 NewCall->setAttributes(II->getAttributes()); in rewriteExpensiveInvoke()
[all …]
DInlineFunction.cpp605 Instruction *NewCall = dyn_cast<Instruction>(VMI->second); in UpdateCallGraphAfterInlining() local
606 if (NewCall == 0) continue; in UpdateCallGraphAfterInlining()
610 IFI.InlinedCalls.push_back(NewCall); in UpdateCallGraphAfterInlining()
618 if (Function *F = CallSite(NewCall).getCalledFunction()) { in UpdateCallGraphAfterInlining()
620 CallerNode->addCalledFunction(CallSite(NewCall), CG[F]); in UpdateCallGraphAfterInlining()
625 CallerNode->addCalledFunction(CallSite(NewCall), I->second); in UpdateCallGraphAfterInlining()
/external/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp94 CallInst *NewCall = CallInst::Create(II->getCalledValue(), Args, "", II); in ChangeToCall() local
95 NewCall->takeName(II); in ChangeToCall()
96 NewCall->setCallingConv(II->getCallingConv()); in ChangeToCall()
97 NewCall->setAttributes(II->getAttributes()); in ChangeToCall()
98 NewCall->setDebugLoc(II->getDebugLoc()); in ChangeToCall()
99 II->replaceAllUsesWith(NewCall); in ChangeToCall()
DLoopIdiomRecognize.cpp513 CallInst *NewCall; in processLoopStridedStore() local
515 NewCall = Builder.CreateMemSet(BasePtr, SplatValue,NumBytes,StoreAlignment); in processLoopStridedStore()
532 NewCall = Builder.CreateCall3(MSP, BasePtr, PatternPtr, NumBytes); in processLoopStridedStore()
535 DEBUG(dbgs() << " Formed memset: " << *NewCall << "\n" in processLoopStridedStore()
537 NewCall->setDebugLoc(TheStore->getDebugLoc()); in processLoopStridedStore()
619 CallInst *NewCall = in processLoopStoreOfLoopLoad() local
622 NewCall->setDebugLoc(SI->getDebugLoc()); in processLoopStoreOfLoopLoad()
624 DEBUG(dbgs() << " Formed memcpy: " << *NewCall << "\n" in processLoopStoreOfLoopLoad()
DObjCARC.cpp2004 CallInst *NewCall = in OptimizeIndividualCalls() local
2007 NewCall->setMetadata(ImpreciseReleaseMDKind, in OptimizeIndividualCalls()
2010 Inst = NewCall; in OptimizeIndividualCalls()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1429 llvm::CallInst *NewCall = llvm::CallInst::Create(NewFn, ArgList, "", CI); in ReplaceUsesOfNonProtoTypeWithRealFunction() local
1431 if (!NewCall->getType()->isVoidTy()) in ReplaceUsesOfNonProtoTypeWithRealFunction()
1432 NewCall->takeName(CI); in ReplaceUsesOfNonProtoTypeWithRealFunction()
1433 NewCall->setAttributes(CI->getAttributes()); in ReplaceUsesOfNonProtoTypeWithRealFunction()
1434 NewCall->setCallingConv(CI->getCallingConv()); in ReplaceUsesOfNonProtoTypeWithRealFunction()
1438 CI->replaceAllUsesWith(NewCall); in ReplaceUsesOfNonProtoTypeWithRealFunction()
1442 NewCall->setDebugLoc(CI->getDebugLoc()); in ReplaceUsesOfNonProtoTypeWithRealFunction()
/external/v8/src/
Dparser.h674 Expression* NewCall(Expression* expression, in NewCall() function
Dparser.cc2683 result = NewCall(result, args, pos); in ParseLeftHandSideExpression()