]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/llvm/lib/Target/SystemZ/SystemZCallingConv.cpp
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / llvm / lib / Target / SystemZ / SystemZCallingConv.cpp
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 unsigned SystemZ::ArgGPRs[SystemZ::NumArgGPRs] = {
16   SystemZ::R2D, SystemZ::R3D, SystemZ::R4D, SystemZ::R5D, SystemZ::R6D
17 };
18
19 const unsigned SystemZ::ArgFPRs[SystemZ::NumArgFPRs] = {
20   SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D
21 };