14 #ifndef LLVM_IR_CALLINGCONV_H
15 #define LLVM_IR_CALLINGCONV_H
22 namespace CallingConv {
The highest possible calling convention ID. Must be some 2^k - 1.
SPIR_FUNC - Calling convention for SPIR non-kernel device functions.
Intel_OCL_BI - Calling conventions for Intel OpenCL built-ins.
ARM_APCS - ARM Procedure Calling Standard calling convention (obsolete, but still used on some target...
MSP430_INTR - Calling convention used for MSP430 interrupt routines.
Calling convention used for Mesa vertex shaders.
Calling convention used by HipHop Virtual Machine (HHVM) to perform calls to and from translation cac...
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
X86_INTR - x86 hardware interrupt context.
PTX_Kernel - Call to a PTX kernel.
Register calling convention used for parameters transfer optimization.
X86_ThisCall - Similar to X86_StdCall.
X86_FastCall - 'fast' analog of X86_StdCall.
Calling convention used for special AVR rtlib functions which have an "optimized" convention to prese...
Calling convention for AMDGPU code object kernels.
C - The default llvm calling convention, compatible with C.
X86_StdCall - stdcall is the calling conventions mostly used by the Win32 API.
Used for AVR interrupt routines.
MSVC calling convention that passes vectors and vector aggregates in SSE registers.
Calling convention used for Mesa pixel shaders.
Calling convention used for Mesa geometry shaders.
PTX_Device - Call to a PTX device function.
HHVM calling convention for invoking C/C++ helpers.
The C convention as specified in the x86-64 supplement to the System V ABI, used on most non-Windows ...
SPIR_KERNEL - Calling convention for SPIR kernel functions.
The C convention as implemented on Windows/x86-64.
Calling convention used for Mesa compute shaders.
Calling convention used for AVR signal routines.
ARM_AAPCS - ARM Architecture Procedure Calling Standard calling convention (aka EABI).
Fast - This calling convention attempts to make calls as fast as possible (e.g.
ARM_AAPCS_VFP - Same as ARM_AAPCS, but uses hard floating point ABI.