xref: /aosp_15_r20/external/llvm/lib/Target/SystemZ/SystemZCallingConv.cpp (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker //===-- SystemZCallingConv.cpp - Calling conventions for SystemZ ----------===//
2*9880d681SAndroid Build Coastguard Worker //
3*9880d681SAndroid Build Coastguard Worker //                     The LLVM Compiler Infrastructure
4*9880d681SAndroid Build Coastguard Worker //
5*9880d681SAndroid Build Coastguard Worker // This file is distributed under the University of Illinois Open Source
6*9880d681SAndroid Build Coastguard Worker // License. See LICENSE.TXT for details.
7*9880d681SAndroid Build Coastguard Worker //
8*9880d681SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===//
9*9880d681SAndroid Build Coastguard Worker 
10*9880d681SAndroid Build Coastguard Worker #include "SystemZCallingConv.h"
11*9880d681SAndroid Build Coastguard Worker #include "SystemZRegisterInfo.h"
12*9880d681SAndroid Build Coastguard Worker 
13*9880d681SAndroid Build Coastguard Worker using namespace llvm;
14*9880d681SAndroid Build Coastguard Worker 
15*9880d681SAndroid Build Coastguard Worker const MCPhysReg SystemZ::ArgGPRs[SystemZ::NumArgGPRs] = {
16*9880d681SAndroid Build Coastguard Worker   SystemZ::R2D, SystemZ::R3D, SystemZ::R4D, SystemZ::R5D, SystemZ::R6D
17*9880d681SAndroid Build Coastguard Worker };
18*9880d681SAndroid Build Coastguard Worker 
19*9880d681SAndroid Build Coastguard Worker const MCPhysReg SystemZ::ArgFPRs[SystemZ::NumArgFPRs] = {
20*9880d681SAndroid Build Coastguard Worker   SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D
21*9880d681SAndroid Build Coastguard Worker };
22