LLVM  15.0.0git
SystemZCallingConv.cpp
Go to the documentation of this file.
1 //===-- SystemZCallingConv.cpp - Calling conventions for SystemZ ----------===//
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 #include "SystemZCallingConv.h"
10 #include "SystemZRegisterInfo.h"
11 
12 using namespace llvm;
13 
15  SystemZ::R2D, SystemZ::R3D, SystemZ::R4D, SystemZ::R5D, SystemZ::R6D
16 };
17 
19  SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D
20 };
21 
22 // The XPLINK64 ABI-defined param passing general purpose registers
24  SystemZ::R1D, SystemZ::R2D, SystemZ::R3D
25 };
26 
27 // The XPLINK64 ABI-defined param passing floating point registers
29  SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D
30 };
31 
33  SystemZ::V24, SystemZ::V25, SystemZ::V26, SystemZ::V27,
34  SystemZ::V28, SystemZ::V29, SystemZ::V30, SystemZ::V31};
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:17
llvm::SystemZ::XPLINK64NumArgVRs
const unsigned XPLINK64NumArgVRs
Definition: SystemZCallingConv.h:31
SystemZCallingConv.h
llvm::SystemZ::XPLINK64ArgVRs
const MCPhysReg XPLINK64ArgVRs[XPLINK64NumArgVRs]
Definition: SystemZCallingConv.cpp:32
llvm::SystemZ::XPLINK64ArgGPRs
const MCPhysReg XPLINK64ArgGPRs[XPLINK64NumArgGPRs]
Definition: SystemZCallingConv.cpp:23
llvm::SystemZ::XPLINK64ArgFPRs
const MCPhysReg XPLINK64ArgFPRs[XPLINK64NumArgFPRs]
Definition: SystemZCallingConv.cpp:28
llvm::SystemZ::ELFArgFPRs
const MCPhysReg ELFArgFPRs[ELFNumArgFPRs]
Definition: SystemZCallingConv.cpp:18
llvm::SystemZ::XPLINK64NumArgFPRs
const unsigned XPLINK64NumArgFPRs
Definition: SystemZCallingConv.h:28
llvm::SystemZ::ELFArgGPRs
const MCPhysReg ELFArgGPRs[ELFNumArgGPRs]
Definition: SystemZCallingConv.cpp:14
llvm::SystemZ::XPLINK64NumArgGPRs
const unsigned XPLINK64NumArgGPRs
Definition: SystemZCallingConv.h:25
llvm::SystemZ::ELFNumArgFPRs
const unsigned ELFNumArgFPRs
Definition: SystemZCallingConv.h:22
uint16_t
SystemZRegisterInfo.h
llvm::SystemZ::ELFNumArgGPRs
const unsigned ELFNumArgGPRs
Definition: SystemZCallingConv.h:19