xref: /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCAsmInfo.h (revision d9a42747950146bf03cda7f6e25d219253f8a57a)
1 //===-- LoongArchMCAsmInfo.h - LoongArch Asm Info --------------*- 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 declaration of the LoongArchMCAsmInfo class.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_LIB_TARGET_LOONGARCH_MCTARGETDESC_LOONGARCHMCASMINFO_H
14 #define LLVM_LIB_TARGET_LOONGARCH_MCTARGETDESC_LOONGARCHMCASMINFO_H
15 
16 #include "llvm/MC/MCAsmInfoELF.h"
17 
18 namespace llvm {
19 class Triple;
20 
21 class LoongArchMCAsmInfo : public MCAsmInfoELF {
22   void anchor() override;
23 
24 public:
25   explicit LoongArchMCAsmInfo(const Triple &TargetTriple);
26 };
27 
28 } // end namespace llvm
29 
30 #endif // LLVM_LIB_TARGET_LOONGARCH_MCTARGETDESC_LOONGARCHMCASMINFO_H
31