PPCMCAsmInfo.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. //===-- PPCMCAsmInfo.h - PPC asm properties --------------------*- 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. // This file contains the declarations of the PowerPC MCAsmInfo classes.
  10. //
  11. //===----------------------------------------------------------------------===//
  12. #ifndef LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCASMINFO_H
  13. #define LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCASMINFO_H
  14. #include "llvm/MC/MCAsmInfoELF.h"
  15. #include "llvm/MC/MCAsmInfoXCOFF.h"
  16. namespace llvm {
  17. class Triple;
  18. class PPCELFMCAsmInfo : public MCAsmInfoELF {
  19. void anchor() override;
  20. public:
  21. explicit PPCELFMCAsmInfo(bool is64Bit, const Triple &);
  22. };
  23. class PPCXCOFFMCAsmInfo : public MCAsmInfoXCOFF {
  24. void anchor() override;
  25. public:
  26. explicit PPCXCOFFMCAsmInfo(bool is64Bit, const Triple &);
  27. };
  28. } // namespace llvm
  29. #endif