Alex Bradbury | 6b2cca7 | 2016-11-01 23:47:30 +0000 | [diff] [blame] | 1 | //===-- RISCVMCAsmInfo.h - RISCV Asm Info ----------------------*- C++ -*--===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file contains the declaration of the RISCVMCAsmInfo class. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCASMINFO_H |
| 15 | #define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCASMINFO_H |
| 16 | |
| 17 | #include "llvm/MC/MCAsmInfoELF.h" |
| 18 | |
| 19 | namespace llvm { |
| 20 | class Triple; |
| 21 | |
| 22 | class RISCVMCAsmInfo : public MCAsmInfoELF { |
| 23 | void anchor() override; |
| 24 | |
| 25 | public: |
| 26 | explicit RISCVMCAsmInfo(const Triple &TargetTriple); |
| 27 | }; |
| 28 | |
| 29 | } // namespace llvm |
| 30 | |
| 31 | #endif |