[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / lib / Target / Mips / MipsCallLowering.h
blob1d1406da320136553bcdd814dc2a533aade097d4
1 //===- MipsCallLowering.h ---------------------------------------*- C++ -*-===//
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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 /// \file
10 /// This file describes how to lower LLVM calls to machine code calls.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_MIPS_MIPSCALLLOWERING_H
15 #define LLVM_LIB_TARGET_MIPS_MIPSCALLLOWERING_H
17 #include "llvm/CodeGen/GlobalISel/CallLowering.h"
19 namespace llvm {
21 class MachineMemOperand;
22 class MipsTargetLowering;
24 class MipsCallLowering : public CallLowering {
25 public:
26 MipsCallLowering(const MipsTargetLowering &TLI);
28 bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val,
29 ArrayRef<Register> VRegs,
30 FunctionLoweringInfo &FLI) const override;
32 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
33 ArrayRef<ArrayRef<Register>> VRegs,
34 FunctionLoweringInfo &FLI) const override;
36 bool lowerCall(MachineIRBuilder &MIRBuilder,
37 CallLoweringInfo &Info) const override;
40 } // end namespace llvm
42 #endif // LLVM_LIB_TARGET_MIPS_MIPSCALLLOWERING_H