AArch64MCAsmInfo.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //=====-- AArch64MCAsmInfo.h - AArch64 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 declaration of the AArch64MCAsmInfo class.
  10. //
  11. //===----------------------------------------------------------------------===//
  12. #ifndef LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64MCASMINFO_H
  13. #define LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64MCASMINFO_H
  14. #include "llvm/MC/MCAsmInfoCOFF.h"
  15. #include "llvm/MC/MCAsmInfoDarwin.h"
  16. #include "llvm/MC/MCAsmInfoELF.h"
  17. namespace llvm {
  18. class MCStreamer;
  19. class Triple;
  20. struct AArch64MCAsmInfoDarwin : public MCAsmInfoDarwin {
  21. explicit AArch64MCAsmInfoDarwin(bool IsILP32);
  22. const MCExpr *
  23. getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
  24. MCStreamer &Streamer) const override;
  25. };
  26. struct AArch64MCAsmInfoELF : public MCAsmInfoELF {
  27. explicit AArch64MCAsmInfoELF(const Triple &T);
  28. };
  29. struct AArch64MCAsmInfoMicrosoftCOFF : public MCAsmInfoMicrosoft {
  30. explicit AArch64MCAsmInfoMicrosoftCOFF();
  31. };
  32. struct AArch64MCAsmInfoGNUCOFF : public MCAsmInfoGNUCOFF {
  33. explicit AArch64MCAsmInfoGNUCOFF();
  34. };
  35. } // namespace llvm
  36. #endif