mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
f8d5799001
uses the same encoding everywhere. Linux FIXME'ed. llvm-svn: 47701
41 lines
1.2 KiB
C++
41 lines
1.2 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"
|
|
|
|
namespace llvm {
|
|
|
|
// Forward declaration.
|
|
class PPCTargetMachine;
|
|
|
|
struct PPCTargetAsmInfo : public TargetAsmInfo {
|
|
explicit PPCTargetAsmInfo(const PPCTargetMachine &TM);
|
|
};
|
|
|
|
struct DarwinTargetAsmInfo : public PPCTargetAsmInfo {
|
|
explicit DarwinTargetAsmInfo(const PPCTargetMachine &TM);
|
|
virtual unsigned PreferredEHDataFormat(unsigned Reason, bool Global) const;
|
|
};
|
|
|
|
struct LinuxTargetAsmInfo : public PPCTargetAsmInfo {
|
|
explicit LinuxTargetAsmInfo(const PPCTargetMachine &TM);
|
|
virtual unsigned PreferredEHDataFormat(unsigned Reason, bool Global) const;
|
|
};
|
|
|
|
} // namespace llvm
|
|
|
|
#endif
|