LLVM
22.0.0git
lib
Target
SystemZ
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
11
using namespace
llvm
;
12
13
const
MCPhysReg
SystemZ::ELFArgGPRs
[
SystemZ::ELFNumArgGPRs
] = {
14
SystemZ::R2D, SystemZ::R3D, SystemZ::R4D, SystemZ::R5D, SystemZ::R6D
15
};
16
17
const
MCPhysReg
SystemZ::ELFArgFPRs
[
SystemZ::ELFNumArgFPRs
] = {
18
SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D
19
};
20
21
// The XPLINK64 ABI-defined param passing general purpose registers
22
const
MCPhysReg
SystemZ::XPLINK64ArgGPRs
[
SystemZ::XPLINK64NumArgGPRs
] = {
23
SystemZ::R1D, SystemZ::R2D, SystemZ::R3D
24
};
25
26
// The XPLINK64 ABI-defined param passing floating point registers
27
const
MCPhysReg
SystemZ::XPLINK64ArgFPRs
[
SystemZ::XPLINK64NumArgFPRs
] = {
28
SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D
29
};
SystemZCallingConv.h
llvm::SystemZ::XPLINK64ArgFPRs
const MCPhysReg XPLINK64ArgFPRs[XPLINK64NumArgFPRs]
Definition
SystemZCallingConv.cpp:27
llvm::SystemZ::ELFArgFPRs
const MCPhysReg ELFArgFPRs[ELFNumArgFPRs]
Definition
SystemZCallingConv.cpp:17
llvm::SystemZ::XPLINK64NumArgFPRs
const unsigned XPLINK64NumArgFPRs
Definition
SystemZCallingConv.h:28
llvm::SystemZ::XPLINK64NumArgGPRs
const unsigned XPLINK64NumArgGPRs
Definition
SystemZCallingConv.h:25
llvm::SystemZ::ELFArgGPRs
const MCPhysReg ELFArgGPRs[ELFNumArgGPRs]
Definition
SystemZCallingConv.cpp:13
llvm::SystemZ::ELFNumArgGPRs
const unsigned ELFNumArgGPRs
Definition
SystemZCallingConv.h:19
llvm::SystemZ::ELFNumArgFPRs
const unsigned ELFNumArgFPRs
Definition
SystemZCallingConv.h:22
llvm::SystemZ::XPLINK64ArgGPRs
const MCPhysReg XPLINK64ArgGPRs[XPLINK64NumArgGPRs]
Definition
SystemZCallingConv.cpp:22
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
AddressRanges.h:18
llvm::MCPhysReg
uint16_t MCPhysReg
An unsigned integer type large enough to represent all physical registers, but not necessarily virtua...
Definition
MCRegister.h:21
Generated on
for LLVM by
1.14.0