package llvm

  1. Overview
  2. Docs

The following calling convention values may be accessed with function_call_conv and set_function_call_conv. Calling conventions are open-ended.

val c : int

c is the C calling convention.

val fast : int

c is the C calling convention.

fast is the calling convention to allow LLVM maximum optimization opportunities. Use only with internal linkage.

val cold : int

fast is the calling convention to allow LLVM maximum optimization opportunities. Use only with internal linkage.

cold is the calling convention for callee-save.

val x86_stdcall : int

cold is the calling convention for callee-save.

x86_stdcall is the familiar stdcall calling convention from C.

val x86_fastcall : int

x86_stdcall is the familiar stdcall calling convention from C.

x86_fastcall is the familiar fastcall calling convention from C.

OCaml

Innovation. Community. Security.