Juergen Ributzka | 9969d3e | 2013-11-08 23:28:16 +0000 | [diff] [blame] | 1 | //=== X86CallingConv.h - X86 Custom Calling Convention Routines -*- C++ -*-===// |
| 2 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
Juergen Ributzka | 9969d3e | 2013-11-08 23:28:16 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
| 9 | // This file contains the custom routines for the X86 Calling Convention that |
| 10 | // aren't done by tablegen. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
Benjamin Kramer | a7c40ef | 2014-08-13 16:26:38 +0000 | [diff] [blame] | 14 | #ifndef LLVM_LIB_TARGET_X86_X86CALLINGCONV_H |
| 15 | #define LLVM_LIB_TARGET_X86_X86CALLINGCONV_H |
Juergen Ributzka | 9969d3e | 2013-11-08 23:28:16 +0000 | [diff] [blame] | 16 | |
Michael Kuperstein | 2ea81ba | 2015-12-28 14:39:21 +0000 | [diff] [blame] | 17 | #include "MCTargetDesc/X86MCTargetDesc.h" |
Juergen Ributzka | 9969d3e | 2013-11-08 23:28:16 +0000 | [diff] [blame] | 18 | #include "llvm/CodeGen/CallingConvLower.h" |
| 19 | #include "llvm/IR/CallingConv.h" |
| 20 | |
| 21 | namespace llvm { |
| 22 | |
Reid Kleckner | 38f9900 | 2019-01-19 00:33:02 +0000 | [diff] [blame] | 23 | bool RetCC_X86(unsigned ValNo, MVT ValVT, MVT LocVT, |
| 24 | CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, |
| 25 | CCState &State); |
Oren Ben Simhon | 489d6ef | 2016-11-17 09:59:40 +0000 | [diff] [blame] | 26 | |
Reid Kleckner | 38f9900 | 2019-01-19 00:33:02 +0000 | [diff] [blame] | 27 | bool CC_X86(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, |
| 28 | ISD::ArgFlagsTy ArgFlags, CCState &State); |
Michael Kuperstein | 2ea81ba | 2015-12-28 14:39:21 +0000 | [diff] [blame] | 29 | |
Alexander Kornienko | f00654e | 2015-06-23 09:49:53 +0000 | [diff] [blame] | 30 | } // End llvm namespace |
Juergen Ributzka | 9969d3e | 2013-11-08 23:28:16 +0000 | [diff] [blame] | 31 | |
| 32 | #endif |
| 33 | |