LLVM 20.0.0git
PPCCallingConv.h
Go to the documentation of this file.
1//=== PPCCallingConv.h - PPC Custom Calling Convention Routines -*- C++ -*-===//
2//
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
6//
7//===----------------------------------------------------------------------===//
8//
9// This file contains the custom routines for the PPC Calling Convention that
10// aren't done by tablegen.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_PPC_PPCCALLINGCONV_H
15#define LLVM_LIB_TARGET_PPC_PPCCALLINGCONV_H
16
18#include "llvm/IR/CallingConv.h"
19
20namespace llvm {
21
22bool RetCC_PPC(unsigned ValNo, MVT ValVT, MVT LocVT,
23 CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
24 CCState &State);
25bool RetCC_PPC64_ELF_FIS(unsigned ValNo, MVT ValVT, MVT LocVT,
26 CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
27 CCState &State);
28bool RetCC_PPC_Cold(unsigned ValNo, MVT ValVT, MVT LocVT,
29 CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
30 CCState &State);
31bool CC_PPC32_SVR4(unsigned ValNo, MVT ValVT, MVT LocVT,
32 CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
33 CCState &State);
34bool CC_PPC64_ELF(unsigned ValNo, MVT ValVT, MVT LocVT,
35 CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
36 CCState &State);
37bool CC_PPC64_ELF_FIS(unsigned ValNo, MVT ValVT, MVT LocVT,
38 CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
39 CCState &State);
40bool CC_PPC32_SVR4_ByVal(unsigned ValNo, MVT ValVT, MVT LocVT,
41 CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags,
42 CCState &State);
43bool CC_PPC32_SVR4_VarArg(unsigned ValNo, MVT ValVT, MVT LocVT,
45 ISD::ArgFlagsTy ArgFlags, CCState &State);
46
47} // End llvm namespace
48
49#endif
50
CCState - This class holds information needed while lowering arguments and return values.
Machine Value Type.
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
bool CC_PPC64_ELF_FIS(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State)
bool CC_PPC32_SVR4_ByVal(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State)
bool CC_PPC32_SVR4_VarArg(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State)
bool RetCC_PPC64_ELF_FIS(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State)
bool RetCC_PPC_Cold(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State)
bool CC_PPC32_SVR4(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State)
bool CC_PPC64_ELF(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State)
bool RetCC_PPC(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State)