blob: cc9c84b6a058deeace6a69ccf3fbb4ae7ff8e092 [file] [log] [blame]
Ulrich Weigand5f613df2013-05-06 16:15:19 +00001//===-- 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
13using namespace llvm;
14
15const unsigned SystemZ::ArgGPRs[SystemZ::NumArgGPRs] = {
16 SystemZ::R2D, SystemZ::R3D, SystemZ::R4D, SystemZ::R5D, SystemZ::R6D
17};
18
19const unsigned SystemZ::ArgFPRs[SystemZ::NumArgFPRs] = {
20 SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D
21};