Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DTriple.h279 OSType getOS() const { return OS; } in getOS() function
417 if (getOS() == Triple::MacOSX)
428 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX()
437 return getOS() == Triple::IOS || isTvOS(); in isiOS()
442 return getOS() == Triple::TvOS; in isTvOS()
447 return getOS() == Triple::WatchOS; in isWatchOS()
460 return getOS() == Triple::NetBSD; in isOSNetBSD()
464 return getOS() == Triple::OpenBSD; in isOSOpenBSD()
468 return getOS() == Triple::FreeBSD; in isOSFreeBSD()
472 return getOS() == Triple::Fuchsia; in isOSFuchsia()
[all …]
/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-7.0/llvm/include/llvm/ADT/
DTriple.h294 OSType getOS() const { return OS; } in getOS() function
432 if (getOS() == Triple::MacOSX)
443 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX()
452 return getOS() == Triple::IOS || isTvOS(); in isiOS()
457 return getOS() == Triple::TvOS; in isTvOS()
462 return getOS() == Triple::WatchOS; in isWatchOS()
479 return getOS() == Triple::NetBSD; in isOSNetBSD()
483 return getOS() == Triple::OpenBSD; in isOSOpenBSD()
487 return getOS() == Triple::FreeBSD; in isOSFreeBSD()
491 return getOS() == Triple::Fuchsia; in isOSFuchsia()
[all …]
/external/swiftshader/third_party/llvm-7.0/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::Linux, 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::CNK, T.getOS()); in TEST()
123 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST()
129 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST()
135 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DTriple.h179 OSType getOS() const { in getOS() function
260 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX()
265 return isMacOSX() || getOS() == Triple::IOS; in isOSDarwin()
270 return getOS() == Triple::Win32 || getOS() == Triple::Cygwin || in isOSWindows()
271 getOS() == Triple::MinGW32; in isOSWindows()
282 if (getOS() == Triple::MacOSX)
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86Subtarget.h204 return TargetTriple.getOS() == Triple::FreeBSD; in isTargetFreeBSD()
207 return TargetTriple.getOS() == Triple::Solaris; in isTargetSolaris()
215 bool isTargetLinux() const { return TargetTriple.getOS() == Triple::Linux; } in isTargetLinux()
217 return TargetTriple.getOS() == Triple::NativeClient; in isTargetNaCl()
222 bool isTargetWindows() const { return TargetTriple.getOS() == Triple::Win32; } in isTargetWindows()
223 bool isTargetMingw() const { return TargetTriple.getOS() == Triple::MinGW32; } in isTargetMingw()
224 bool isTargetCygwin() const { return TargetTriple.getOS() == Triple::Cygwin; } in isTargetCygwin()
/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/swiftshader/third_party/LLVM/unittests/ADT/
DTripleTest.cpp81 EXPECT_EQ(Triple::Darwin, T.getOS()); in TEST()
87 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST()
93 EXPECT_EQ(Triple::UnknownOS, T.getOS()); in TEST()
99 EXPECT_EQ(Triple::UnknownOS, T.getOS()); in TEST()
232 EXPECT_EQ(Triple::UnknownOS, T.getOS()); in TEST()
247 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST()
253 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST()
259 EXPECT_EQ(Triple::FreeBSD, T.getOS()); in TEST()
265 EXPECT_EQ(Triple::Darwin, T.getOS()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.cpp120 TM.getTargetTriple().getOS() == Triple::AMDHSA) in EmitStartOfAsmFile()
123 if (TM.getTargetTriple().getOS() != Triple::AMDHSA && in EmitStartOfAsmFile()
124 TM.getTargetTriple().getOS() != Triple::AMDPAL) in EmitStartOfAsmFile()
127 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) in EmitStartOfAsmFile()
130 if (TM.getTargetTriple().getOS() == Triple::AMDPAL) in EmitStartOfAsmFile()
134 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) in EmitStartOfAsmFile()
146 TM.getTargetTriple().getOS() == Triple::AMDHSA) in EmitEndOfAsmFile()
160 if (TM.getTargetTriple().getOS() == Triple::AMDHSA) { in EmitEndOfAsmFile()
166 if (TM.getTargetTriple().getOS() == Triple::AMDPAL) { in EmitEndOfAsmFile()
197 TM.getTargetTriple().getOS() == Triple::AMDHSA) in EmitFunctionBodyStart()
[all …]
DAMDGPUSubtarget.h122 return TargetTriple.getOS() == Triple::AMDHSA; in isAmdHsaOS()
126 return TargetTriple.getOS() == Triple::AMDPAL; in isAmdPalOS()
130 return TargetTriple.getOS() == Triple::Mesa3D; in isMesa3DOS()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DTriple.cpp1017 StringRef OSTypeName = getOSTypeName(getOS()); in getOSVersion()
1020 else if (getOS() == MacOSX) in getOSVersion()
1030 switch (getOS()) { in getMacOSXVersion()
1069 switch (getOS()) { in getiOSVersion()
1095 switch (getOS()) { in getWatchOSVersion()
1524 getVendor() == Other.getVendor() && getOS() == Other.getOS(); in isCompatibleWith()
1527 getVendor() == Other.getVendor() && getOS() == Other.getOS() && in isCompatibleWith()
1535 getVendor() == Other.getVendor() && getOS() == Other.getOS(); in isCompatibleWith()
1555 switch (getOS()) { in getARMCPUForArch()
1584 switch (getOS()) { in getARMCPUForArch()
/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-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUAsmBackend.cpp180 HasRelocationAddend(TT.getOS() == Triple::AMDHSA) { in ELFAMDGPUAsmBackend()
181 switch (TT.getOS()) { in ELFAMDGPUAsmBackend()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestAPICommon.h84 if (!is_contained(UnsupportedOSs, Host.getOS())) in OSSupportsMCJIT()
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetLibraryInfo.cpp34 } else if (T.getOS() == Triple::IOS) { in initialize()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp37 if ( T.getOS() == Triple::OSType::Win32 ) { in createLocalCompileCallbackManager()
60 if (T.getOS() == Triple::OSType::Win32) { in createLocalIndirectStubsManagerBuilder()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp60 switch (TheTriple.getOS()) { in ARMELFMCAsmInfo()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp60 switch (TheTriple.getOS()) { in ARMELFMCAsmInfo()
/external/swiftshader/third_party/LLVM/lib/Target/Mips/MCTargetDesc/
DMipsAsmBackend.cpp116 return new MipsEL_AsmBackend(T, Triple(TT).getOS()); in createMipsAsmBackend()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestAPICommon.h85 if (std::find(UnsupportedOSs.begin(), UnsupportedOSs.end(), Host.getOS()) in OSSupportsMCJIT()
/external/clang/lib/Basic/
DTargets.cpp148 PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in getDarwinDefines()
1178 if (getTriple().getOS() != llvm::Triple::NetBSD && in getTargetDefines()
1179 getTriple().getOS() != llvm::Triple::OpenBSD) in getTargetDefines()
1584 switch (getTriple().getOS()) { in PPC32TargetInfo()
1596 if (getTriple().getOS() == llvm::Triple::FreeBSD) { in PPC32TargetInfo()
1629 switch (getTriple().getOS()) { in PPC64TargetInfo()
4632 if (T.isOSBinFormatMachO() || T.getOS() == llvm::Triple::NetBSD || in setABIAAPCS()
4633 T.getOS() == llvm::Triple::Bitrig) in setABIAAPCS()
4638 switch (T.getOS()) { in setABIAAPCS()
4695 if (T.getOS() == llvm::Triple::FreeBSD) in setABIAPCS()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp107 if (T.getOS() == Triple::OpenBSD && T.getArch() == Triple::x86) in X86ELFMCAsmInfo()
DX86MCTargetDesc.cpp52 if (TheTriple.getOS() == Triple::NativeClient) in ParseX86Triple()
134 if (TheTriple.getOS() == Triple::MinGW32 || in getDwarfRegFlavour()
135 TheTriple.getOS() == Triple::Cygwin) in getDwarfRegFlavour()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCObjectFileInfo.cpp523 (T.getOS() == Triple::MinGW32 || T.getOS() == Triple::Cygwin || in InitMCObjectFileInfo()
524 T.getOS() == Triple::Win32)) { in InitMCObjectFileInfo()

12345