Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLowerInvoke.cpp59 CallInst *NewCall = CallInst::Create(II->getCalledValue(), in runOnFunction() local
61 NewCall->takeName(II); in runOnFunction()
62 NewCall->setCallingConv(II->getCallingConv()); in runOnFunction()
63 NewCall->setAttributes(II->getAttributes()); in runOnFunction()
64 NewCall->setDebugLoc(II->getDebugLoc()); in runOnFunction()
65 II->replaceAllUsesWith(NewCall); in runOnFunction()
DInlineFunction.cpp1127 Instruction *NewCall = dyn_cast<Instruction>(VMI->second); in UpdateCallGraphAfterInlining() local
1128 if (!NewCall) in UpdateCallGraphAfterInlining()
1133 CallSite CS = CallSite(NewCall); in UpdateCallGraphAfterInlining()
1139 IFI.InlinedCalls.push_back(NewCall); in UpdateCallGraphAfterInlining()
1147 if (Function *F = CallSite(NewCall).getCalledFunction()) { in UpdateCallGraphAfterInlining()
1149 CallerNode->addCalledFunction(CallSite(NewCall), CG[F]); in UpdateCallGraphAfterInlining()
1154 CallerNode->addCalledFunction(CallSite(NewCall), I->second); in UpdateCallGraphAfterInlining()
DLocal.cpp1347 CallInst *NewCall = CallInst::Create(II->getCalledValue(), Args, OpBundles, in changeToCall() local
1349 NewCall->takeName(II); in changeToCall()
1350 NewCall->setCallingConv(II->getCallingConv()); in changeToCall()
1351 NewCall->setAttributes(II->getAttributes()); in changeToCall()
1352 NewCall->setDebugLoc(II->getDebugLoc()); in changeToCall()
1353 II->replaceAllUsesWith(NewCall); in changeToCall()
/external/swiftshader/third_party/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.cpp700 Instruction *NewCall = dyn_cast<Instruction>(VMI->second); in UpdateCallGraphAfterInlining() local
701 if (NewCall == 0) continue; in UpdateCallGraphAfterInlining()
705 IFI.InlinedCalls.push_back(NewCall); in UpdateCallGraphAfterInlining()
713 if (Function *F = CallSite(NewCall).getCalledFunction()) { in UpdateCallGraphAfterInlining()
715 CallerNode->addCalledFunction(CallSite(NewCall), CG[F]); in UpdateCallGraphAfterInlining()
720 CallerNode->addCalledFunction(CallSite(NewCall), I->second); in UpdateCallGraphAfterInlining()
/external/swiftshader/third_party/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.cpp2067 CallInst *NewCall = in OptimizeIndividualCalls() local
2070 NewCall->setMetadata(ImpreciseReleaseMDKind, in OptimizeIndividualCalls()
2073 Inst = NewCall; in OptimizeIndividualCalls()
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp805 CallInst *NewCall; in processLoopStridedStore() local
807 NewCall = in processLoopStridedStore()
827 NewCall = Builder.CreateCall(MSP, {BasePtr, PatternPtr, NumBytes}); in processLoopStridedStore()
830 DEBUG(dbgs() << " Formed memset: " << *NewCall << "\n" in processLoopStridedStore()
832 NewCall->setDebugLoc(TheStore->getDebugLoc()); in processLoopStridedStore()
935 CallInst *NewCall = in processLoopStoreOfLoopLoad() local
938 NewCall->setDebugLoc(SI->getDebugLoc()); in processLoopStoreOfLoopLoad()
940 DEBUG(dbgs() << " Formed memcpy: " << *NewCall << "\n" in processLoopStoreOfLoopLoad()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8664.cpp620 Inst *NewCall = nullptr; in emitCallToTarget() local
680 NewCall = Context.insert<Traits::Insts::Jmp>(CallTarget); in emitCallToTarget()
695 NewCall = Context.insert<Traits::Insts::Call>(ReturnReg, CallTarget); in emitCallToTarget()
697 return NewCall; in emitCallToTarget()
DIceASanInstrumentation.cpp355 auto *NewCall = in instrumentCall() local
359 NewCall->addArg(Instr->getArg(I)); in instrumentCall()
360 Context.insert(NewCall); in instrumentCall()
DIceTargetLoweringMIPS32.cpp3556 Inst *NewCall; in lowerCall() local
3562 NewCall = InstMIPS32Call::create(Func, RetReg, CallTarget); in lowerCall()
3563 Context.insert(NewCall); in lowerCall()
3565 NewCall = Sandboxer(this, InstBundleLock::Opt_AlignToEnd) in lowerCall()
3588 Context.insert(InstFakeKill::create(Func, NewCall)); in lowerCall()
DIceTargetLoweringARM32.cpp3843 InstARM32Call *NewCall = in lowerCall() local
3850 Context.insert<InstFakeKill>(NewCall); in lowerCall()
DIceTargetLoweringX86BaseImpl.h2751 Inst *NewCall = emitCallToTarget(CallTarget, ReturnReg);
2756 Context.insert<InstFakeKill>(NewCall);
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp839 CallInst *NewCall in handleAlloca() local
841 Intr->replaceAllUsesWith(NewCall); in handleAlloca()
/external/llvm/lib/IR/
DAutoUpgrade.cpp1311 CallInst *NewCall = Builder.CreateCall(NewFn, {BC0, BC1}, Name); in UpgradeIntrinsicCall() local
1312 CI->replaceAllUsesWith(NewCall); in UpgradeIntrinsicCall()
1331 CallInst *NewCall = Builder.CreateCall(NewFn, Args); in UpgradeIntrinsicCall() local
1332 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.h655 PreParserExpression NewCall(
1708 return factory()->NewCall(function, args, pos, possibly_eval);
Dparser.cc204 Expression* call = factory()->NewCall(super_call_ref, args, pos); in DefaultConstructor()
1851 factory()->NewCall(next_property, next_arguments, pos); in BuildIteratorNextResult()
3588 return factory()->NewCall(tag, call_args, pos); in CloseTemplateLiteral()
3702 return factory()->NewCall(function, args, pos); in SpreadCall()
4311 Expression* call = factory()->NewCall(next_property, args, nopos); in RewriteYieldStar()
Dparser-base.h3218 result = factory()->NewCall(result, args, pos, is_possibly_eval); in ParseLeftHandSideExpression()
/external/v8/src/ast/
Dast.h3396 Call* NewCall(Expression* expression, ZoneList<Expression*>* arguments,
/external/clang/lib/CodeGen/
DCGBuiltin.cpp2212 auto NewCall = Builder.CreateCall(CGM.CreateRuntimeFunction(FTy, in EmitBuiltinExpr() local
2214 return RValue::get(Builder.CreateBitOrPointerCast(NewCall, in EmitBuiltinExpr()