/external/llvm/include/llvm/ADT/ |
D | Triple.h | 163 OSType getOS() const { return OS; } in getOS() function 273 if (getOS() == Triple::MacOSX) 284 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX; in isMacOSX() 289 return isMacOSX() || getOS() == Triple::IOS; in isOSDarwin() 294 return getOS() == Triple::Cygwin || getOS() == Triple::MinGW32; in isOSCygMing() 299 return getOS() == Triple::Win32 || isOSCygMing(); in isOSWindows()
|
/external/llvm/lib/Target/X86/ |
D | X86Subtarget.h | 229 return TargetTriple.getOS() == Triple::FreeBSD; in isTargetFreeBSD() 232 return TargetTriple.getOS() == Triple::Solaris; in isTargetSolaris() 238 bool isTargetLinux() const { return TargetTriple.getOS() == Triple::Linux; } in isTargetLinux() 240 return TargetTriple.getOS() == Triple::NativeClient; in isTargetNaCl() 244 bool isTargetWindows() const { return TargetTriple.getOS() == Triple::Win32; } in isTargetWindows() 245 bool isTargetMingw() const { return TargetTriple.getOS() == Triple::MinGW32; } in isTargetMingw() 246 bool isTargetCygwin() const { return TargetTriple.getOS() == Triple::Cygwin; } in isTargetCygwin()
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsAsmBackend.cpp | 217 return new MipsAsmBackend(T, Triple(TT).getOS(), in createMipsAsmBackendEL32() 222 return new MipsAsmBackend(T, Triple(TT).getOS(), in createMipsAsmBackendEB32() 227 return new MipsAsmBackend(T, Triple(TT).getOS(), in createMipsAsmBackendEL64() 232 return new MipsAsmBackend(T, Triple(TT).getOS(), in createMipsAsmBackendEB64()
|
/external/llvm/unittests/ADT/ |
D | TripleTest.cpp | 81 EXPECT_EQ(Triple::Darwin, T.getOS()); in TEST() 87 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST() 93 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST() 99 EXPECT_EQ(Triple::CNK, T.getOS()); in TEST() 105 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST() 111 EXPECT_EQ(Triple::UnknownOS, T.getOS()); in TEST() 117 EXPECT_EQ(Triple::UnknownOS, T.getOS()); in TEST() 241 EXPECT_EQ(Triple::UnknownOS, T.getOS()); in TEST() 256 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST() 262 EXPECT_EQ(Triple::Linux, T.getOS()); in TEST() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMSubtarget.h | 228 bool isTargetIOS() const { return TargetTriple.getOS() == Triple::IOS; } in isTargetIOS() 231 return TargetTriple.getOS() == Triple::NativeClient; in isTargetNaCl()
|
/external/llvm/lib/MC/ |
D | MCObjectFileInfo.cpp | 265 if (T.getOS() == Triple::Solaris) { in InitELFMCObjectFileInfo() 417 if (T.getOS() == Triple::Win32) { in InitCOFFMCObjectFileInfo() 562 (T.getOS() == Triple::MinGW32 || T.getOS() == Triple::Cygwin || in InitMCObjectFileInfo() 563 T.getOS() == Triple::Win32)) { in InitMCObjectFileInfo()
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCTargetDesc.cpp | 205 if (TheTriple.getOS() == Triple::MinGW32 || in getDwarfRegFlavour() 206 TheTriple.getOS() == Triple::Cygwin) in getDwarfRegFlavour() 382 } else if (TheTriple.getOS() == Triple::Win32) { in createX86MCAsmInfo() 384 } else if (TheTriple.getOS() == Triple::MinGW32 || TheTriple.getOS() == Triple::Cygwin) { in createX86MCAsmInfo()
|
D | X86MCAsmInfo.cpp | 111 if (T.getOS() == Triple::OpenBSD && T.getArch() == Triple::x86) in X86ELFMCAsmInfo()
|
D | X86AsmBackend.cpp | 451 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createX86_32AsmBackend() 464 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createX86_64AsmBackend()
|
/external/llvm/lib/Target/ |
D | TargetLibraryInfo.cpp | 137 } else if (T.getOS() == Triple::IOS) { in initialize() 162 if (T.getOS() == Triple::Win32) { in initialize()
|
/external/clang/lib/Frontend/ |
D | InitHeaderSearch.cpp | 207 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCIncludePaths() 328 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCPlusPlusIncludePaths() 441 switch (triple.getOS()) { in AddDefaultIncludePaths() 469 if (triple.getOS() == llvm::Triple::Solaris) in AddDefaultIncludePaths()
|
/external/clang/lib/Sema/ |
D | TargetAttributesSema.cpp | 241 if (Triple.getOS() == llvm::Triple::Win32 || in ProcessDeclAttribute() 242 Triple.getOS() == llvm::Triple::MinGW32) { in ProcessDeclAttribute()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckSecuritySyntaxOnly.cpp | 31 T.getOS() == llvm::Triple::FreeBSD || in isArc4RandomAvailable() 32 T.getOS() == llvm::Triple::NetBSD || in isArc4RandomAvailable() 33 T.getOS() == llvm::Triple::OpenBSD || in isArc4RandomAvailable() 34 T.getOS() == llvm::Triple::DragonFly; in isArc4RandomAvailable()
|
D | CallAndMessageChecker.cpp | 321 (triple.getOS() == llvm::Triple::IOS || in supportsNilWithFloatRet()
|
/external/llvm/lib/Target/MBlaze/MCTargetDesc/ |
D | MBlazeMCTargetDesc.cpp | 58 switch (TheTriple.getOS()) { in createMCAsmInfo()
|
D | MBlazeAsmBackend.cpp | 168 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createMBlazeAsmBackend()
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCAsmBackend.cpp | 188 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(Triple(TT).getOS()); in createPPCAsmBackend()
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 171 if (triple.getOS() == llvm::Triple::IOS) in HasARCRuntime() 174 if (triple.getOS() == llvm::Triple::Darwin) in HasARCRuntime() 177 if (triple.getOS() == llvm::Triple::MacOSX) { in HasARCRuntime()
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 85 StringRef getOS() const { return Triple.getOSName(); } in getOS() function
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 127 PlatformName = llvm::Triple::getOSTypeName(Triple.getOS()); in getDarwinDefines() 139 if (Triple.getOS() == llvm::Triple::IOS) { in getDarwinDefines() 730 if (getTriple().getOS() != llvm::Triple::NetBSD) in getTargetDefines() 863 switch (getTriple().getOS()) { in PPC32TargetInfo() 875 if (getTriple().getOS() == llvm::Triple::FreeBSD) { in PPC32TargetInfo() 905 if (getTriple().getOS() == llvm::Triple::FreeBSD) { in PPC64TargetInfo() 3910 llvm::Triple::OSType os = Triple.getOS(); in AllocateTarget()
|
/external/llvm/lib/Support/ |
D | Triple.cpp | 526 StringRef OSTypeName = getOSTypeName(getOS()); in getOSVersion() 552 switch (getOS()) { in getMacOSXVersion()
|
/external/clang/lib/Driver/ |
D | Tools.cpp | 597 switch (Triple.getOS()) { in getARMFloatABI() 916 switch (getToolChain().getTriple().getOS()) { in AddSparcTargetArgs() 975 } else if (getToolChain().getOS().startswith("haiku")) { in AddX86TargetArgs() 980 } else if (getToolChain().getOS().startswith("openbsd")) { in AddX86TargetArgs() 985 } else if (getToolChain().getOS().startswith("freebsd")) { in AddX86TargetArgs() 990 } else if (getToolChain().getOS().startswith("netbsd")) { in AddX86TargetArgs() 1299 Triple.getOS() == llvm::Triple::Linux) { in shouldUseFramePointer() 1447 if (getToolChain().getTriple().getOS() != llvm::Triple::Win32) in ConstructJob() 2251 getToolChain().getTriple().getOS() != llvm::Triple::Cygwin && in ConstructJob() 2252 getToolChain().getTriple().getOS() != llvm::Triple::MinGW32 && in ConstructJob() [all …]
|
D | Driver.cpp | 1626 Target.getOS() == llvm::Triple::AuroraUX || in computeTargetTriple() 1627 Target.getOS() == llvm::Triple::Minix) in computeTargetTriple() 1656 switch (Target.getOS()) { in getToolChain()
|
/external/llvm/tools/llc/ |
D | llc.cpp | 478 (GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0])); in main()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAsmBackend.cpp | 651 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(Triple(TT).getOS()); in createARMAsmBackend()
|