1 //===-- MipsMCAsmInfo.h - Mips 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 MipsMCAsmInfo class. 10 // 11 //===----------------------------------------------------------------------===// 12 13 #ifndef LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSMCASMINFO_H 14 #define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSMCASMINFO_H 15 16 #include "llvm/MC/MCAsmInfoCOFF.h" 17 #include "llvm/MC/MCAsmInfoELF.h" 18 19 namespace llvm { 20 class Triple; 21 22 class MipsELFMCAsmInfo : public MCAsmInfoELF { 23 void anchor() override; 24 25 public: 26 explicit MipsELFMCAsmInfo(const Triple &TheTriple, 27 const MCTargetOptions &Options); 28 }; 29 30 class MipsCOFFMCAsmInfo : public MCAsmInfoGNUCOFF { 31 void anchor() override; 32 33 public: 34 explicit MipsCOFFMCAsmInfo(); 35 }; 36 37 } // namespace llvm 38 39 #endif 40