Deleted Added
full compact
X86CallingConv.td (249423) X86CallingConv.td (256030)
1//===-- X86CallingConv.td - Calling Conventions X86 32/64 --*- tablegen -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 142 unchanged lines hidden (view full) ---

151 // Otherwise, use RetCC_X86_32_C.
152 CCDelegateTo<RetCC_X86_32_C>
153]>;
154
155// This is the root return-value convention for the X86-64 backend.
156def RetCC_X86_64 : CallingConv<[
157 // HiPE uses RetCC_X86_64_HiPE
158 CCIfCC<"CallingConv::HiPE", CCDelegateTo<RetCC_X86_64_HiPE>>,
1//===-- X86CallingConv.td - Calling Conventions X86 32/64 --*- tablegen -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 142 unchanged lines hidden (view full) ---

151 // Otherwise, use RetCC_X86_32_C.
152 CCDelegateTo<RetCC_X86_32_C>
153]>;
154
155// This is the root return-value convention for the X86-64 backend.
156def RetCC_X86_64 : CallingConv<[
157 // HiPE uses RetCC_X86_64_HiPE
158 CCIfCC<"CallingConv::HiPE", CCDelegateTo<RetCC_X86_64_HiPE>>,
159
160 // Handle explicit CC selection
161 CCIfCC<"CallingConv::X86_64_Win64", CCDelegateTo<RetCC_X86_Win64_C>>,
162 CCIfCC<"CallingConv::X86_64_SysV", CCDelegateTo<RetCC_X86_64_C>>,
163
159 // Mingw64 and native Win64 use Win64 CC
160 CCIfSubtarget<"isTargetWin64()", CCDelegateTo<RetCC_X86_Win64_C>>,
161
162 // Otherwise, drop to normal X86-64 CC
163 CCDelegateTo<RetCC_X86_64_C>
164]>;
165
166// This is the return-value convention used for the entire X86 backend.

--- 317 unchanged lines hidden (view full) ---

484 // Otherwise, drop to normal X86-32 CC
485 CCDelegateTo<CC_X86_32_C>
486]>;
487
488// This is the root argument convention for the X86-64 backend.
489def CC_X86_64 : CallingConv<[
490 CCIfCC<"CallingConv::GHC", CCDelegateTo<CC_X86_64_GHC>>,
491 CCIfCC<"CallingConv::HiPE", CCDelegateTo<CC_X86_64_HiPE>>,
164 // Mingw64 and native Win64 use Win64 CC
165 CCIfSubtarget<"isTargetWin64()", CCDelegateTo<RetCC_X86_Win64_C>>,
166
167 // Otherwise, drop to normal X86-64 CC
168 CCDelegateTo<RetCC_X86_64_C>
169]>;
170
171// This is the return-value convention used for the entire X86 backend.

--- 317 unchanged lines hidden (view full) ---

489 // Otherwise, drop to normal X86-32 CC
490 CCDelegateTo<CC_X86_32_C>
491]>;
492
493// This is the root argument convention for the X86-64 backend.
494def CC_X86_64 : CallingConv<[
495 CCIfCC<"CallingConv::GHC", CCDelegateTo<CC_X86_64_GHC>>,
496 CCIfCC<"CallingConv::HiPE", CCDelegateTo<CC_X86_64_HiPE>>,
497 CCIfCC<"CallingConv::X86_64_Win64", CCDelegateTo<CC_X86_Win64_C>>,
498 CCIfCC<"CallingConv::X86_64_SysV", CCDelegateTo<CC_X86_64_C>>,
492
493 // Mingw64 and native Win64 use Win64 CC
494 CCIfSubtarget<"isTargetWin64()", CCDelegateTo<CC_X86_Win64_C>>,
495
496 // Otherwise, drop to normal X86-64 CC
497 CCDelegateTo<CC_X86_64_C>
498]>;
499

--- 38 unchanged lines hidden ---
499
500 // Mingw64 and native Win64 use Win64 CC
501 CCIfSubtarget<"isTargetWin64()", CCDelegateTo<CC_X86_Win64_C>>,
502
503 // Otherwise, drop to normal X86-64 CC
504 CCDelegateTo<CC_X86_64_C>
505]>;
506

--- 38 unchanged lines hidden ---