Ulrich Weigand | 5f613df | 2013-05-06 16:15:19 +0000 | [diff] [blame] | 1 | //===-- SystemZCallingConv.cpp - Calling conventions for SystemZ ----------===// |
| 2 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 3 | // 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 Weigand | 5f613df | 2013-05-06 16:15:19 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #include "SystemZCallingConv.h" |
| 10 | #include "SystemZRegisterInfo.h" |
| 11 | |
| 12 | using namespace llvm; |
| 13 | |
Ulrich Weigand | cfa1d2b | 2016-02-19 14:10:21 +0000 | [diff] [blame] | 14 | const MCPhysReg SystemZ::ArgGPRs[SystemZ::NumArgGPRs] = { |
Ulrich Weigand | 5f613df | 2013-05-06 16:15:19 +0000 | [diff] [blame] | 15 | SystemZ::R2D, SystemZ::R3D, SystemZ::R4D, SystemZ::R5D, SystemZ::R6D |
| 16 | }; |
| 17 | |
Ulrich Weigand | cfa1d2b | 2016-02-19 14:10:21 +0000 | [diff] [blame] | 18 | const MCPhysReg SystemZ::ArgFPRs[SystemZ::NumArgFPRs] = { |
Ulrich Weigand | 5f613df | 2013-05-06 16:15:19 +0000 | [diff] [blame] | 19 | SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D |
| 20 | }; |