mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
badd8df972
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53801 91177308-0d34-0410-b5e6-96231b3b80d8
43 lines
1.3 KiB
C++
43 lines
1.3 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 PPCDarwinTargetAsmInfo : public PPCTargetAsmInfo {
|
|
explicit PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM);
|
|
virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason,
|
|
bool Global) const;
|
|
};
|
|
|
|
struct PPCLinuxTargetAsmInfo : public PPCTargetAsmInfo {
|
|
explicit PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM);
|
|
virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason,
|
|
bool Global) const;
|
|
};
|
|
|
|
} // namespace llvm
|
|
|
|
#endif
|