2014-01-27 08:08:17 +08:00
|
|
|
//===-- XCoreTargetStreamer.h - XCore 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
|
2014-01-27 08:08:17 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_XCORE_XCORETARGETSTREAMER_H
|
|
|
|
#define LLVM_LIB_TARGET_XCORE_XCORETARGETSTREAMER_H
|
2014-01-27 08:08:17 +08:00
|
|
|
|
|
|
|
#include "llvm/MC/MCStreamer.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class XCoreTargetStreamer : public MCTargetStreamer {
|
|
|
|
public:
|
|
|
|
XCoreTargetStreamer(MCStreamer &S);
|
2015-04-11 10:11:45 +08:00
|
|
|
~XCoreTargetStreamer() override;
|
2014-01-27 08:08:17 +08:00
|
|
|
virtual void emitCCTopData(StringRef Name) = 0;
|
|
|
|
virtual void emitCCTopFunction(StringRef Name) = 0;
|
2014-01-27 19:50:13 +08:00
|
|
|
virtual void emitCCBottomData(StringRef Name) = 0;
|
|
|
|
virtual void emitCCBottomFunction(StringRef Name) = 0;
|
2014-01-27 08:08:17 +08:00
|
|
|
};
|
2015-06-23 17:49:53 +08:00
|
|
|
}
|
2014-01-27 08:08:17 +08:00
|
|
|
|
|
|
|
#endif
|