Home
last modified time | relevance | path

Searched refs:setCallingConv (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp53 CI->setCallingConv(F->getCallingConv()); in EmitStrLen()
80 CI->setCallingConv(F->getCallingConv()); in EmitStrChr()
105 CI->setCallingConv(F->getCallingConv()); in EmitStrNCmp()
129 CI->setCallingConv(F->getCallingConv()); in EmitStrCpy()
154 CI->setCallingConv(F->getCallingConv()); in EmitStrNCpy()
180 CI->setCallingConv(F->getCallingConv()); in EmitMemCpyChk()
202 CI->setCallingConv(F->getCallingConv()); in EmitMemChr()
228 CI->setCallingConv(F->getCallingConv()); in EmitMemCmp()
263 CI->setCallingConv(F->getCallingConv()); in EmitUnaryFloatFnCall()
284 CI->setCallingConv(F->getCallingConv()); in EmitBinaryFloatFnCall()
[all …]
DLowerInvoke.cpp63 NewCall->setCallingConv(II->getCallingConv()); in runOnFunction()
/external/llvm/unittests/IR/
DLegacyPassManagerTest.cpp428 func_test1->setCallingConv(CallingConv::C); in makeLLVMModule()
436 func_test2->setCallingConv(CallingConv::C); in makeLLVMModule()
444 func_test3->setCallingConv(CallingConv::C); in makeLLVMModule()
452 func_test4->setCallingConv(CallingConv::C); in makeLLVMModule()
472 int32_3->setCallingConv(CallingConv::C); in makeLLVMModule()
487 int32_6->setCallingConv(CallingConv::C); in makeLLVMModule()
502 int32_9->setCallingConv(CallingConv::C); in makeLLVMModule()
/external/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp224 CI->setCallingConv(TLI->getLibcallCallingConv(RTLIB::UNWIND_RESUME)); in InsertUnwindResumeCalls()
249 CI->setCallingConv(TLI->getLibcallCallingConv(RTLIB::UNWIND_RESUME)); in InsertUnwindResumeCalls()
DShadowStackGCLowering.cpp181 II->setCallingConv(CI->getCallingConv()); in Next()
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp34 F->setCallingConv(CallingConv::C); in SetUp()
141 F->setCallingConv(CallingConv::C); in getExternal()
156 F->setCallingConv(CallingConv::C); in getInternal()
/external/llvm/include/llvm/IR/
DCallSite.h236 void setCallingConv(CallingConv::ID CC) { in setCallingConv() function
237 CALLSITE_DELEGATE_SETTER(setCallingConv(CC)); in setCallingConv()
DFunction.h158 void setCallingConv(CallingConv::ID CC) {
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp211 call->setCallingConv(dtorFn->getCallingConv()); in createAtExitStub()
265 Fn->setCallingConv(getRuntimeCC()); in CreateGlobalInitOrDestructFunction()
572 CI->setCallingConv(F->getCallingConv()); in GenerateCXXGlobalDtorsFunc()
DCGCall.cpp3057 call->setCallingConv(getRuntimeCC()); in EmitRuntimeCall()
3093 invoke->setCallingConv(getRuntimeCC()); in EmitNoreturnRuntimeCallOrInvoke()
3097 call->setCallingConv(getRuntimeCC()); in EmitNoreturnRuntimeCallOrInvoke()
3116 callSite.setCallingConv(getRuntimeCC()); in EmitRuntimeCallOrInvoke()
3542 CS.setCallingConv(static_cast<llvm::CallingConv::ID>(CallingConv)); in EmitCall()
DItaniumCXXABI.cpp2199 Wrapper->setCallingConv(llvm::CallingConv::CXX_FAST_TLS); in getOrCreateThreadLocalWrapper()
2315 CallVal->setCallingConv(llvm::CallingConv::CXX_FAST_TLS); in EmitThreadLocalVarDeclLValue()
3815 catchCall->setCallingConv(CGM.getRuntimeCC()); in getClangCallTerminateFn()
3821 termCall->setCallingConv(CGM.getRuntimeCC()); in getClangCallTerminateFn()
DCodeGenModule.cpp775 F->setCallingConv(static_cast<llvm::CallingConv::ID>(CallingConv)); in SetLLVMFunctionAttributes()
1916 F->setCallingConv(getRuntimeCC()); in CreateRuntimeFunction()
1931 F->setCallingConv(getBuiltinCC()); in CreateBuiltinFunction()
2642 newCall.setCallingConv(callSite.getCallingConv()); in replaceUsesOfNonProtoConstant()
DCGVTables.cpp386 Call->setCallingConv(static_cast<llvm::CallingConv::ID>(CallingConv)); in EmitMustTailThunk()
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp264 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
268 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
953 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
957 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
DPruneEH.cpp197 Call->setCallingConv(II->getCallingConv()); in SimplifyFunction()
DArgumentPromotion.cpp859 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DoPromotion()
864 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in DoPromotion()
/external/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp891 Call->setCallingConv(ToReplace->getCallingConv()); in ReplaceWithStatepoint()
917 Invoke->setCallingConv(ToReplace->getCallingConv()); in ReplaceWithStatepoint()
DRewriteStatepointsForGC.cpp1353 Reloc->setCallingConv(CallingConv::Cold); in CreateGCRelocates()
1459 Call->setCallingConv(ToReplace->getCallingConv()); in makeStatepointExplicitImpl()
1487 Invoke->setCallingConv(ToReplace->getCallingConv()); in makeStatepointExplicitImpl()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp187 F1->setCallingConv(CallingConv::Cold); in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2285 cast<InvokeInst>(NC)->setCallingConv(II->getCallingConv()); in transformConstExprCastCall()
2293 cast<CallInst>(NC)->setCallingConv(CI->getCallingConv()); in transformConstExprCastCall()
2470 cast<InvokeInst>(NewCaller)->setCallingConv(II->getCallingConv()); in transformCallThroughTrampoline()
2477 setCallingConv(cast<CallInst>(Caller)->getCallingConv()); in transformCallThroughTrampoline()
/external/llvm/lib/IR/
DInstructions.cpp294 setCallingConv(CI.getCallingConv()); in CallInst()
309 NewCI->setCallingConv(CI->getCallingConv()); in Create()
455 MCall->setCallingConv(F->getCallingConv()); in createMalloc()
521 Result->setCallingConv(F->getCallingConv()); in createFree()
582 setCallingConv(II.getCallingConv()); in InvokeInst()
596 NewII->setCallingConv(II->getCallingConv()); in Create()
DFunction.cpp420 setCallingConv(SrcF->getCallingConv()); in copyAttributesFrom()
DCore.cpp1719 return unwrap<Function>(Fn)->setCallingConv( in LLVMSetFunctionCallConv()
2052 return CI->setCallingConv(static_cast<CallingConv::ID>(CC)); in LLVMSetInstructionCallConv()
2054 return II->setCallingConv(static_cast<CallingConv::ID>(CC)); in LLVMSetInstructionCallConv()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp138 Func->setCallingConv(CallingConv::C); in GenEmptyFunction()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp1517 CustomCI->setCallingConv(CI->getCallingConv()); in visitCallSite()
1604 NewCS.setCallingConv(CS.getCallingConv()); in visitCallSite()

12