Path: blob/main/contrib/llvm-project/llvm/lib/Target/Mips/MipsCallLowering.h
35268 views
//===- MipsCallLowering.h ---------------------------------------*- C++ -*-===//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//===----------------------------------------------------------------------===//7//8/// \file9/// This file describes how to lower LLVM calls to machine code calls.10//11//===----------------------------------------------------------------------===//1213#ifndef LLVM_LIB_TARGET_MIPS_MIPSCALLLOWERING_H14#define LLVM_LIB_TARGET_MIPS_MIPSCALLLOWERING_H1516#include "llvm/CodeGen/GlobalISel/CallLowering.h"1718namespace llvm {1920class MipsTargetLowering;2122class MipsCallLowering : public CallLowering {23public:24MipsCallLowering(const MipsTargetLowering &TLI);2526bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val,27ArrayRef<Register> VRegs,28FunctionLoweringInfo &FLI) const override;2930bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,31ArrayRef<ArrayRef<Register>> VRegs,32FunctionLoweringInfo &FLI) const override;3334bool lowerCall(MachineIRBuilder &MIRBuilder,35CallLoweringInfo &Info) const override;36};3738} // end namespace llvm3940#endif // LLVM_LIB_TARGET_MIPS_MIPSCALLLOWERING_H414243