1 //===-- HexagonTargetStreamer.h - Hexagon Target Streamer ------*- C++ -*--===//
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 #ifndef HEXAGONTARGETSTREAMER_H
11 #define HEXAGONTARGETSTREAMER_H
12 
13 #include "llvm/MC/MCStreamer.h"
14 
15 namespace llvm {
16 class HexagonTargetStreamer : public MCTargetStreamer {
17 public:
HexagonTargetStreamer(MCStreamer & S)18   HexagonTargetStreamer(MCStreamer &S) : MCTargetStreamer(S) {}
19   virtual void EmitCodeAlignment(unsigned ByteAlignment,
20                                  unsigned MaxBytesToEmit = 0){};
emitFAlign(unsigned Size,unsigned MaxBytesToEmit)21   virtual void emitFAlign(unsigned Size, unsigned MaxBytesToEmit){};
EmitCommonSymbolSorted(MCSymbol * Symbol,uint64_t Size,unsigned ByteAlignment,unsigned AccessGranularity)22   virtual void EmitCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
23                                       unsigned ByteAlignment,
24                                       unsigned AccessGranularity){};
EmitLocalCommonSymbolSorted(MCSymbol * Symbol,uint64_t Size,unsigned ByteAlign,unsigned AccessGranularity)25   virtual void EmitLocalCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size,
26                                            unsigned ByteAlign,
27                                            unsigned AccessGranularity){};
28 };
29 }
30 
31 #endif
32