clang 24.0.0git
Mips.h
Go to the documentation of this file.
1//===--- Mips.h - Declare Mips target feature support -----------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file declares Mips TargetInfo objects.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_CLANG_LIB_BASIC_TARGETS_MIPS_H
14#define LLVM_CLANG_LIB_BASIC_TARGETS_MIPS_H
15
16#include "OSTargets.h"
19#include "llvm/Support/Compiler.h"
20#include "llvm/TargetParser/Triple.h"
21
22namespace clang {
23namespace targets {
24
25class LLVM_LIBRARY_VISIBILITY MipsTargetInfo : public TargetInfo {
26 std::string CPU;
27 bool IsMips16;
28 bool IsMicromips;
29 bool IsNan2008;
30 bool IsAbs2008;
31 bool IsSingleFloat;
32 bool IsNoABICalls;
33 bool CanUseBSDABICalls;
34 enum MipsFloatABI { HardFloat, SoftFloat } FloatABI;
35 enum DspRevEnum { NoDSP, DSP1, DSP2 } DspRev;
36 bool HasMSA;
37 bool DisableMadd4;
38 bool UseIndirectJumpHazard;
39 bool NoOddSpreg;
40 // ISA level and revision from the target features. The level is 1 to 5
41 // for MIPS I to MIPS V, 32 or 64 for MIPS32 and MIPS64. The revision is 1
42 // to 6 for MIPS32 and MIPS64 and 0 for the older ISAs.
43 unsigned ISALevel = 0;
44 unsigned ISARev = 0;
45 // MIPS I and the R5900 have no ll and sc.
46 bool HasLLSC = true;
47
48protected:
49 enum FPModeEnum { FPXX, FP32, FP64 } FPMode;
50 std::string ABI;
51
52public:
53 MipsTargetInfo(const llvm::Triple &Triple, const TargetOptions &)
54 : TargetInfo(Triple), IsMips16(false), IsMicromips(false),
55 IsNan2008(false), IsAbs2008(false), IsSingleFloat(false),
56 IsNoABICalls(false), CanUseBSDABICalls(false), FloatABI(HardFloat),
57 DspRev(NoDSP), HasMSA(false), DisableMadd4(false),
58 UseIndirectJumpHazard(false), FPMode(FPXX) {
59 TheCXXABI.set(TargetCXXABI::GenericMIPS);
60
61 if (Triple.isMIPS32())
62 setABI("o32");
63 else if (Triple.isABIN32())
64 setABI("n32");
65 else
66 setABI("n64");
67
68 CPU = ABI == "o32" ? "mips32r2" : "mips64r2";
69
70 CanUseBSDABICalls = Triple.isOSFreeBSD() ||
71 Triple.isOSOpenBSD();
72 }
73
74 bool isIEEE754_2008Default() const { return ISARev == 6; }
75
77 if ((ISALevel == 32 && ISARev == 6) || ABI == "n32" || ABI == "n64" ||
78 ABI == "64")
79 return FP64;
80 else if (ISALevel == 1)
81 return FP32;
82 else
83 return FPXX;
84 }
85
86 bool isNan2008() const override { return IsNan2008; }
87
89 return ISALevel == 64 || (ISALevel >= 3 && ISALevel <= 5);
90 }
91
92 StringRef getABI() const override { return ABI; }
93
94 bool setABI(const std::string &Name) override {
95 if (Name == "o32") {
97 ABI = Name;
98 return true;
99 }
100
101 if (Name == "n32") {
103 ABI = Name;
104 return true;
105 }
106 if (Name == "n64") {
108 ABI = Name;
109 return true;
110 }
111 return false;
112 }
113
126
129 LongDoubleFormat = &llvm::APFloat::IEEEquad();
130 if (getTriple().isOSFreeBSD()) {
132 LongDoubleFormat = &llvm::APFloat::IEEEdouble();
133 }
135 SuitableAlign = 128;
136 }
137
140 if (getTriple().isOSOpenBSD()) {
142 } else {
144 }
146 LongWidth = LongAlign = 64;
150 }
151
161
162 bool isValidCPUName(StringRef Name) const override;
163 void fillValidCPUList(SmallVectorImpl<StringRef> &Values) const override;
164
165 bool setCPU(StringRef Name) override {
166 CPU = Name;
167 return isValidCPUName(Name);
168 }
169
170 const std::string &getCPU() const { return CPU; }
171 bool
172 initFeatureMap(llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags,
173 StringRef CPU,
174 const std::vector<std::string> &FeaturesVec) const override {
175 if (CPU.empty())
176 CPU = getCPU();
177 if (CPU == "octeon")
178 Features["mips64r2"] = Features["cnmips"] = true;
179 else if (CPU == "octeon+")
180 Features["mips64r2"] = Features["cnmips"] = Features["cnmipsp"] = true;
181 else
182 Features[CPU] = true;
183 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec);
184 }
185
186 void setISAFromFeatures(const std::vector<std::string> &Features);
187
188 void getTargetDefines(const LangOptions &Opts,
189 MacroBuilder &Builder) const override;
190
191 llvm::SmallVector<Builtin::InfosShard> getTargetBuiltins() const override;
192
193 bool hasFeature(StringRef Feature) const override;
194
198
200 static const char *const GCCRegNames[] = {
201 // CPU register names
202 // Must match second column of GCCRegAliases
203 "$0", "$1", "$2", "$3", "$4", "$5", "$6", "$7", "$8", "$9", "$10",
204 "$11", "$12", "$13", "$14", "$15", "$16", "$17", "$18", "$19", "$20",
205 "$21", "$22", "$23", "$24", "$25", "$26", "$27", "$28", "$29", "$30",
206 "$31",
207 // Floating point register names
208 "$f0", "$f1", "$f2", "$f3", "$f4", "$f5", "$f6", "$f7", "$f8", "$f9",
209 "$f10", "$f11", "$f12", "$f13", "$f14", "$f15", "$f16", "$f17", "$f18",
210 "$f19", "$f20", "$f21", "$f22", "$f23", "$f24", "$f25", "$f26", "$f27",
211 "$f28", "$f29", "$f30", "$f31",
212 // Hi/lo and condition register names
213 "hi", "lo", "", "$fcc0", "$fcc1", "$fcc2", "$fcc3", "$fcc4", "$fcc5",
214 "$fcc6", "$fcc7", "$ac1hi", "$ac1lo", "$ac2hi", "$ac2lo", "$ac3hi",
215 "$ac3lo",
216 // MSA register names
217 "$w0", "$w1", "$w2", "$w3", "$w4", "$w5", "$w6", "$w7", "$w8", "$w9",
218 "$w10", "$w11", "$w12", "$w13", "$w14", "$w15", "$w16", "$w17", "$w18",
219 "$w19", "$w20", "$w21", "$w22", "$w23", "$w24", "$w25", "$w26", "$w27",
220 "$w28", "$w29", "$w30", "$w31",
221 // MSA control register names
222 "$msair", "$msacsr", "$msaaccess", "$msasave", "$msamodify",
223 "$msarequest", "$msamap", "$msaunmap"
224 };
226 }
227
228 bool validateAsmConstraint(const char *&Name,
229 TargetInfo::ConstraintInfo &Info) const override {
230 switch (*Name) {
231 default:
232 return false;
233 case 'r': // CPU registers.
234 case 'd': // Equivalent to "r" unless generating MIPS16 code.
235 case 'y': // Equivalent to "r", backward compatibility only.
236 case 'c': // $25 for indirect jumps
237 case 'l': // lo register
238 case 'x': // hilo register pair
239 Info.setAllowsRegister();
240 return true;
241 case 'f': // floating-point registers.
242 Info.setAllowsRegister();
243 return FloatABI != SoftFloat;
244 case 'I': // Signed 16-bit constant
245 case 'J': // Integer 0
246 case 'K': // Unsigned 16-bit constant
247 case 'L': // Signed 32-bit constant, lower 16-bit zeros (for lui)
248 case 'M': // Constants not loadable via lui, addiu, or ori
249 case 'N': // Constant -1 to -65535
250 case 'O': // A signed 15-bit constant
251 case 'P': // A constant between 1 go 65535
252 return true;
253 case 'R': // An address that can be used in a non-macro load or store
254 Info.setAllowsMemory();
255 return true;
256 case 'Z':
257 if (Name[1] == 'C') { // An address usable by ll, and sc.
258 Info.setAllowsMemory();
259 Name++; // Skip over 'Z'.
260 return true;
261 }
262 return false;
263 }
264 }
265
266 std::string convertConstraint(const char *&Constraint) const override {
267 std::string R;
268 switch (*Constraint) {
269 case 'Z': // Two-character constraint; add "^" hint for later parsing.
270 if (Constraint[1] == 'C') {
271 R = std::string("^") + std::string(Constraint, 2);
272 Constraint++;
273 return R;
274 }
275 break;
276 }
277 return TargetInfo::convertConstraint(Constraint);
278 }
279
280 std::string_view getClobbers() const override {
281 // In GCC, $1 is not widely used in generated code (it's used only in a few
282 // specific situations), so there is no real need for users to add it to
283 // the clobbers list if they want to use it in their inline assembly code.
284 //
285 // In LLVM, $1 is treated as a normal GPR and is always allocatable during
286 // code generation, so using it in inline assembly without adding it to the
287 // clobbers list can cause conflicts between the inline assembly code and
288 // the surrounding generated code.
289 //
290 // Another problem is that LLVM is allowed to choose $1 for inline assembly
291 // operands, which will conflict with the ".set at" assembler option (which
292 // we use only for inline assembly, in order to maintain compatibility with
293 // GCC) and will also conflict with the user's usage of $1.
294 //
295 // The easiest way to avoid these conflicts and keep $1 as an allocatable
296 // register for generated code is to automatically clobber $1 for all inline
297 // assembly code.
298 //
299 // FIXME: We should automatically clobber $1 only for inline assembly code
300 // which actually uses it. This would allow LLVM to use $1 for inline
301 // assembly operands if the user's assembly code doesn't use it.
302 return "~{$1}";
303 }
304
305 bool handleTargetFeatures(std::vector<std::string> &Features,
306 DiagnosticsEngine &Diags) override {
307 // The defaults below depend on the ISA, so set it first.
308 setISAFromFeatures(Features);
309 IsMips16 = false;
310 IsMicromips = false;
311 IsNan2008 = isIEEE754_2008Default();
312 IsAbs2008 = isIEEE754_2008Default();
313 IsSingleFloat = false;
314 FloatABI = HardFloat;
315 DspRev = NoDSP;
316 NoOddSpreg = false;
318 bool OddSpregGiven = false;
319 bool StrictAlign = false;
320 bool FpGiven = false;
321 bool IsR5900 = false;
322
323 for (const auto &Feature : Features) {
324 if (Feature == "+single-float")
325 IsSingleFloat = true;
326 else if (Feature == "+soft-float")
327 FloatABI = SoftFloat;
328 else if (Feature == "+mips16")
329 IsMips16 = true;
330 else if (Feature == "+micromips")
331 IsMicromips = true;
332 else if (Feature == "+mips32r6" || Feature == "+mips64r6")
333 HasUnalignedAccess = true;
334 // We cannot be sure that the order of strict-align vs mips32r6.
335 // Thus we need an extra variable here.
336 else if (Feature == "+strict-align")
337 StrictAlign = true;
338 else if (Feature == "+dsp")
339 DspRev = std::max(DspRev, DSP1);
340 else if (Feature == "+dspr2")
341 DspRev = std::max(DspRev, DSP2);
342 else if (Feature == "+msa")
343 HasMSA = true;
344 else if (Feature == "+nomadd4")
345 DisableMadd4 = true;
346 else if (Feature == "+fp64") {
347 FPMode = FP64;
348 FpGiven = true;
349 } else if (Feature == "-fp64") {
350 FPMode = FP32;
351 FpGiven = true;
352 } else if (Feature == "+fpxx") {
353 FPMode = FPXX;
354 FpGiven = true;
355 } else if (Feature == "+nan2008")
356 IsNan2008 = true;
357 else if (Feature == "-nan2008")
358 IsNan2008 = false;
359 else if (Feature == "+abs2008")
360 IsAbs2008 = true;
361 else if (Feature == "-abs2008")
362 IsAbs2008 = false;
363 else if (Feature == "+noabicalls")
364 IsNoABICalls = true;
365 else if (Feature == "+use-indirect-jump-hazard")
366 UseIndirectJumpHazard = true;
367 else if (Feature == "+r5900")
368 IsR5900 = true;
369 else if (Feature == "+nooddspreg") {
370 NoOddSpreg = true;
371 OddSpregGiven = false;
372 } else if (Feature == "-nooddspreg") {
373 NoOddSpreg = false;
374 OddSpregGiven = true;
375 }
376 }
377
378 if (FPMode == FPXX && !OddSpregGiven)
379 NoOddSpreg = true;
380
381 if (StrictAlign)
382 HasUnalignedAccess = false;
383
384 if (HasMSA && !FpGiven) {
385 FPMode = FP64;
386 Features.push_back("+fp64");
387 }
388
389 // Before MIPS32, single-precision arithmetic can't use the odd FPRs when
390 // the FPRs are 32 bits wide. The R5900 has 32 single-precision FPRs. Like
391 // GCC, -modd-spreg still allows them. Pass nooddspreg on so that the
392 // backend agrees.
393 if (ABI == "o32" && ISALevel < 32 && FPMode != FP64 && !IsR5900 &&
394 !OddSpregGiven && !NoOddSpreg) {
395 NoOddSpreg = true;
396 Features.push_back("+nooddspreg");
397 }
398
399 // Without ll and sc, the backend uses libcalls for atomic operations.
400 HasLLSC = ISALevel != 1 && !IsR5900;
401 if (!HasLLSC)
403
405
406 return true;
407 }
408
409 int getEHDataRegisterNumber(unsigned RegNo) const override {
410 if (RegNo == 0)
411 return 4;
412 if (RegNo == 1)
413 return 5;
414 return -1;
415 }
416
417 bool isCLZForZeroUndef() const override { return false; }
418
420 static const TargetInfo::GCCRegAlias O32RegAliases[] = {
421 {{"at"}, "$1"}, {{"v0"}, "$2"}, {{"v1"}, "$3"},
422 {{"a0"}, "$4"}, {{"a1"}, "$5"}, {{"a2"}, "$6"},
423 {{"a3"}, "$7"}, {{"t0"}, "$8"}, {{"t1"}, "$9"},
424 {{"t2"}, "$10"}, {{"t3"}, "$11"}, {{"t4"}, "$12"},
425 {{"t5"}, "$13"}, {{"t6"}, "$14"}, {{"t7"}, "$15"},
426 {{"s0"}, "$16"}, {{"s1"}, "$17"}, {{"s2"}, "$18"},
427 {{"s3"}, "$19"}, {{"s4"}, "$20"}, {{"s5"}, "$21"},
428 {{"s6"}, "$22"}, {{"s7"}, "$23"}, {{"t8"}, "$24"},
429 {{"t9"}, "$25"}, {{"k0"}, "$26"}, {{"k1"}, "$27"},
430 {{"gp"}, "$28"}, {{"sp", "$sp"}, "$29"}, {{"fp", "$fp"}, "$30"},
431 {{"ra"}, "$31"}
432 };
433 static const TargetInfo::GCCRegAlias NewABIRegAliases[] = {
434 {{"at"}, "$1"}, {{"v0"}, "$2"}, {{"v1"}, "$3"},
435 {{"a0"}, "$4"}, {{"a1"}, "$5"}, {{"a2"}, "$6"},
436 {{"a3"}, "$7"}, {{"a4"}, "$8"}, {{"a5"}, "$9"},
437 {{"a6"}, "$10"}, {{"a7"}, "$11"}, {{"t0"}, "$12"},
438 {{"t1"}, "$13"}, {{"t2"}, "$14"}, {{"t3"}, "$15"},
439 {{"s0"}, "$16"}, {{"s1"}, "$17"}, {{"s2"}, "$18"},
440 {{"s3"}, "$19"}, {{"s4"}, "$20"}, {{"s5"}, "$21"},
441 {{"s6"}, "$22"}, {{"s7"}, "$23"}, {{"t8"}, "$24"},
442 {{"t9"}, "$25"}, {{"k0"}, "$26"}, {{"k1"}, "$27"},
443 {{"gp"}, "$28"}, {{"sp", "$sp"}, "$29"}, {{"fp", "$fp"}, "$30"},
444 {{"ra"}, "$31"}
445 };
446 if (ABI == "o32")
447 return llvm::ArrayRef(O32RegAliases);
448 return llvm::ArrayRef(NewABIRegAliases);
449 }
450
451 bool hasInt128Type() const override {
452 return (ABI == "n32" || ABI == "n64") || getTargetOpts().ForceEnableInt128;
453 }
454
455 unsigned getUnwindWordWidth() const override;
456
457 bool validateTarget(DiagnosticsEngine &Diags) const override;
458 bool hasBitIntType() const override { return true; }
459
460 std::pair<unsigned, unsigned> hardwareInterferenceSizes() const override {
461 return std::make_pair(32, 32);
462 }
463};
464
465class LLVM_LIBRARY_VISIBILITY WindowsMipsTargetInfo
466 : public WindowsTargetInfo<MipsTargetInfo> {
467 const llvm::Triple Triple;
468
469public:
470 WindowsMipsTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts);
471
472 void getVisualStudioDefines(const LangOptions &Opts,
473 MacroBuilder &Builder) const;
474
476
478};
479
480// Windows MIPS, MS (C++) ABI
481class LLVM_LIBRARY_VISIBILITY MicrosoftMipsTargetInfo
482 : public WindowsMipsTargetInfo {
483public:
484 MicrosoftMipsTargetInfo(const llvm::Triple &Triple,
485 const TargetOptions &Opts);
486
487 void getTargetDefines(const LangOptions &Opts,
488 MacroBuilder &Builder) const override;
489};
490
491// MIPS MinGW target
492class LLVM_LIBRARY_VISIBILITY MinGWMipsTargetInfo
493 : public WindowsMipsTargetInfo {
494public:
495 MinGWMipsTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts);
496
497 void getTargetDefines(const LangOptions &Opts,
498 MacroBuilder &Builder) const override;
499};
500} // namespace targets
501} // namespace clang
502
503#endif // LLVM_CLANG_LIB_BASIC_TARGETS_MIPS_H
static bool hasFeature(StringRef Feature, const LangOptions &LangOpts, const TargetInfo &Target)
Determine whether a translation unit built using the current language options has the given feature.
Definition Module.cpp:96
static StringRef getTriple(const Command &Job)
Defines the clang::TargetOptions class.
Concrete class used by the front-end to report problems and issues.
Definition Diagnostic.h:240
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
TargetOptions & getTargetOpts() const
Retrieve the target options.
Definition TargetInfo.h:334
TargetInfo(const llvm::Triple &T)
BuiltinVaListKind
The different kinds of __builtin_va_list types defined by the target implementation.
Definition TargetInfo.h:341
@ VoidPtrBuiltinVaList
typedef void* __builtin_va_list;
Definition TargetInfo.h:346
unsigned HasUnalignedAccess
Definition TargetInfo.h:289
unsigned char MaxAtomicPromoteWidth
Definition TargetInfo.h:254
void resetDataLayout(StringRef DL)
Set the data layout to the given string.
virtual bool initFeatureMap(llvm::StringMap< bool > &Features, DiagnosticsEngine &Diags, StringRef CPU, const std::vector< std::string > &FeatureVec) const
Initialize the map with the default set of target features for the CPU this should include all legal ...
virtual std::string convertConstraint(const char *&Constraint) const
unsigned char MaxAtomicInlineWidth
Definition TargetInfo.h:254
TargetCXXABI TheCXXABI
Definition TargetInfo.h:259
Options for controlling the target.
void getTargetDefines(const LangOptions &Opts, MacroBuilder &Builder) const override
===-— Other target property query methods -----------------------—===//
Definition Mips.cpp:358
MicrosoftMipsTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
Definition Mips.cpp:352
MinGWMipsTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
Definition Mips.cpp:364
void getTargetDefines(const LangOptions &Opts, MacroBuilder &Builder) const override
===-— Other target property query methods -----------------------—===//
Definition Mips.cpp:370
bool hasBitIntType() const override
Determine whether the _BitInt type is supported on this target.
Definition Mips.h:458
enum clang::targets::MipsTargetInfo::FPModeEnum FPMode
MipsTargetInfo(const llvm::Triple &Triple, const TargetOptions &)
Definition Mips.h:53
int getEHDataRegisterNumber(unsigned RegNo) const override
Return the register number that __builtin_eh_return_regno would return with the specified argument.
Definition Mips.h:409
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.
Definition Mips.h:195
bool initFeatureMap(llvm::StringMap< bool > &Features, DiagnosticsEngine &Diags, StringRef CPU, const std::vector< std::string > &FeaturesVec) const override
Initialize the map with the default set of target features for the CPU this should include all legal ...
Definition Mips.h:172
StringRef getABI() const override
Get the ABI currently in use.
Definition Mips.h:92
ArrayRef< const char * > getGCCRegNames() const override
Definition Mips.h:199
bool isValidCPUName(StringRef Name) const override
Determine whether this TargetInfo supports the given CPU name.
Definition Mips.cpp:44
bool handleTargetFeatures(std::vector< std::string > &Features, DiagnosticsEngine &Diags) override
Perform initialization based on the user configured set of features (e.g., +sse4).
Definition Mips.h:305
bool hasInt128Type() const override
Determine whether the __int128 type is supported on this target.
Definition Mips.h:451
bool validateAsmConstraint(const char *&Name, TargetInfo::ConstraintInfo &Info) const override
Definition Mips.h:228
bool isIEEE754_2008Default() const
Definition Mips.h:74
enum FPModeEnum getDefaultFPMode() const
Definition Mips.h:76
bool processorSupportsGPR64() const
Definition Mips.h:88
bool setCPU(StringRef Name) override
Target the specified CPU.
Definition Mips.h:165
void setISAFromFeatures(const std::vector< std::string > &Features)
Definition Mips.cpp:55
std::pair< unsigned, unsigned > hardwareInterferenceSizes() const override
The first value in the pair is the minimum offset between two objects to avoid false sharing (destruc...
Definition Mips.h:460
bool setABI(const std::string &Name) override
Use the specified ABI.
Definition Mips.h:94
std::string_view getClobbers() const override
Returns a string of target-specific clobbers, in LLVM format.
Definition Mips.h:280
ArrayRef< TargetInfo::GCCRegAlias > getGCCRegAliases() const override
Definition Mips.h:419
std::string convertConstraint(const char *&Constraint) const override
Definition Mips.h:266
bool isCLZForZeroUndef() const override
The __builtin_clz* and __builtin_ctz* built-in functions are specified to have undefined results for ...
Definition Mips.h:417
bool isNan2008() const override
Returns true if NaN encoding is IEEE 754-2008.
Definition Mips.h:86
const std::string & getCPU() const
Definition Mips.h:170
void getVisualStudioDefines(const LangOptions &Opts, MacroBuilder &Builder) const
Definition Mips.cpp:321
WindowsMipsTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
Definition Mips.cpp:317
CallingConvCheckResult checkCallingConvention(CallingConv CC) const override
Determines whether a given calling convention is valid for the target.
Definition Mips.cpp:332
BuiltinVaListKind getBuiltinVaListKind() const override
Returns the kind of __builtin_va_list type that should be used with this target.
Definition Mips.cpp:327
WindowsTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
Definition OSTargets.h:913
Defines the clang::TargetInfo interface.
static const char *const GCCRegNames[]
Definition X86.cpp:73
Top level wrappers for InstallAPI frontend operations.
CallingConv
CallingConv - Specifies the calling convention that a function uses.
Definition Specifiers.h:282
#define false
Definition stdbool.h:26
const llvm::fltSemantics * LongDoubleFormat
Definition TargetInfo.h:145