1 //=====-- PPCTargetAsmInfo.h - PPC asm properties -------------*- C++ -*--====//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the declaration of the DarwinTargetAsmInfo class.
12 //===----------------------------------------------------------------------===//
14 #ifndef PPCTARGETASMINFO_H
15 #define PPCTARGETASMINFO_H
17 #include "llvm/Target/TargetAsmInfo.h"
18 #include "llvm/Target/DarwinTargetAsmInfo.h"
22 // Forward declaration.
23 class PPCTargetMachine;
25 struct PPCTargetAsmInfo : public virtual TargetAsmInfo {
26 explicit PPCTargetAsmInfo(const PPCTargetMachine &TM);
29 struct PPCDarwinTargetAsmInfo : public PPCTargetAsmInfo,
30 public DarwinTargetAsmInfo{
31 explicit PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM);
32 virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason,
36 struct PPCLinuxTargetAsmInfo : public PPCTargetAsmInfo {
37 explicit PPCLinuxTargetAsmInfo(const PPCTargetMachine &TM);
38 virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason,