LLVM  8.0.1
RISCVTargetStreamer.cpp
Go to the documentation of this file.
1 //===-- RISCVTargetStreamer.cpp - RISCV Target Streamer Methods -----------===//
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 provides RISCV specific target streamer methods.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #include "RISCVTargetStreamer.h"
16 
17 using namespace llvm;
18 
20 
21 // This part is for ascii assembly output
24  : RISCVTargetStreamer(S), OS(OS) {}
25 
27  OS << "\t.option\tpush\n";
28 }
29 
31  OS << "\t.option\tpop\n";
32 }
33 
35  OS << "\t.option\trvc\n";
36 }
37 
39  OS << "\t.option\tnorvc\n";
40 }
41 
43  OS << "\t.option\trelax\n";
44 }
45 
47  OS << "\t.option\tnorelax\n";
48 }
This class represents lattice values for constants.
Definition: AllocatorList.h:24
formatted_raw_ostream - A raw_ostream that wraps another one and keeps track of line and column posit...
Target specific streamer interface.
Definition: MCStreamer.h:84
RISCVTargetAsmStreamer(MCStreamer &S, formatted_raw_ostream &OS)
Streaming machine code generation interface.
Definition: MCStreamer.h:189