mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-28 06:22:51 +01:00
44f1a1f536
llvm-svn: 54538
47 lines
1.5 KiB
C++
47 lines
1.5 KiB
C++
//=====-- PPCTargetAsmInfo.h - PPC asm properties -------------*- C++ -*--====//
|
|
//
|
|
// 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 DarwinTargetAsmInfo class.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef PPCTARGETASMINFO_H
|
|
#define PPCTARGETASMINFO_H
|
|
|
|
#include "llvm/Target/TargetAsmInfo.h"
|
|
#include "llvm/Target/DarwinTargetAsmInfo.h"
|
|
#include "llvm/Target/ELFTargetAsmInfo.h"
|
|
|
|
namespace llvm {
|
|
|
|
// Forward declaration.
|
|
class PPCTargetMachine;
|
|
|
|
struct PPCTargetAsmInfo : public virtual TargetAsmInfo {
|
|
explicit PPCTargetAsmInfo(const PPCTargetMachine &TM);
|
|
};
|
|
|
|
struct PPCDarwinTargetAsmInfo : public PPCTargetAsmInfo,
|
|
public DarwinTargetAsmInfo {
|
|
explicit PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM);
|
|
virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason,
|
|
bool Global) const;
|
|
};
|
|
|
|
struct PPCLinuxTargetAsmInfo : public PPCTargetAsmInfo,
|
|
public ELFTargetAsmInfo {
|
|
explicit PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM);
|
|
virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason,
|
|
bool Global) const;
|
|
};
|
|
|
|
} // namespace llvm
|
|
|
|
#endif
|