Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/ADT/
DTriple.h163 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/
DX86Subtarget.h229 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/
DMipsAsmBackend.cpp217 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/
DTripleTest.cpp81 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/
DARMSubtarget.h228 bool isTargetIOS() const { return TargetTriple.getOS() == Triple::IOS; } in isTargetIOS()
231 return TargetTriple.getOS() == Triple::NativeClient; in isTargetNaCl()
/external/llvm/lib/MC/
DMCObjectFileInfo.cpp265 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/
DX86MCTargetDesc.cpp205 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()
DX86MCAsmInfo.cpp111 if (T.getOS() == Triple::OpenBSD && T.getArch() == Triple::x86) in X86ELFMCAsmInfo()
DX86AsmBackend.cpp451 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/
DTargetLibraryInfo.cpp137 } else if (T.getOS() == Triple::IOS) { in initialize()
162 if (T.getOS() == Triple::Win32) { in initialize()
/external/clang/lib/Frontend/
DInitHeaderSearch.cpp207 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/
DTargetAttributesSema.cpp241 if (Triple.getOS() == llvm::Triple::Win32 || in ProcessDeclAttribute()
242 Triple.getOS() == llvm::Triple::MinGW32) { in ProcessDeclAttribute()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp31 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()
DCallAndMessageChecker.cpp321 (triple.getOS() == llvm::Triple::IOS || in supportsNilWithFloatRet()
/external/llvm/lib/Target/MBlaze/MCTargetDesc/
DMBlazeMCTargetDesc.cpp58 switch (TheTriple.getOS()) { in createMCAsmInfo()
DMBlazeAsmBackend.cpp168 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS()); in createMBlazeAsmBackend()
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCAsmBackend.cpp188 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(Triple(TT).getOS()); in createPPCAsmBackend()
/external/clang/lib/ARCMigrate/
DARCMT.cpp171 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/
DToolChain.h85 StringRef getOS() const { return Triple.getOSName(); } in getOS() function
/external/clang/lib/Basic/
DTargets.cpp127 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/
DTriple.cpp526 StringRef OSTypeName = getOSTypeName(getOS()); in getOSVersion()
552 switch (getOS()) { in getMacOSXVersion()
/external/clang/lib/Driver/
DTools.cpp597 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 …]
DDriver.cpp1626 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/
Dllc.cpp478 (GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0])); in main()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp651 uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(Triple(TT).getOS()); in createARMAsmBackend()

12