• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- XCoreTargetStreamer.h - XCore 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_LIB_TARGET_XCORE_XCORETARGETSTREAMER_H
10 #define LLVM_LIB_TARGET_XCORE_XCORETARGETSTREAMER_H
11 
12 #include "llvm/MC/MCStreamer.h"
13 
14 namespace llvm {
15 class XCoreTargetStreamer : public MCTargetStreamer {
16 public:
17   XCoreTargetStreamer(MCStreamer &S);
18   ~XCoreTargetStreamer() override;
19   virtual void emitCCTopData(StringRef Name) = 0;
20   virtual void emitCCTopFunction(StringRef Name) = 0;
21   virtual void emitCCBottomData(StringRef Name) = 0;
22   virtual void emitCCBottomFunction(StringRef Name) = 0;
23 };
24 }
25 
26 #endif
27