Home | History | Annotate | Download | only in MCTargetDesc
      1 //===-- AVRTargetStreamer.h - AVR 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 LLVM_AVR_TARGET_STREAMER_H
     11 #define LLVM_AVR_TARGET_STREAMER_H
     12 
     13 #include "llvm/MC/MCELFStreamer.h"
     14 
     15 namespace llvm {
     16 class MCStreamer;
     17 
     18 /// A generic AVR target output stream.
     19 class AVRTargetStreamer : public MCTargetStreamer {
     20 public:
     21   explicit AVRTargetStreamer(MCStreamer &S);
     22 
     23   void finish() override;
     24 };
     25 
     26 /// A target streamer for textual AVR assembly code.
     27 class AVRTargetAsmStreamer : public AVRTargetStreamer {
     28 public:
     29   explicit AVRTargetAsmStreamer(MCStreamer &S);
     30 };
     31 
     32 } // end namespace llvm
     33 
     34 #endif // LLVM_AVR_TARGET_STREAMER_H
     35