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.cpp798 Instruction *NewCall = dyn_cast<Instruction>(VMI->second); in UpdateCallGraphAfterInlining() local
799 if (!NewCall) in UpdateCallGraphAfterInlining()
804 CallSite CS = CallSite(NewCall); in UpdateCallGraphAfterInlining()
810 IFI.InlinedCalls.push_back(NewCall); in UpdateCallGraphAfterInlining()
818 if (Function *F = CallSite(NewCall).getCalledFunction()) { in UpdateCallGraphAfterInlining()
820 CallerNode->addCalledFunction(CallSite(NewCall), CG[F]); in UpdateCallGraphAfterInlining()
825 CallerNode->addCalledFunction(CallSite(NewCall), I->second); in UpdateCallGraphAfterInlining()
DLocal.cpp1223 CallInst *NewCall = CallInst::Create(II->getCalledValue(), Args, OpBundles, in changeToCall() local
1225 NewCall->takeName(II); in changeToCall()
1226 NewCall->setCallingConv(II->getCallingConv()); in changeToCall()
1227 NewCall->setAttributes(II->getAttributes()); in changeToCall()
1228 NewCall->setDebugLoc(II->getDebugLoc()); in changeToCall()
1229 II->replaceAllUsesWith(NewCall); in changeToCall()
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp573 CallInst *NewCall; in processLoopStridedStore() local
575 NewCall = in processLoopStridedStore()
594 NewCall = Builder.CreateCall(MSP, {BasePtr, PatternPtr, NumBytes}); in processLoopStridedStore()
597 DEBUG(dbgs() << " Formed memset: " << *NewCall << "\n" in processLoopStridedStore()
599 NewCall->setDebugLoc(TheStore->getDebugLoc()); in processLoopStridedStore()
703 CallInst *NewCall = in processLoopStoreOfLoopLoad() local
706 NewCall->setDebugLoc(SI->getDebugLoc()); in processLoopStoreOfLoopLoad()
708 DEBUG(dbgs() << " Formed memcpy: " << *NewCall << "\n" in processLoopStoreOfLoopLoad()
/external/llvm/lib/IR/
DAutoUpgrade.cpp768 CallInst *NewCall = Builder.CreateCall(NewFn, {BC0, BC1}, Name); in UpgradeIntrinsicCall() local
769 CI->replaceAllUsesWith(NewCall); in UpgradeIntrinsicCall()
788 CallInst *NewCall = Builder.CreateCall(NewFn, Args); in UpgradeIntrinsicCall() local
789 CI->replaceAllUsesWith(NewCall); in UpgradeIntrinsicCall()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp775 CallInst *NewCall = CallInst::Create(Decl, Call->getArgOperand(0), "", in OptimizeIndividualCalls() local
777 NewCall->setMetadata(MDKindCache.get(ARCMDKindID::ImpreciseRelease), in OptimizeIndividualCalls()
782 << *NewCall << "\n"); in OptimizeIndividualCalls()
785 Inst = NewCall; in OptimizeIndividualCalls()
/external/v8/src/parsing/
Dpreparser.h521 PreParserExpression NewCall(PreParserExpression expression, in NewCall() function
1182 return pre_parser_->factory()->NewCall(function, args, pos); in SpreadCall()
Dparser.cc747 return factory->NewCall(prop, args, pos); in GetIterator()
3189 factory()->NewCall(next_property, next_arguments, pos); in BuildIteratorNextResult()
5403 return factory()->NewCall(tag, call_args, pos); in CloseTemplateLiteral()
6135 Expression* call = factory->NewCall(next_property, args, nopos); in RewriteYieldStar()
Dparser-base.h2852 result = factory()->NewCall(result, args, pos); in ParseLeftHandSideExpression()
/external/v8/src/ast/
Dast.h3337 Call* NewCall(Expression* expression, in NewCall() function