Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp47 CI->setCallingConv(F->getCallingConv()); in EmitStrLen()
68 CI->setCallingConv(F->getCallingConv()); in EmitStrChr()
92 CI->setCallingConv(F->getCallingConv()); in EmitStrNCmp()
111 CI->setCallingConv(F->getCallingConv()); in EmitStrCpy()
130 CI->setCallingConv(F->getCallingConv()); in EmitStrNCpy()
154 CI->setCallingConv(F->getCallingConv()); in EmitMemCpyChk()
175 CI->setCallingConv(F->getCallingConv()); in EmitMemChr()
200 CI->setCallingConv(F->getCallingConv()); in EmitMemCmp()
231 CI->setCallingConv(F->getCallingConv()); in EmitUnaryFloatFnCall()
250 CI->setCallingConv(F->getCallingConv()); in EmitPutChar()
[all …]
DLowerInvoke.cpp181 NewCall->setCallingConv(II->getCallingConv()); in insertCheapEHSupport()
261 NewCall->setCallingConv(II->getCallingConv()); in rewriteExpensiveInvoke()
/external/swiftshader/third_party/LLVM/unittests/VMCore/
DPassManagerTest.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/unittests/IR/
DLegacyPassManagerTest.cpp431 func_test1->setCallingConv(CallingConv::C); in makeLLVMModule()
439 func_test2->setCallingConv(CallingConv::C); in makeLLVMModule()
447 func_test3->setCallingConv(CallingConv::C); in makeLLVMModule()
455 func_test4->setCallingConv(CallingConv::C); in makeLLVMModule()
476 int32_3->setCallingConv(CallingConv::C); in makeLLVMModule()
491 int32_6->setCallingConv(CallingConv::C); in makeLLVMModule()
506 int32_9->setCallingConv(CallingConv::C); in makeLLVMModule()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp729 CI->setCallingConv(F->getCallingConv()); in emitStrLen()
748 CI->setCallingConv(F->getCallingConv()); in emitStrChr()
767 CI->setCallingConv(F->getCallingConv()); in emitStrNCmp()
784 CI->setCallingConv(F->getCallingConv()); in emitStrCpy()
801 CI->setCallingConv(F->getCallingConv()); in emitStrNCpy()
824 CI->setCallingConv(F->getCallingConv()); in emitMemCpyChk()
842 CI->setCallingConv(F->getCallingConv()); in emitMemChr()
862 CI->setCallingConv(F->getCallingConv()); in emitMemCmp()
893 CI->setCallingConv(F->getCallingConv()); in emitUnaryFloatFnCall()
909 CI->setCallingConv(F->getCallingConv()); in emitBinaryFloatFnCall()
[all …]
DLowerInvoke.cpp62 NewCall->setCallingConv(II->getCallingConv()); in runOnFunction()
/external/llvm/lib/Transforms/Scalar/
DLowerGuardIntrinsic.cpp82 DeoptCall->setCallingConv(CI->getCallingConv()); in MakeGuardControlFlowExplicit()
106 DeoptIntrinsic->setCallingConv(GuardDecl->getCallingConv()); in runOnFunction()
/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()
DStackProtector.cpp375 Call->setCallingConv(Function->getCallingConv()); in InsertStackProtectors()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCallSite.h174 void setCallingConv(CallingConv::ID CC) { in setCallingConv() function
175 CALLSITE_DELEGATE_SETTER(setCallingConv(CC)); in setCallingConv()
/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/lib/Transforms/IPO/
DDeadArgumentElimination.cpp187 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
191 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
893 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
897 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DDeadArgumentElimination.cpp248 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
252 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in DeleteDeadVarargs()
826 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
830 cast<CallInst>(New)->setCallingConv(CS.getCallingConv()); in RemoveDeadStuffFromFunction()
DPruneEH.cpp181 Call->setCallingConv(II->getCallingConv()); in SimplifyFunction()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp219 call->setCallingConv(dtorFn->getCallingConv()); in createAtExitStub()
273 Fn->setCallingConv(getRuntimeCC()); in CreateGlobalInitOrDestructFunction()
591 CI->setCallingConv(F->getCallingConv()); in GenerateCXXGlobalDtorsFunc()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DDwarfEHPrepare.cpp345 NewSelector->setCallingConv(II->getCallingConv()); in HandleURoRInvokes()
524 CI->setCallingConv(TLI->getLibcallCallingConv(RTLIB::UNWIND_RESUME)); in LowerUnwindsAndResumes()
710 CI->setCallingConv(TLI->getLibcallCallingConv(RTLIB::UNWIND_RESUME)); in InsertUnwindResumeCalls()
/external/spirv-llvm/lib/SPIRV/
DSPIRVReader.cpp472 void setCallingConv(CallInst *Call) { in setCallingConv() function in SPIRV::SPIRVToLLVM
475 Call->setCallingConv(F->getCallingConv()); in setCallingConv()
536 Call->setCallingConv(F->getCallingConv()); in setAttrByCalledFunc()
587 Func->setCallingConv(CallingConv::SPIR_FUNC); in transOCLBuiltinFromVariable()
1051 newF->setCallingConv(F->getCallingConv()); in postProcessOCLBuiltinReturnStruct()
1055 NewCI->setCallingConv(CI->getCallingConv()); in postProcessOCLBuiltinReturnStruct()
1732 setCallingConv(Call); in transValueWithoutDecoration()
1838 F->setCallingConv(IsKernel ? CallingConv::SPIR_KERNEL : in transFunction()
1993 Func->setCallingConv(CallingConv::SPIR_FUNC); in transBuiltinFromInst()
2393 F->setCallingConv(CallingConv::SPIR_FUNC); in transOCLBuiltinFromExtInst()
[all …]
DTransOCLMD.cpp164 Kernel->setCallingConv(CallingConv::SPIR_KERNEL); in visit()
/external/swiftshader/third_party/LLVM/
DFastIntrinsicID.patch32 /// getCallingConv()/setCallingConv(CC) - These method get and set the
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp306 ->setCallingConv(CallingConv::X86_StdCall); in emitExceptionRegistrationRecord()
359 ->setCallingConv(CallingConv::X86_StdCall); in emitExceptionRegistrationRecord()
500 NewCS.setCallingConv(CS.getCallingConv()); in rewriteSetJmpCallSite()
/external/llvm/include/llvm/IR/
DCallSite.h291 void setCallingConv(CallingConv::ID CC) { in setCallingConv() function
292 CALLSITE_DELEGATE_SETTER(setCallingConv(CC)); in setCallingConv()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1196 cast<InvokeInst>(NC)->setCallingConv(II->getCallingConv()); in transformConstExprCastCall()
1204 cast<CallInst>(NC)->setCallingConv(CI->getCallingConv()); in transformConstExprCastCall()
1369 cast<InvokeInst>(NewCaller)->setCallingConv(II->getCallingConv()); in transformCallThroughTrampoline()
1376 setCallingConv(cast<CallInst>(Caller)->getCallingConv()); in transformCallThroughTrampoline()
/external/swiftshader/third_party/LLVM/include/llvm/
DFunction.h162 void setCallingConv(CallingConv::ID CC) {
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp96 NewCall->setCallingConv(II->getCallingConv()); in ChangeToCall()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DFunction.cpp305 setCallingConv(SrcF->getCallingConv()); in copyAttributesFrom()

123