blob: 91c7fae17a75a617ce8430cfc09e8eef9da470d5 [file] [log] [blame]
Ulrich Weigand5f613df2013-05-06 16:15:19 +00001//===-- SystemZCallingConv.cpp - Calling conventions for SystemZ ----------===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Ulrich Weigand5f613df2013-05-06 16:15:19 +00006//
7//===----------------------------------------------------------------------===//
8
9#include "SystemZCallingConv.h"
10#include "SystemZRegisterInfo.h"
11
12using namespace llvm;
13
Ulrich Weigandcfa1d2b2016-02-19 14:10:21 +000014const MCPhysReg SystemZ::ArgGPRs[SystemZ::NumArgGPRs] = {
Ulrich Weigand5f613df2013-05-06 16:15:19 +000015 SystemZ::R2D, SystemZ::R3D, SystemZ::R4D, SystemZ::R5D, SystemZ::R6D
16};
17
Ulrich Weigandcfa1d2b2016-02-19 14:10:21 +000018const MCPhysReg SystemZ::ArgFPRs[SystemZ::NumArgFPRs] = {
Ulrich Weigand5f613df2013-05-06 16:15:19 +000019 SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D
20};