PPCTargetStreamer.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. //===----------------------------------------------------------------------===//
  8. #ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
  9. #define LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H
  10. #include "llvm/ADT/StringRef.h"
  11. #include "llvm/MC/MCExpr.h"
  12. #include "llvm/MC/MCStreamer.h"
  13. namespace llvm {
  14. class MCExpr;
  15. class MCSymbol;
  16. class MCSymbolELF;
  17. class PPCTargetStreamer : public MCTargetStreamer {
  18. public:
  19. PPCTargetStreamer(MCStreamer &S);
  20. ~PPCTargetStreamer() override;
  21. virtual void emitTCEntry(const MCSymbol &S,
  22. MCSymbolRefExpr::VariantKind Kind){};
  23. virtual void emitMachine(StringRef CPU){};
  24. virtual void emitAbiVersion(int AbiVersion){};
  25. virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset){};
  26. };
  27. } // end namespace llvm
  28. #endif // LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H