2016-05-20 09:17:38 +08:00
|
|
|
//===-- AVRTargetStreamer.h - AVR Target Streamer --------------*- C++ -*--===//
|
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2016-05-20 09:17:38 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_AVR_TARGET_STREAMER_H
|
|
|
|
#define LLVM_AVR_TARGET_STREAMER_H
|
|
|
|
|
2016-05-21 08:35:07 +08:00
|
|
|
#include "llvm/MC/MCELFStreamer.h"
|
|
|
|
|
2016-05-20 09:17:38 +08:00
|
|
|
namespace llvm {
|
|
|
|
class MCStreamer;
|
|
|
|
|
|
|
|
/// A generic AVR target output stream.
|
|
|
|
class AVRTargetStreamer : public MCTargetStreamer {
|
|
|
|
public:
|
|
|
|
explicit AVRTargetStreamer(MCStreamer &S);
|
2017-09-11 18:32:51 +08:00
|
|
|
|
|
|
|
void finish() override;
|
2016-05-20 09:17:38 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
/// A target streamer for textual AVR assembly code.
|
|
|
|
class AVRTargetAsmStreamer : public AVRTargetStreamer {
|
|
|
|
public:
|
|
|
|
explicit AVRTargetAsmStreamer(MCStreamer &S);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // end namespace llvm
|
|
|
|
|
|
|
|
#endif // LLVM_AVR_TARGET_STREAMER_H
|