1 | //===-- SPIRVTargetStreamer.h - SPIRV 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 LIB_TARGET_SPIRV_MCTARGETDESC_SPIRVTARGETSTREAMER_H |
10 | #define LIB_TARGET_SPIRV_MCTARGETDESC_SPIRVTARGETSTREAMER_H |
11 | |
12 | #include "llvm/MC/MCStreamer.h" |
13 | |
14 | namespace llvm { |
15 | |
16 | class MCSection; |
17 | |
18 | class SPIRVTargetStreamer : public MCTargetStreamer { |
19 | public: |
20 | SPIRVTargetStreamer(MCStreamer &S); |
21 | ~SPIRVTargetStreamer() override; |
22 | |
23 | void changeSection(const MCSection *CurSection, MCSection *Section, |
24 | uint32_t SubSection, raw_ostream &OS) override {} |
25 | }; |
26 | } // namespace llvm |
27 | |
28 | #endif // LIB_TARGET_SPIRV_MCTARGETDESC_SPIRVTARGETSTREAMER_H_ |
29 | |