2012-02-18 13:03:15 +01:00
|
|
|
//===-- X86MCAsmInfo.h - X86 asm properties --------------------*- C++ -*--===//
|
2009-08-22 22:48:53 +02:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file contains the declaration of the X86MCAsmInfo class.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-13 18:26:38 +02:00
|
|
|
#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCASMINFO_H
|
|
|
|
#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCASMINFO_H
|
2009-08-22 22:48:53 +02:00
|
|
|
|
|
|
|
#include "llvm/MC/MCAsmInfo.h"
|
|
|
|
#include "llvm/MC/MCAsmInfoCOFF.h"
|
|
|
|
#include "llvm/MC/MCAsmInfoDarwin.h"
|
2013-10-16 03:34:32 +02:00
|
|
|
#include "llvm/MC/MCAsmInfoELF.h"
|
2009-08-22 22:48:53 +02:00
|
|
|
|
|
|
|
namespace llvm {
|
2015-09-15 18:17:27 +02:00
|
|
|
class Triple;
|
2015-09-15 14:27:06 +02:00
|
|
|
|
|
|
|
class X86MCAsmInfoDarwin : public MCAsmInfoDarwin {
|
|
|
|
virtual void anchor();
|
|
|
|
|
|
|
|
public:
|
2015-09-15 18:17:27 +02:00
|
|
|
explicit X86MCAsmInfoDarwin(const Triple &Triple);
|
2015-09-15 14:27:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
struct X86_64MCAsmInfoDarwin : public X86MCAsmInfoDarwin {
|
2015-09-15 18:17:27 +02:00
|
|
|
explicit X86_64MCAsmInfoDarwin(const Triple &Triple);
|
2015-09-15 14:27:06 +02:00
|
|
|
const MCExpr *
|
|
|
|
getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding,
|
|
|
|
MCStreamer &Streamer) const override;
|
|
|
|
};
|
|
|
|
|
|
|
|
class X86ELFMCAsmInfo : public MCAsmInfoELF {
|
|
|
|
void anchor() override;
|
|
|
|
|
|
|
|
public:
|
2015-09-15 18:17:27 +02:00
|
|
|
explicit X86ELFMCAsmInfo(const Triple &Triple);
|
2015-09-15 14:27:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
class X86MCAsmInfoMicrosoft : public MCAsmInfoMicrosoft {
|
|
|
|
void anchor() override;
|
|
|
|
|
|
|
|
public:
|
2015-09-15 18:17:27 +02:00
|
|
|
explicit X86MCAsmInfoMicrosoft(const Triple &Triple);
|
2015-09-15 14:27:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
class X86MCAsmInfoGNUCOFF : public MCAsmInfoGNUCOFF {
|
|
|
|
void anchor() override;
|
|
|
|
|
|
|
|
public:
|
2015-09-15 18:17:27 +02:00
|
|
|
explicit X86MCAsmInfoGNUCOFF(const Triple &Triple);
|
2015-09-15 14:27:06 +02:00
|
|
|
};
|
2009-08-22 22:48:53 +02:00
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#endif
|