Path: blob/main/contrib/llvm-project/llvm/lib/Target/SystemZ/SystemZCallingConv.cpp
35269 views
//===-- SystemZCallingConv.cpp - Calling conventions for SystemZ ----------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#include "SystemZCallingConv.h"9#include "SystemZRegisterInfo.h"1011using namespace llvm;1213const MCPhysReg SystemZ::ELFArgGPRs[SystemZ::ELFNumArgGPRs] = {14SystemZ::R2D, SystemZ::R3D, SystemZ::R4D, SystemZ::R5D, SystemZ::R6D15};1617const MCPhysReg SystemZ::ELFArgFPRs[SystemZ::ELFNumArgFPRs] = {18SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D19};2021// The XPLINK64 ABI-defined param passing general purpose registers22const MCPhysReg SystemZ::XPLINK64ArgGPRs[SystemZ::XPLINK64NumArgGPRs] = {23SystemZ::R1D, SystemZ::R2D, SystemZ::R3D24};2526// The XPLINK64 ABI-defined param passing floating point registers27const MCPhysReg SystemZ::XPLINK64ArgFPRs[SystemZ::XPLINK64NumArgFPRs] = {28SystemZ::F0D, SystemZ::F2D, SystemZ::F4D, SystemZ::F6D29};303132