[LoongArch] Use `end namespace xxx` style comment. NFC
[llvm-project.git] / llvm / lib / Target / LoongArch / LoongArch.h
blobe6c9c24dd1b2942f4c6cc8f1481669cf9d47bee8
1 //===-- LoongArch.h - Top-level interface for LoongArch ---------*- 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 // This file contains the entry points for global functions defined in the LLVM
10 // LoongArch back-end.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_LOONGARCH_LOONGARCH_H
15 #define LLVM_LIB_TARGET_LOONGARCH_LOONGARCH_H
17 #include "MCTargetDesc/LoongArchBaseInfo.h"
18 #include "llvm/Target/TargetMachine.h"
20 namespace llvm {
21 class LoongArchTargetMachine;
22 class AsmPrinter;
23 class FunctionPass;
24 class MCInst;
25 class MCOperand;
26 class MachineInstr;
27 class MachineOperand;
29 bool lowerLoongArchMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
30 AsmPrinter &AP);
31 bool lowerLoongArchMachineOperandToMCOperand(const MachineOperand &MO,
32 MCOperand &MCOp,
33 const AsmPrinter &AP);
35 FunctionPass *createLoongArchISelDag(LoongArchTargetMachine &TM);
36 } // end namespace llvm
38 #endif // LLVM_LIB_TARGET_LOONGARCH_LOONGARCH_H