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: 18 HexagonTargetStreamer(MCStreamer &S) : MCTargetStreamer(S) {} 19 virtual void EmitCodeAlignment(unsigned ByteAlignment, 20 unsigned MaxBytesToEmit = 0){}; 21 virtual void emitFAlign(unsigned Size, unsigned MaxBytesToEmit){}; 22 virtual void EmitCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size, 23 unsigned ByteAlignment, 24 unsigned AccessGranularity){}; 25 virtual void EmitLocalCommonSymbolSorted(MCSymbol *Symbol, uint64_t Size, 26 unsigned ByteAlign, 27 unsigned AccessGranularity){}; 28 }; 29 } 30 31 #endif 32