brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 4a9d9c1 Raw
30 lines · cpp
1//===-- SystemZCallingConv.cpp - Calling conventions for SystemZ ----------===//2//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-exception6//7//===----------------------------------------------------------------------===//8 9#include "SystemZCallingConv.h"10 11using namespace llvm;12 13const MCPhysReg SystemZ::ELFArgGPRs[SystemZ::ELFNumArgGPRs] = {14  SystemZ::R2D, SystemZ::R3D, SystemZ::R4D, SystemZ::R5D, SystemZ::R6D15};16 17const MCPhysReg SystemZ::ELFArgFPRs[SystemZ::ELFNumArgFPRs] = {18  SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D19};20 21// The XPLINK64 ABI-defined param passing general purpose registers22const MCPhysReg SystemZ::XPLINK64ArgGPRs[SystemZ::XPLINK64NumArgGPRs] = {23    SystemZ::R1D, SystemZ::R2D, SystemZ::R3D24};25 26// The XPLINK64 ABI-defined param passing floating point registers27const MCPhysReg SystemZ::XPLINK64ArgFPRs[SystemZ::XPLINK64NumArgFPRs] = {28    SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D29};30