diff options
author | Charles Davis <cdavis5x@gmail.com> | 2013-07-12 06:02:35 +0000 |
---|---|---|
committer | Charles Davis <cdavis5x@gmail.com> | 2013-07-12 06:02:35 +0000 |
commit | e8f297ca9494b5cc99628b779b7959b2b84def1d (patch) | |
tree | 4d59098084ac18e62462041cf37f6935dd755269 /llvm/lib/AsmParser/LLToken.h | |
parent | aaaec3db98f4a7b96c20d1b8ffeb80a5cb924127 (diff) | |
download | bcm5719-llvm-e8f297ca9494b5cc99628b779b7959b2b84def1d.tar.gz bcm5719-llvm-e8f297ca9494b5cc99628b779b7959b2b84def1d.zip |
Target/X86: Add explicit Win64 and System V/x86-64 calling conventions.
Summary:
This patch adds explicit calling convention types for the Win64 and
System V/x86-64 ABIs. This allows code to override the default, and use
the Win64 convention on a target that wants to use SysV (and
vice-versa). This is needed to implement the `ms_abi` and `sysv_abi` GNU
attributes.
Reviewers:
CC:
llvm-svn: 186144
Diffstat (limited to 'llvm/lib/AsmParser/LLToken.h')
-rw-r--r-- | llvm/lib/AsmParser/LLToken.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLToken.h b/llvm/lib/AsmParser/LLToken.h index bbe6de0c851..9cf4c2c42c1 100644 --- a/llvm/lib/AsmParser/LLToken.h +++ b/llvm/lib/AsmParser/LLToken.h @@ -84,12 +84,13 @@ namespace lltok { kw_c, kw_cc, kw_ccc, kw_fastcc, kw_coldcc, - kw_intel_ocl_bicc, + kw_intel_ocl_bicc, kw_x86_stdcallcc, kw_x86_fastcallcc, kw_x86_thiscallcc, kw_arm_apcscc, kw_arm_aapcscc, kw_arm_aapcs_vfpcc, kw_msp430_intrcc, kw_ptx_kernel, kw_ptx_device, kw_spir_kernel, kw_spir_func, + kw_x86_64_sysvcc, kw_x86_64_win64cc, // Attributes: kw_attributes, |