Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLowerInvoke.cpp60 CallInst *NewCall = CallInst::Create(II->getCalledValue(), in runOnFunction() local
62 NewCall->takeName(II); in runOnFunction()
63 NewCall->setCallingConv(II->getCallingConv()); in runOnFunction()
64 NewCall->setAttributes(II->getAttributes()); in runOnFunction()
65 NewCall->setDebugLoc(II->getDebugLoc()); in runOnFunction()
66 II->replaceAllUsesWith(NewCall); in runOnFunction()
DInlineFunction.cpp695 Instruction *NewCall = dyn_cast<Instruction>(VMI->second); in UpdateCallGraphAfterInlining() local
696 if (!NewCall) in UpdateCallGraphAfterInlining()
701 CallSite CS = CallSite(NewCall); in UpdateCallGraphAfterInlining()
707 IFI.InlinedCalls.push_back(NewCall); in UpdateCallGraphAfterInlining()
715 if (Function *F = CallSite(NewCall).getCalledFunction()) { in UpdateCallGraphAfterInlining()
717 CallerNode->addCalledFunction(CallSite(NewCall), CG[F]); in UpdateCallGraphAfterInlining()
722 CallerNode->addCalledFunction(CallSite(NewCall), I->second); in UpdateCallGraphAfterInlining()
DLocal.cpp1164 CallInst *NewCall = CallInst::Create(II->getCalledValue(), Args, "", II); in changeToCall() local
1165 NewCall->takeName(II); in changeToCall()
1166 NewCall->setCallingConv(II->getCallingConv()); in changeToCall()
1167 NewCall->setAttributes(II->getAttributes()); in changeToCall()
1168 NewCall->setDebugLoc(II->getDebugLoc()); in changeToCall()
1169 II->replaceAllUsesWith(NewCall); in changeToCall()
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp977 CallInst *NewCall; in processLoopStridedStore() local
979 NewCall = Builder.CreateMemSet(BasePtr, in processLoopStridedStore()
1003 NewCall = Builder.CreateCall3(MSP, BasePtr, PatternPtr, NumBytes); in processLoopStridedStore()
1006 DEBUG(dbgs() << " Formed memset: " << *NewCall << "\n" in processLoopStridedStore()
1008 NewCall->setDebugLoc(TheStore->getDebugLoc()); in processLoopStridedStore()
1091 CallInst *NewCall = in processLoopStoreOfLoopLoad() local
1094 NewCall->setDebugLoc(SI->getDebugLoc()); in processLoopStoreOfLoopLoad()
1096 DEBUG(dbgs() << " Formed memcpy: " << *NewCall << "\n" in processLoopStoreOfLoopLoad()
/external/llvm/lib/IR/
DAutoUpgrade.cpp779 CallInst* NewCall = Builder.CreateCall2(NewFn, BC0, BC1, Name); in UpgradeIntrinsicCall() local
780 CI->replaceAllUsesWith(NewCall); in UpgradeIntrinsicCall()
799 CallInst *NewCall = Builder.CreateCall(NewFn, Args); in UpgradeIntrinsicCall() local
800 CI->replaceAllUsesWith(NewCall); in UpgradeIntrinsicCall()
814 CallInst *NewCall = Builder.CreateCall(NewFn, Args); in UpgradeIntrinsicCall() local
815 CI->replaceAllUsesWith(NewCall); in UpgradeIntrinsicCall()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp1230 CallInst *NewCall = in handleInvoke() local
1233 NewCall->setCallingConv(Invoke->getCallingConv()); in handleInvoke()
1234 NewCall->setAttributes(Invoke->getAttributes()); in handleInvoke()
1235 NewCall->setDebugLoc(Invoke->getDebugLoc()); in handleInvoke()
1236 VMap[Invoke] = NewCall; in handleInvoke()
1239 llvm::RemapInstruction(NewCall, VMap, RF_None, nullptr, &Materializer); in handleInvoke()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp770 CallInst *NewCall = CallInst::Create(Decl, Call->getArgOperand(0), "", in OptimizeIndividualCalls() local
772 NewCall->setMetadata(MDKindCache.get(ARCMDKindID::ImpreciseRelease), in OptimizeIndividualCalls()
777 << *NewCall << "\n"); in OptimizeIndividualCalls()
780 Inst = NewCall; in OptimizeIndividualCalls()
/external/v8/src/
Dpreparser.h1060 PreParserExpression NewCall(PreParserExpression expression, in NewCall() function
2444 result = factory()->NewCall(result, args, pos); in ParseLeftHandSideExpression()
Dparser.cc729 return factory->NewCall(prop, args, pos); in GetIterator()
2900 Expression* next_call = factory()->NewCall( in InitializeForEachStatement()
Dast.h3389 Call* NewCall(Expression* expression, in NewCall() function