[Codegen] Alter the default promotion for saturating adds and subs
[llvm-complete.git] / lib / Target / RISCV / MCTargetDesc / RISCVMCAsmInfo.h
blob6824baf699aaf47a08e794f97850f6b482d78550
1 //===-- RISCVMCAsmInfo.h - RISCV 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