Home
last modified time | relevance | path

Searched refs:getOS (Results 1 – 25 of 225) sorted by relevance

123456789

/external/llvm/include/llvm/ADT/
DTriple.h271 OSType getOS() const { return OS; } in getOS() function
409 if (getOS() == Triple::MacOSX)
420 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX()
429 return getOS() == Triple::IOS || isTvOS(); in isiOS()
434 return getOS() == Triple::TvOS; in isTvOS()
439 return getOS() == Triple::WatchOS; in isWatchOS()
452 return getOS() == Triple::NetBSD; in isOSNetBSD()
456 return getOS() == Triple::OpenBSD; in isOSOpenBSD()
460 return getOS() == Triple::FreeBSD; in isOSFreeBSD()
463 bool isOSDragonFly() const { return getOS() == Triple::DragonFly; } in isOSDragonFly()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTriple.h306 OSType getOS() const { return OS; } in getOS() function
444 if (getOS() == Triple::MacOSX)
455 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX()
464 return getOS() == Triple::IOS || isTvOS(); in isiOS()
469 return getOS() == Triple::TvOS; in isTvOS()
474 return getOS() == Triple::WatchOS; in isWatchOS()
495 return getOS() == Triple::NetBSD; in isOSNetBSD()
499 return getOS() == Triple::OpenBSD; in isOSOpenBSD()
503 return getOS() == Triple::FreeBSD; in isOSFreeBSD()
507 return getOS() == Triple::Fuchsia; in isOSFuchsia()
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DTriple.h311 OSType getOS() const { return OS; } in getOS() function
450 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX()
459 return getOS() == Triple::IOS || isTvOS(); in isiOS()
464 return getOS() == Triple::TvOS; in isTvOS()
469 return getOS() == Triple::WatchOS; in isWatchOS()
476 bool isOSzOS() const { return getOS() == Triple::ZOS; } in isOSzOS()
498 return getOS() == Triple::NetBSD; in isOSNetBSD()
502 return getOS() == Triple::OpenBSD; in isOSOpenBSD()
506 return getOS() == Triple::FreeBSD; in isOSFreeBSD()
510 return getOS() == Triple::Fuchsia; in isOSFuchsia()
[all …]
/external/llvm-project/llvm/unittests/ADT/
DTripleTest.cpp81 EXPECT_EQ(Triple::Darwin, T.getOS()); in TEST()
87 EXPECT_EQ(Triple::ELFIAMCU, T.getOS()); in TEST()
93 EXPECT_EQ(Triple::Contiki, T.getOS()); in TEST()
99 EXPECT_EQ(Triple::Hurd, T.getOS()); in TEST()
105 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST()
111 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST()
117 EXPECT_EQ(Triple::AIX, T.getOS()); in TEST()
123 EXPECT_EQ(Triple::AIX, T.getOS()); in TEST()
129 EXPECT_EQ(Triple::UnknownOS, T.getOS()); in TEST()
136 EXPECT_EQ(Triple::FreeBSD, T.getOS()); in TEST()
[all …]
/external/llvm/unittests/ADT/
DTripleTest.cpp81 EXPECT_EQ(Triple::Darwin, T.getOS()); in TEST()
87 EXPECT_EQ(Triple::ELFIAMCU, T.getOS()); in TEST()
93 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST()
99 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST()
105 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST()
111 EXPECT_EQ(Triple::CNK, T.getOS()); in TEST()
117 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST()
123 EXPECT_EQ(Triple::AIX, T.getOS()); in TEST()
129 EXPECT_EQ(Triple::AIX, T.getOS()); in TEST()
135 EXPECT_EQ(Triple::UnknownOS, T.getOS()); in TEST()
[all …]
/external/llvm-project/lldb/unittests/Utility/
DArchSpecTest.cpp121 EXPECT_EQ(llvm::Triple::Win32, AS.GetTriple().getOS()); in TEST()
147 EXPECT_EQ(llvm::Triple::OSType::Linux, B.GetTriple().getOS()); in TEST()
154 EXPECT_EQ(llvm::Triple::OSType::Linux, A.GetTriple().getOS()); in TEST()
172 EXPECT_EQ(llvm::Triple::OSType::Linux, B.GetTriple().getOS()); in TEST()
180 EXPECT_EQ(llvm::Triple::OSType::Linux, A.GetTriple().getOS()); in TEST()
187 EXPECT_EQ(llvm::Triple::OSType::WatchOS, D.GetTriple().getOS()); in TEST()
193 EXPECT_EQ(llvm::Triple::OSType::WatchOS, C.GetTriple().getOS()); in TEST()
208 EXPECT_EQ(llvm::Triple::OSType::Linux, B.GetTriple().getOS()); in TEST()
216 EXPECT_EQ(llvm::Triple::OSType::Linux, A.GetTriple().getOS()); in TEST()
238 EXPECT_EQ(llvm::Triple::OSType::Linux, A.GetTriple().getOS()); in TEST()
[all …]
/external/llvm-project/lldb/unittests/Host/
DHostInfoTest.cpp39 EXPECT_EQ(spec.GetTriple().getOS(), triple.getOS()); in TEST_F()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsAsmBackend.cpp486 return new MipsAsmBackend(T, TT.getOS(), /*IsLittle*/ true, in createMipsAsmBackendEL32()
493 return new MipsAsmBackend(T, TT.getOS(), /*IsLittle*/ false, in createMipsAsmBackendEB32()
500 return new MipsAsmBackend(T, TT.getOS(), /*IsLittle*/ true, /*Is64Bit*/ true); in createMipsAsmBackendEL64()
506 return new MipsAsmBackend(T, TT.getOS(), /*IsLittle*/ false, in createMipsAsmBackendEB64()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.cpp111 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) { in AMDGPUAsmPrinter()
143 if (TM.getTargetTriple().getOS() != Triple::AMDHSA && in emitStartOfAsmFile()
144 TM.getTargetTriple().getOS() != Triple::AMDPAL) in emitStartOfAsmFile()
147 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) in emitStartOfAsmFile()
150 if (TM.getTargetTriple().getOS() == Triple::AMDPAL) in emitStartOfAsmFile()
157 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) in emitStartOfAsmFile()
171 if (TM.getTargetTriple().getOS() != Triple::AMDHSA || in emitEndOfAsmFile()
181 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) { in emitEndOfAsmFile()
227 if (TM.getTargetTriple().getOS() != Triple::AMDHSA || in emitFunctionBodyEnd()
263 if (TM.getTargetTriple().getOS() == Triple::AMDHSA && in emitFunctionEntryLabel()
[all …]
/external/llvm-project/llvm/lib/Support/
DTriple.cpp1079 StringRef OSTypeName = getOSTypeName(getOS()); in getOSVersion()
1082 else if (getOS() == MacOSX) in getOSVersion()
1092 switch (getOS()) { in getMacOSXVersion()
1137 switch (getOS()) { in getiOSVersion()
1163 switch (getOS()) { in getWatchOSVersion()
1601 getVendor() == Other.getVendor() && getOS() == Other.getOS(); in isCompatibleWith()
1604 getVendor() == Other.getVendor() && getOS() == Other.getOS() && in isCompatibleWith()
1612 getVendor() == Other.getVendor() && getOS() == Other.getOS(); in isCompatibleWith()
1631 if (getOS() == Triple::MacOSX) in isMacOSXVersionLT()
1646 switch (getOS()) { in getMinimumSupportedOSVersion()
[all …]
/external/llvm-project/lldb/source/Plugins/Process/Utility/
DRegisterContextPOSIX_mips64.cpp104 switch (target_arch.GetTriple().getOS()) { in GetRegisterSetCount()
127 switch (target_arch.GetTriple().getOS()) { in GetRegisterSet()
/external/llvm-project/lldb/source/Target/
DAssertFrameRecognizer.cpp90 llvm::Triple::OSType os = target.GetArchitecture().GetTriple().getOS(); in RegisterAssertFrameRecognizer()
109 llvm::Triple::OSType os = target.GetArchitecture().GetTriple().getOS(); in RecognizeFrame()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.cpp132 if (TM.getTargetTriple().getOS() != Triple::AMDHSA && in EmitStartOfAsmFile()
133 TM.getTargetTriple().getOS() != Triple::AMDPAL) in EmitStartOfAsmFile()
136 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) in EmitStartOfAsmFile()
139 if (TM.getTargetTriple().getOS() == Triple::AMDPAL) in EmitStartOfAsmFile()
146 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) in EmitStartOfAsmFile()
169 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) { in EmitEndOfAsmFile()
216 TM.getTargetTriple().getOS() != Triple::AMDHSA) in EmitFunctionBodyEnd()
252 TM.getTargetTriple().getOS() == Triple::AMDHSA) { in EmitFunctionEntryLabel()
297 const Triple::OSType OS = TM.getTargetTriple().getOS(); in EmitGlobalVariable()
332 (STI.getTargetTriple().getOS() == Triple::AMDHSA || in doFinalization()
[all …]
/external/llvm-project/llvm/unittests/Support/
DHost.cpp362 ASSERT_EQ(HostTriple.getOS(), Triple::AIX); in TEST_F()
365 ASSERT_EQ(ConfiguredHostTriple.getOS(), Triple::AIX); in TEST_F()
388 if (TargetTriple.getOS() != Triple::AIX) in TEST_F()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp31 T.getOS() == llvm::Triple::CloudABI || in isArc4RandomAvailable()
32 T.getOS() == llvm::Triple::FreeBSD || in isArc4RandomAvailable()
33 T.getOS() == llvm::Triple::NetBSD || in isArc4RandomAvailable()
34 T.getOS() == llvm::Triple::OpenBSD || in isArc4RandomAvailable()
35 T.getOS() == llvm::Triple::Bitrig || in isArc4RandomAvailable()
36 T.getOS() == llvm::Triple::DragonFly; in isArc4RandomAvailable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTriple.cpp1069 StringRef OSTypeName = getOSTypeName(getOS()); in getOSVersion()
1072 else if (getOS() == MacOSX) in getOSVersion()
1082 switch (getOS()) { in getMacOSXVersion()
1121 switch (getOS()) { in getiOSVersion()
1147 switch (getOS()) { in getWatchOSVersion()
1580 getVendor() == Other.getVendor() && getOS() == Other.getOS(); in isCompatibleWith()
1583 getVendor() == Other.getVendor() && getOS() == Other.getOS() && in isCompatibleWith()
1591 getVendor() == Other.getVendor() && getOS() == Other.getOS(); in isCompatibleWith()
1611 switch (getOS()) { in getARMCPUForArch()
1640 switch (getOS()) { in getARMCPUForArch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DHost.inc54 if (Triple(LLVM_HOST_TRIPLE).getOS() == Triple::AIX) {
56 if (TT.getOS() == Triple::AIX && !TT.getOSMajorVersion()) {
/external/llvm-project/lldb/source/Interpreter/
DCommandOptionValidators.cpp20 platform.GetSystemArchitecture().GetTriple().getOS(); in IsValid()
/external/llvm-project/llvm/lib/Support/Unix/
DHost.inc54 if (Triple(LLVM_HOST_TRIPLE).getOS() == Triple::AIX) {
56 if (TT.getOS() == Triple::AIX && !TT.getOSMajorVersion()) {
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUAsmBackend.cpp208 HasRelocationAddend(TT.getOS() == Triple::AMDHSA), in ELFAMDGPUAsmBackend()
210 switch (TT.getOS()) { in ELFAMDGPUAsmBackend()
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUAsmBackend.cpp210 HasRelocationAddend(TT.getOS() == Triple::AMDHSA), in ELFAMDGPUAsmBackend()
212 switch (TT.getOS()) { in ELFAMDGPUAsmBackend()
/external/llvm-project/lldb/source/Plugins/Process/elf-core/
DRegisterUtilities.cpp18 if (Entry.OS != Triple.getOS()) in getNoteType()
/external/llvm-project/clang/lib/Basic/Targets/
DSparc.cpp150 if (getTriple().getOS() == llvm::Triple::Solaris) in getTargetDefines()
245 if (getTriple().getOS() != llvm::Triple::Solaris) { in getTargetDefines()
/external/llvm-project/clang/lib/Driver/ToolChains/
DWebAssembly.cpp166 if (getTriple().getOS() == llvm::Triple::UnknownOS) { in WebAssembly()
341 if (getTriple().getOS() != llvm::Triple::UnknownOS) { in AddClangSystemIncludeArgs()
353 if (getTriple().getOS() != llvm::Triple::UnknownOS) { in AddClangCXXStdlibIncludeArgs()
/external/llvm-project/clang/lib/Driver/ToolChains/Arch/
DRISCV.cpp619 if (Triple.getOS() == llvm::Triple::UnknownOS) in getRISCVABI()
624 if (Triple.getOS() == llvm::Triple::UnknownOS) in getRISCVABI()
697 if (Triple.getOS() == llvm::Triple::UnknownOS) in getRISCVArch()
702 if (Triple.getOS() == llvm::Triple::UnknownOS) in getRISCVArch()

123456789