2014-05-24 20:50:23 +08:00
|
|
|
//=====-- AArch64MCAsmInfo.h - AArch64 asm properties ---------*- C++ -*--====//
|
2014-03-29 18:18:08 +08:00
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2014-03-29 18:18:08 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2014-05-24 20:50:23 +08:00
|
|
|
// This file contains the declaration of the AArch64MCAsmInfo class.
|
2014-03-29 18:18:08 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64MCASMINFO_H
|
|
|
|
#define LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64MCASMINFO_H
|
2014-03-29 18:18:08 +08:00
|
|
|
|
2017-06-28 07:58:19 +08:00
|
|
|
#include "llvm/MC/MCAsmInfoCOFF.h"
|
2014-03-29 18:18:08 +08:00
|
|
|
#include "llvm/MC/MCAsmInfoDarwin.h"
|
2015-01-26 14:32:17 +08:00
|
|
|
#include "llvm/MC/MCAsmInfoELF.h"
|
2014-03-29 18:18:08 +08:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class MCStreamer;
|
2015-06-04 21:12:25 +08:00
|
|
|
class Target;
|
2015-09-16 00:17:27 +08:00
|
|
|
class Triple;
|
2015-06-04 21:12:25 +08:00
|
|
|
|
2014-05-24 20:50:23 +08:00
|
|
|
struct AArch64MCAsmInfoDarwin : public MCAsmInfoDarwin {
|
|
|
|
explicit AArch64MCAsmInfoDarwin();
|
2014-04-29 15:58:25 +08:00
|
|
|
const MCExpr *
|
|
|
|
getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
|
|
|
|
MCStreamer &Streamer) const override;
|
2014-03-29 18:18:08 +08:00
|
|
|
};
|
|
|
|
|
2015-01-26 14:32:17 +08:00
|
|
|
struct AArch64MCAsmInfoELF : public MCAsmInfoELF {
|
2015-09-16 00:17:27 +08:00
|
|
|
explicit AArch64MCAsmInfoELF(const Triple &T);
|
2014-03-29 18:18:08 +08:00
|
|
|
};
|
|
|
|
|
2018-07-24 06:15:14 +08:00
|
|
|
struct AArch64MCAsmInfoMicrosoftCOFF : public MCAsmInfoMicrosoft {
|
2017-08-14 03:42:05 +08:00
|
|
|
explicit AArch64MCAsmInfoMicrosoftCOFF();
|
|
|
|
};
|
|
|
|
|
2018-07-24 06:15:14 +08:00
|
|
|
struct AArch64MCAsmInfoGNUCOFF : public MCAsmInfoGNUCOFF {
|
2017-08-14 03:42:05 +08:00
|
|
|
explicit AArch64MCAsmInfoGNUCOFF();
|
|
|
|
};
|
|
|
|
|
2014-03-29 18:18:08 +08:00
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#endif
|