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 14 const MCPhysReg SystemZ::ArgGPRs[SystemZ::NumArgGPRs] = { 15 SystemZ::R2D, SystemZ::R3D, SystemZ::R4D, SystemZ::R5D, SystemZ::R6D 16 }; 17 18 const MCPhysReg SystemZ::ArgFPRs[SystemZ::NumArgFPRs] = { 19 SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D 20 }; 21