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