LLVM  10.0.0svn
RISCVTargetStreamer.h
Go to the documentation of this file.
1 //===-- RISCVTargetStreamer.h - RISCV 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 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_LIB_TARGET_RISCV_RISCVTARGETSTREAMER_H
10 #define LLVM_LIB_TARGET_RISCV_RISCVTARGETSTREAMER_H
11 
12 #include "llvm/MC/MCStreamer.h"
13 
14 namespace llvm {
15 
17 public:
19 
20  virtual void emitDirectiveOptionPush() = 0;
21  virtual void emitDirectiveOptionPop() = 0;
22  virtual void emitDirectiveOptionRVC() = 0;
23  virtual void emitDirectiveOptionNoRVC() = 0;
24  virtual void emitDirectiveOptionRelax() = 0;
25  virtual void emitDirectiveOptionNoRelax() = 0;
26 };
27 
28 // This part is for ascii assembly output
31 
32 public:
34 
35  void emitDirectiveOptionPush() override;
36  void emitDirectiveOptionPop() override;
37  void emitDirectiveOptionRVC() override;
38  void emitDirectiveOptionNoRVC() override;
39  void emitDirectiveOptionRelax() override;
40  void emitDirectiveOptionNoRelax() override;
41 };
42 
43 }
44 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:23
formatted_raw_ostream - A raw_ostream that wraps another one and keeps track of line and column posit...
virtual void emitDirectiveOptionRelax()=0
Target specific streamer interface.
Definition: MCStreamer.h:91
virtual void emitDirectiveOptionPop()=0
Streaming machine code generation interface.
Definition: MCStreamer.h:196
virtual void emitDirectiveOptionPush()=0
virtual void emitDirectiveOptionRVC()=0
virtual void emitDirectiveOptionNoRelax()=0
virtual void emitDirectiveOptionNoRVC()=0