PPCSubtarget.h (193323) | PPCSubtarget.h (195340) |
---|---|
1//=====-- PPCSubtarget.h - Define Subtarget for the PPC -------*- C++ -*--====// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 134 unchanged lines hidden (view full) --- 143 /// isDarwin - True if this is any darwin platform. 144 bool isDarwin() const { return DarwinVers != 0; } 145 /// isDarwin - True if this is darwin9 (leopard, 10.5) or above. 146 bool isDarwin9() const { return DarwinVers >= 9; } 147 148 /// getDarwinVers - Return the darwin version number, 8 = tiger, 9 = leopard. 149 unsigned getDarwinVers() const { return DarwinVers; } 150 | 1//=====-- PPCSubtarget.h - Define Subtarget for the PPC -------*- C++ -*--====// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 134 unchanged lines hidden (view full) --- 143 /// isDarwin - True if this is any darwin platform. 144 bool isDarwin() const { return DarwinVers != 0; } 145 /// isDarwin - True if this is darwin9 (leopard, 10.5) or above. 146 bool isDarwin9() const { return DarwinVers >= 9; } 147 148 /// getDarwinVers - Return the darwin version number, 8 = tiger, 9 = leopard. 149 unsigned getDarwinVers() const { return DarwinVers; } 150 |
151 bool isMachoABI() const { return isDarwin() || IsPPC64; } 152 bool isELF32_ABI() const { return !isDarwin() && !IsPPC64; } | 151 bool isDarwinABI() const { return isDarwin() || IsPPC64; } 152 bool isSVR4ABI() const { return !isDarwin() && !IsPPC64; } |
153 154 unsigned getAsmFlavor() const { 155 return AsmFlavor != Unset ? unsigned(AsmFlavor) : 0; 156 } 157}; 158} // End llvm namespace 159 160#endif | 153 154 unsigned getAsmFlavor() const { 155 return AsmFlavor != Unset ? unsigned(AsmFlavor) : 0; 156 } 157}; 158} // End llvm namespace 159 160#endif |