1 //=== ARMCallingConv.h - ARM Custom Calling Convention Routines -*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This file declares the entry points for ARM calling convention analysis.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_ARM_ARMCALLINGCONV_H
14 #define LLVM_LIB_TARGET_ARM_ARMCALLINGCONV_H
16 #include "llvm/CodeGen/CallingConvLower.h"
20 bool CC_ARM_AAPCS(unsigned ValNo
, MVT ValVT
, MVT LocVT
,
21 CCValAssign::LocInfo LocInfo
, ISD::ArgFlagsTy ArgFlags
,
23 bool CC_ARM_AAPCS_VFP(unsigned ValNo
, MVT ValVT
, MVT LocVT
,
24 CCValAssign::LocInfo LocInfo
, ISD::ArgFlagsTy ArgFlags
,
26 bool CC_ARM_APCS(unsigned ValNo
, MVT ValVT
, MVT LocVT
,
27 CCValAssign::LocInfo LocInfo
, ISD::ArgFlagsTy ArgFlags
,
29 bool CC_ARM_APCS_GHC(unsigned ValNo
, MVT ValVT
, MVT LocVT
,
30 CCValAssign::LocInfo LocInfo
, ISD::ArgFlagsTy ArgFlags
,
32 bool FastCC_ARM_APCS(unsigned ValNo
, MVT ValVT
, MVT LocVT
,
33 CCValAssign::LocInfo LocInfo
, ISD::ArgFlagsTy ArgFlags
,
35 bool RetCC_ARM_AAPCS(unsigned ValNo
, MVT ValVT
, MVT LocVT
,
36 CCValAssign::LocInfo LocInfo
, ISD::ArgFlagsTy ArgFlags
,
38 bool RetCC_ARM_AAPCS_VFP(unsigned ValNo
, MVT ValVT
, MVT LocVT
,
39 CCValAssign::LocInfo LocInfo
, ISD::ArgFlagsTy ArgFlags
,
41 bool RetCC_ARM_APCS(unsigned ValNo
, MVT ValVT
, MVT LocVT
,
42 CCValAssign::LocInfo LocInfo
, ISD::ArgFlagsTy ArgFlags
,
44 bool RetFastCC_ARM_APCS(unsigned ValNo
, MVT ValVT
, MVT LocVT
,
45 CCValAssign::LocInfo LocInfo
, ISD::ArgFlagsTy ArgFlags
,