Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp263 call->setCallingConv(dtorFn->getCallingConv()); in createAtExitStub()
316 call->setCallingConv(DtorFn->getCallingConv()); in createTLSAtExitStub()
457 Fn->setCallingConv(getRuntimeCC()); in CreateGlobalInitOrCleanUpFunction()
793 Fn->setCallingConv(llvm::CallingConv::SPIR_KERNEL); in EmitCXXModuleInitFunc()
799 Fn->setCallingConv(llvm::CallingConv::AMDGPU_KERNEL); in EmitCXXModuleInitFunc()
951 Fn->setCallingConv(llvm::CallingConv::SPIR_KERNEL); in EmitCXXGlobalInitFunc()
957 Fn->setCallingConv(llvm::CallingConv::AMDGPU_KERNEL); in EmitCXXGlobalInitFunc()
1146 CI->setCallingConv(F->getCallingConv()); in GenerateCXXGlobalCleanUpFunc()
H A DTargetInfo.cpp189 F->setCallingConv(KernelCC); in createEnqueuedBlockKernel()
203 Call->setCallingConv(Invoke->getCallingConv()); in createEnqueuedBlockKernel()
H A DItaniumCXXABI.cpp2933 CI->setCallingConv(Dtor->getCallingConv()); in unregisterGlobalDtorsWithUnAtExit()
3087 Wrapper->setCallingConv(llvm::CallingConv::CXX_FAST_TLS); in getOrCreateThreadLocalWrapper()
3136 InitFunc->setCallingConv(llvm::CallingConv::CXX_FAST_TLS); in EmitThreadLocalInitFuncs()
3256 CallVal->setCallingConv(llvm::CallingConv::CXX_FAST_TLS); in EmitThreadLocalInitFuncs()
3259 Fn->setCallingConv(llvm::CallingConv::CXX_FAST_TLS); in EmitThreadLocalInitFuncs()
3305 CallVal->setCallingConv(Wrapper->getCallingConv()); in EmitThreadLocalVarDeclLValue()
5068 catchCall->setCallingConv(CGM.getRuntimeCC()); in getClangCallTerminateFn()
5074 termCall->setCallingConv(CGM.getRuntimeCC()); in getClangCallTerminateFn()
5211 CI->setCallingConv(dtorStub->getCallingConv()); in emitCXXStermFinalizer()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1464 CI->setCallingConv(F->getCallingConv()); in emitLibCall()
1548 CI->setCallingConv(F->getCallingConv()); in emitMemCpyChk()
1724 CI->setCallingConv(F->getCallingConv()); in emitUnaryFloatFnCallHelper()
1774 CI->setCallingConv(F->getCallingConv()); in emitBinaryFloatFnCallHelper()
1825 CI->setCallingConv(F->getCallingConv()); in emitPutChar()
1843 CI->setCallingConv(F->getCallingConv()); in emitPutS()
1863 CI->setCallingConv(Fn->getCallingConv()); in emitFPutC()
1883 CI->setCallingConv(Fn->getCallingConv()); in emitFPutS()
1907 CI->setCallingConv(Fn->getCallingConv()); in emitFWrite()
1926 CI->setCallingConv(F->getCallingConv()); in emitMalloc()
[all …]
H A DLowerInvoke.cpp57 NewCall->setCallingConv(II->getCallingConv()); in runImpl()
H A DGuardUtils.cpp65 DeoptCall->setCallingConv(Guard->getCallingConv()); in makeGuardControlFlowExplicit()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMakeGuardsExplicit.cpp74 DeoptIntrinsic->setCallingConv(GuardDecl->getCallingConv()); in explicifyGuards()
H A DLowerGuardIntrinsic.cpp49 DeoptIntrinsic->setCallingConv(GuardDecl->getCallingConv()); in lowerGuardIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DJMCInstrumenter.cpp206 CheckFunc->setCallingConv(CallingConv::X86_FastCall); in runImpl()
233 CI->setCallingConv(CallingConv::X86_FastCall); in runImpl()
H A DDwarfEHPrepare.cpp260 CI->setCallingConv(RewindFunctionCallingConv); in InsertUnwindResumeCalls()
303 CI->setCallingConv(RewindFunctionCallingConv); in InsertUnwindResumeCalls()
H A DStackProtector.cpp629 Call->setCallingConv(GuardCheck->getCallingConv()); in CreateFailBB()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DM68k.cpp39 F->setCallingConv(llvm::CallingConv::M68k_INTR); in setTargetAttributes()
H A DMSP430.cpp86 F->setCallingConv(llvm::CallingConv::MSP430_INTR); in setTargetAttributes()
H A DAMDGPU.cpp606 F->setCallingConv(llvm::CallingConv::AMDGPU_KERNEL); in createEnqueuedBlockKernel()
628 call->setCallingConv(Invoke->getCallingConv()); in createEnqueuedBlockKernel()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroEarly.cpp51 CB.setCallingConv(CallingConv::Fast); in lowerResumeOrDestroy()
140 NoopFn->setCallingConv(CallingConv::Fast); in lowerCoroNoop()
H A DCoroSplit.cpp197 WrapperInvoke->setCallingConv(Invoke->getCallingConv()); in lowerAwaitSuspend()
230 ResumeCall->setCallingConv(CallingConv::Fast); in lowerAwaitSuspend()
860 CallerContext->setCallingConv(ProjectionFunc->getCallingConv()); in deriveNewFramePointer()
1084 NewF->setCallingConv(Shape.getResumeFunctionCC()); in create()
1674 TailCall->setCallingConv(MustTailCallFn->getCallingConv()); in createMustTailCall()
H A DCoroutines.cpp447 Call->setCallingConv(Callee->getCallingConv()); in propagateCallAttrsFromCallee()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp406 F->setCallingConv(CallingConv::ARM64EC_Thunk_Native); in buildExitThunk()
482 Call->setCallingConv(CallingConv::ARM64EC_Thunk_X64); in buildExitThunk()
519 Thunk->setCallingConv(CallingConv::ARM64EC_Thunk_X64); in buildEntryThunk()
658 GuardCheck->setCallingConv(CallingConv::CFGuard_Check); in buildGuestExitThunk()
717 Dispatch->setCallingConv(CallingConv::CFGuard_Check); in buildPatchableThunk()
774 GuardCheck->setCallingConv(CallingConv::CFGuard_Check); in lowerCall()
H A DSMEABIPass.cpp69 Call->setCallingConv( in emitTPIDR2Save()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCtorDtorLowering.cpp40 InitOrFiniKernel->setCallingConv(CallingConv::AMDGPU_KERNEL); in createInitOrFiniKernelFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp301 ->setCallingConv(CallingConv::X86_StdCall); in emitExceptionRegistrationRecord()
356 ->setCallingConv(CallingConv::X86_StdCall); in emitExceptionRegistrationRecord()
493 NewCall->setCallingConv(Call.getCallingConv()); in rewriteSetJmpCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp198 GuardCheck->setCallingConv(CallingConv::CFGuard_Check); in insertCFGuardCheck()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp423 OutF->setCallingConv(CallingConv::Cold); in extractColdRegion()
424 CI->setCallingConv(CallingConv::Cold); in extractColdRegion()
H A DDeadArgumentElimination.cpp213 NewCB->setCallingConv(CB->getCallingConv()); in deleteDeadVarargs()
951 NewCB->setCallingConv(CB.getCallingConv()); in removeDeadStuffFromFunction()
H A DGlobalOpt.cpp1668 cast<CallBase>(U)->setCallingConv(CallingConv::Fast); in ChangeCalleesToFastCall()
1777 cast<CallBase>(U)->setCallingConv(CallingConv::Cold); in changeCallSitesToColdCC()
2007 F.setCallingConv(CallingConv::Cold); in OptimizeFunctions()
2018 F.setCallingConv(CallingConv::Fast); in OptimizeFunctions()

123