xref: /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.h (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
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 
23 /// A target streamer for textual AVR assembly code.
24 class AVRTargetAsmStreamer : public AVRTargetStreamer {
25 public:
26   explicit AVRTargetAsmStreamer(MCStreamer &S);
27 };
28 
29 } // end namespace llvm
30 
31 #endif // LLVM_AVR_TARGET_STREAMER_H
32