blob: 72da51f74b104d6ddedd8352d7afe462497bb405 [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
Ulrich Weigandcfa1d2b2016-02-19 14:10:21 +000015const MCPhysReg SystemZ::ArgGPRs[SystemZ::NumArgGPRs] = {
Ulrich Weigand5f613df2013-05-06 16:15:19 +000016 SystemZ::R2D, SystemZ::R3D, SystemZ::R4D, SystemZ::R5D, SystemZ::R6D
17};
18
Ulrich Weigandcfa1d2b2016-02-19 14:10:21 +000019const MCPhysReg SystemZ::ArgFPRs[SystemZ::NumArgFPRs] = {
Ulrich Weigand5f613df2013-05-06 16:15:19 +000020 SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D
21};