[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / lib / Target / PowerPC / PPCTargetStreamer.h
blob82fcd9e1c2bc376eac6d37cd51eea48de4fc2e61
1 //===- PPCTargetStreamer.h - PPC 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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
10 #define LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
12 #include "llvm/ADT/StringRef.h"
13 #include "llvm/MC/MCStreamer.h"
15 namespace llvm {
17 class MCExpr;
18 class MCSymbol;
19 class MCSymbolELF;
21 class PPCTargetStreamer : public MCTargetStreamer {
22 public:
23 PPCTargetStreamer(MCStreamer &S);
24 ~PPCTargetStreamer() override;
26 virtual void emitTCEntry(const MCSymbol &S,
27 MCSymbolRefExpr::VariantKind Kind) = 0;
28 virtual void emitMachine(StringRef CPU) = 0;
29 virtual void emitAbiVersion(int AbiVersion) = 0;
30 virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0;
33 } // end namespace llvm
35 #endif // LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H