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