Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / lib / Target / RISCV / MCTargetDesc / RISCVMCAsmInfo.h
blobbceeb1256471d9d24c6982b015198fbdc8bc1f03
1 //===-- RISCVMCAsmInfo.h - RISC-V 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 RISCVMCAsmInfo class.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCASMINFO_H
14 #define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVMCASMINFO_H
16 #include "llvm/MC/MCAsmInfoELF.h"
18 namespace llvm {
19 class Triple;
21 class RISCVMCAsmInfo : public MCAsmInfoELF {
22 void anchor() override;
24 public:
25 explicit RISCVMCAsmInfo(const Triple &TargetTriple);
27 const MCExpr *getExprForFDESymbol(const MCSymbol *Sym, unsigned Encoding,
28 MCStreamer &Streamer) const override;
31 } // namespace llvm
33 #endif