Home
last modified time | relevance | path

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

1234

/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/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/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-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 …]
DAMDGPUSubtarget.h124 return TargetTriple.getOS() == Triple::AMDHSA; in isAmdHsaOS()
128 return TargetTriple.getOS() == Triple::AMDPAL; in isAmdPalOS()
132 return TargetTriple.getOS() == Triple::Mesa3D; in isMesa3DOS()
/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/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/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/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp60 switch (TheTriple.getOS()) { in ARMELFMCAsmInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp65 switch (TheTriple.getOS()) { in ARMELFMCAsmInfo()
/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-10.0/llvm/lib/TextAPI/MachO/
DPlatform.cpp35 switch (Target.getOS()) { in mapToPlatformKind()
/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/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUMCTargetDesc.cpp82 if (T.getOS() == Triple::AMDHSA) in createMCStreamer()
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmBackend.cpp116 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS()); in createSystemZMCAsmBackend()
/external/clang/lib/Frontend/
DInitHeaderSearch.cpp209 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCIncludePaths()
356 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCPlusPlusIncludePaths()
441 switch (triple.getOS()) { in AddDefaultIncludePaths()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmBackend.cpp131 MCELFObjectTargetWriter::getOSABI(STI.getTargetTriple().getOS()); in createSystemZMCAsmBackend()
/external/llvm/lib/Support/
DTriple.cpp953 StringRef OSTypeName = getOSTypeName(getOS()); in getOSVersion()
964 switch (getOS()) { in getMacOSXVersion()
1003 switch (getOS()) { in getiOSVersion()
1029 switch (getOS()) { in getWatchOSVersion()
1433 switch (getOS()) { in getARMCPUForArch()
1462 switch (getOS()) { in getARMCPUForArch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiAsmBackend.cpp176 return new LanaiAsmBackend(T, TT.getOS()); in createLanaiAsmBackend()
/external/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiAsmBackend.cpp168 return new LanaiAsmBackend(T, TheTriple.getOS()); in createLanaiAsmBackend()
/external/llvm/unittests/Support/
DThreadPool.cpp38 if (std::find(UnsupportedOSs.begin(), UnsupportedOSs.end(), Host.getOS()) in isUnsupportedOSOrEnvironment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp153 if ( T.getOS() == Triple::OSType::Win32 ) { in createLocalCompileCallbackManager()
207 if (T.getOS() == Triple::OSType::Win32) { in createLocalIndirectStubsManagerBuilder()

1234