[InstCombine] Signed saturation patterns
[llvm-complete.git] / lib / Target / RISCV / MCTargetDesc / RISCVELFStreamer.h
blob138df786eaf3f6380b87027b4f85fafbe33dc904
1 //===-- RISCVELFStreamer.h - RISCV ELF Target Streamer ---------*- 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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_RISCV_RISCVELFSTREAMER_H
10 #define LLVM_LIB_TARGET_RISCV_RISCVELFSTREAMER_H
12 #include "RISCVTargetStreamer.h"
13 #include "llvm/MC/MCELFStreamer.h"
15 namespace llvm {
17 class RISCVTargetELFStreamer : public RISCVTargetStreamer {
18 public:
19 MCELFStreamer &getStreamer();
20 RISCVTargetELFStreamer(MCStreamer &S, const MCSubtargetInfo &STI);
22 virtual void emitDirectiveOptionPush();
23 virtual void emitDirectiveOptionPop();
24 virtual void emitDirectiveOptionRVC();
25 virtual void emitDirectiveOptionNoRVC();
26 virtual void emitDirectiveOptionRelax();
27 virtual void emitDirectiveOptionNoRelax();
30 #endif