Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/ADT/
DTriple.h260 OSType getOS() const { return OS; } in getOS() function
398 if (getOS() == Triple::MacOSX)
409 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX()
418 return getOS() == Triple::IOS || isTvOS(); in isiOS()
423 return getOS() == Triple::TvOS; in isTvOS()
428 return getOS() == Triple::WatchOS; in isWatchOS()
437 return getOS() == Triple::NetBSD; in isOSNetBSD()
441 return getOS() == Triple::OpenBSD; in isOSOpenBSD()
445 return getOS() == Triple::FreeBSD; in isOSFreeBSD()
448 bool isOSDragonFly() const { return getOS() == Triple::DragonFly; } in isOSDragonFly()
[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::CNK, 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()
135 EXPECT_EQ(Triple::UnknownOS, T.getOS()); in TEST()
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsAsmBackend.cpp445 return new MipsAsmBackend(T, TT.getOS(), /*IsLittle*/ true, in createMipsAsmBackendEL32()
452 return new MipsAsmBackend(T, TT.getOS(), /*IsLittle*/ false, in createMipsAsmBackendEB32()
459 return new MipsAsmBackend(T, TT.getOS(), /*IsLittle*/ true, /*Is64Bit*/ true); in createMipsAsmBackendEL64()
465 return new MipsAsmBackend(T, TT.getOS(), /*IsLittle*/ false, in createMipsAsmBackendEB64()
/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/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp61 switch (TheTriple.getOS()) { in ARMELFMCAsmInfo()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestAPICommon.h85 if (std::find(UnsupportedOSs.begin(), UnsupportedOSs.end(), Host.getOS()) in OSSupportsMCJIT()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateKernelFeatures.cpp118 if (TT.getOS() == Triple::AMDHSA) in runOnModule()
DAMDGPUSubtarget.h284 return TargetTriple.getOS() == Triple::AMDHSA; in isAmdHsaOS()
DAMDGPUTargetMachine.cpp58 if (TT.getOS() == Triple::AMDHSA) in createTLOF()
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmBackend.cpp115 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS()); in createSystemZMCAsmBackend()
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUMCTargetDesc.cpp92 if (T.getOS() == Triple::AMDHSA) in createMCStreamer()
/external/llvm/lib/Support/
DTriple.cpp923 StringRef OSTypeName = getOSTypeName(getOS()); in getOSVersion()
934 switch (getOS()) { in getMacOSXVersion()
973 switch (getOS()) { in getiOSVersion()
999 switch (getOS()) { in getWatchOSVersion()
1389 switch (getOS()) { in getARMCPUForArch()
1417 switch (getOS()) { in getARMCPUForArch()
/external/clang/lib/Frontend/
DInitHeaderSearch.cpp208 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCIncludePaths()
354 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCPlusPlusIncludePaths()
442 switch (triple.getOS()) { in AddDefaultIncludePaths()
/external/clang/lib/Basic/
DTargets.cpp145 PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in getDarwinDefines()
1101 if (getTriple().getOS() != llvm::Triple::NetBSD && in getTargetDefines()
1102 getTriple().getOS() != llvm::Triple::OpenBSD) in getTargetDefines()
1479 switch (getTriple().getOS()) { in PPC32TargetInfo()
1491 if (getTriple().getOS() == llvm::Triple::FreeBSD) { in PPC32TargetInfo()
1523 switch (getTriple().getOS()) { in PPC64TargetInfo()
4256 if (T.isOSBinFormatMachO() || T.getOS() == llvm::Triple::NetBSD || in setABIAAPCS()
4257 T.getOS() == llvm::Triple::Bitrig) in setABIAAPCS()
4262 switch (T.getOS()) { in setABIAAPCS()
4319 if (T.getOS() == llvm::Triple::FreeBSD) in setABIAPCS()
[all …]
/external/llvm/unittests/Support/
DThreadPool.cpp38 if (std::find(UnsupportedOSs.begin(), UnsupportedOSs.end(), Host.getOS()) in isUnsupportedOSOrEnvironment()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp530 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createAArch64leAsmBackend()
540 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createAArch64beAsmBackend()
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCAsmBackend.cpp237 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS()); in createPPCAsmBackend()
/external/llvm/lib/Analysis/
DTargetLibraryInfo.cpp284 switch (T.getOS()) { in initialize()
331 switch (T.getOS()) { in initialize()
347 switch (T.getOS()) { in initialize()
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetMachine.cpp99 if (TT.getOS() == Triple::NVCL) in NVPTXTargetMachine()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcAsmBackend.cpp303 return new ELFSparcAsmBackend(T, TT.getOS()); in createSparcAsmBackend()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonAsmBackend.cpp357 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS()); in createHexagonAsmBackend()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp827 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createX86_32AsmBackend()
850 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createX86_64AsmBackend()
/external/clang/lib/ARCMigrate/
DARCMT.cpp159 if (triple.getOS() == llvm::Triple::Darwin) in HasARCRuntime()
162 if (triple.getOS() == llvm::Triple::MacOSX) { in HasARCRuntime()
/external/clang/include/clang/Driver/
DToolChain.h134 StringRef getOS() const { return Triple.getOSName(); } in getOS() function
/external/llvm/tools/llc/
Dllc.cpp307 GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0]); in compileModule()

12