Deleted Added
full compact
X86Subtarget.h (199989) X86Subtarget.h (201360)
1//=====---- X86Subtarget.h - Define Subtarget for the X86 -----*- 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//===----------------------------------------------------------------------===//

--- 63 unchanged lines hidden (view full) ---

72 /// HasFMA3 - Target has 3-operand fused multiply-add
73 bool HasFMA3;
74
75 /// HasFMA4 - Target has 4-operand fused multiply-add
76 bool HasFMA4;
77
78 /// IsBTMemSlow - True if BT (bit test) of memory instructions are slow.
79 bool IsBTMemSlow;
1//=====---- X86Subtarget.h - Define Subtarget for the X86 -----*- 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//===----------------------------------------------------------------------===//

--- 63 unchanged lines hidden (view full) ---

72 /// HasFMA3 - Target has 3-operand fused multiply-add
73 bool HasFMA3;
74
75 /// HasFMA4 - Target has 4-operand fused multiply-add
76 bool HasFMA4;
77
78 /// IsBTMemSlow - True if BT (bit test) of memory instructions are slow.
79 bool IsBTMemSlow;
80
80
81 /// DarwinVers - Nonzero if this is a darwin platform: the numeric
82 /// version of the platform, e.g. 8 = 10.4 (Tiger), 9 = 10.5 (Leopard), etc.
83 unsigned char DarwinVers; // Is any darwin-x86 platform.
84
85 /// stackAlignment - The minimum alignment known to hold of the stack frame on
86 /// entry to the function and which must be maintained by every function.
87 unsigned stackAlignment;
88

--- 75 unchanged lines hidden (view full) ---

164 }
165
166 std::string getDataLayout() const {
167 const char *p;
168 if (is64Bit())
169 p = "e-p:64:64-s:64-f64:64:64-i64:64:64-f80:128:128-n8:16:32:64";
170 else if (isTargetDarwin())
171 p = "e-p:32:32-f64:32:64-i64:32:64-f80:128:128-n8:16:32";
81 /// DarwinVers - Nonzero if this is a darwin platform: the numeric
82 /// version of the platform, e.g. 8 = 10.4 (Tiger), 9 = 10.5 (Leopard), etc.
83 unsigned char DarwinVers; // Is any darwin-x86 platform.
84
85 /// stackAlignment - The minimum alignment known to hold of the stack frame on
86 /// entry to the function and which must be maintained by every function.
87 unsigned stackAlignment;
88

--- 75 unchanged lines hidden (view full) ---

164 }
165
166 std::string getDataLayout() const {
167 const char *p;
168 if (is64Bit())
169 p = "e-p:64:64-s:64-f64:64:64-i64:64:64-f80:128:128-n8:16:32:64";
170 else if (isTargetDarwin())
171 p = "e-p:32:32-f64:32:64-i64:32:64-f80:128:128-n8:16:32";
172 else if (isTargetCygMing() || isTargetWindows())
173 p = "e-p:32:32-f64:64:64-i64:64:64-f80:128:128-n8:16:32";
172 else
173 p = "e-p:32:32-f64:32:64-i64:32:64-f80:32:32-n8:16:32";
174 else
175 p = "e-p:32:32-f64:32:64-i64:32:64-f80:32:32-n8:16:32";
176
174 return std::string(p);
175 }
176
177 bool isPICStyleSet() const { return PICStyle != PICStyles::None; }
178 bool isPICStyleGOT() const { return PICStyle == PICStyles::GOT; }
179 bool isPICStyleRIPRel() const { return PICStyle == PICStyles::RIPRel; }
180
181 bool isPICStyleStubPIC() const {

--- 52 unchanged lines hidden ---
177 return std::string(p);
178 }
179
180 bool isPICStyleSet() const { return PICStyle != PICStyles::None; }
181 bool isPICStyleGOT() const { return PICStyle == PICStyles::GOT; }
182 bool isPICStyleRIPRel() const { return PICStyle == PICStyles::RIPRel; }
183
184 bool isPICStyleStubPIC() const {

--- 52 unchanged lines hidden ---