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