/external/llvm/include/llvm/ADT/ |
D | Triple.h | 260 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/ |
D | TripleTest.cpp | 81 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/ |
D | MipsAsmBackend.cpp | 445 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/ |
D | CheckSecuritySyntaxOnly.cpp | 31 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/ |
D | ARMMCAsmInfo.cpp | 61 switch (TheTriple.getOS()) { in ARMELFMCAsmInfo()
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTestAPICommon.h | 85 if (std::find(UnsupportedOSs.begin(), UnsupportedOSs.end(), Host.getOS()) in OSSupportsMCJIT()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAnnotateKernelFeatures.cpp | 118 if (TT.getOS() == Triple::AMDHSA) in runOnModule()
|
D | AMDGPUSubtarget.h | 284 return TargetTriple.getOS() == Triple::AMDHSA; in isAmdHsaOS()
|
D | AMDGPUTargetMachine.cpp | 58 if (TT.getOS() == Triple::AMDHSA) in createTLOF()
|
/external/llvm/lib/Target/SystemZ/MCTargetDesc/ |
D | SystemZMCAsmBackend.cpp | 115 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS()); in createSystemZMCAsmBackend()
|
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | AMDGPUMCTargetDesc.cpp | 92 if (T.getOS() == Triple::AMDHSA) in createMCStreamer()
|
/external/llvm/lib/Support/ |
D | Triple.cpp | 923 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/ |
D | InitHeaderSearch.cpp | 208 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/ |
D | Targets.cpp | 145 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/ |
D | ThreadPool.cpp | 38 if (std::find(UnsupportedOSs.begin(), UnsupportedOSs.end(), Host.getOS()) in isUnsupportedOSOrEnvironment()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64AsmBackend.cpp | 530 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/ |
D | PPCAsmBackend.cpp | 237 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS()); in createPPCAsmBackend()
|
/external/llvm/lib/Analysis/ |
D | TargetLibraryInfo.cpp | 284 switch (T.getOS()) { in initialize() 331 switch (T.getOS()) { in initialize() 347 switch (T.getOS()) { in initialize()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetMachine.cpp | 99 if (TT.getOS() == Triple::NVCL) in NVPTXTargetMachine()
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcAsmBackend.cpp | 303 return new ELFSparcAsmBackend(T, TT.getOS()); in createSparcAsmBackend()
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonAsmBackend.cpp | 357 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS()); in createHexagonAsmBackend()
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86AsmBackend.cpp | 827 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/ |
D | ARCMT.cpp | 159 if (triple.getOS() == llvm::Triple::Darwin) in HasARCRuntime() 162 if (triple.getOS() == llvm::Triple::MacOSX) { in HasARCRuntime()
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 134 StringRef getOS() const { return Triple.getOSName(); } in getOS() function
|
/external/llvm/tools/llc/ |
D | llc.cpp | 307 GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0]); in compileModule()
|