• Home
  • Raw
  • Download

Lines Matching refs:Triple

44 class Triple {
219 Triple() : Data(), Arch(), Vendor(), OS(), Environment(), ObjectFormat() {} in Triple() function
221 explicit Triple(const Twine &Str);
222 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
223 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
226 bool operator==(const Triple &Other) const {
384 bool isOSVersionLT(const Triple &Other) const { in isOSVersionLT()
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()
451 return getOS() == Triple::Solaris; in isOSSolaris()
455 return getOS() == Triple::Bitrig; in isOSBitrig()
459 return getOS() == Triple::ELFIAMCU; in isOSIAMCU()
464 return getOS() == Triple::Win32 && in isWindowsMSVCEnvironment()
465 (getEnvironment() == Triple::UnknownEnvironment || in isWindowsMSVCEnvironment()
466 getEnvironment() == Triple::MSVC); in isWindowsMSVCEnvironment()
471 return getOS() == Triple::Win32 && getEnvironment() == Triple::MSVC; in isKnownWindowsMSVCEnvironment()
475 return getOS() == Triple::Win32 && getEnvironment() == Triple::CoreCLR; in isWindowsCoreCLREnvironment()
479 return getOS() == Triple::Win32 && getEnvironment() == Triple::Itanium; in isWindowsItaniumEnvironment()
483 return getOS() == Triple::Win32 && getEnvironment() == Triple::Cygnus; in isWindowsCygwinEnvironment()
487 return getOS() == Triple::Win32 && getEnvironment() == Triple::GNU; in isWindowsGNUEnvironment()
503 return getOS() == Triple::Win32; in isOSWindows()
508 return getOS() == Triple::NaCl; in isOSNaCl()
513 return getOS() == Triple::Linux; in isOSLinux()
518 return getObjectFormat() == Triple::ELF; in isOSBinFormatELF()
523 return getObjectFormat() == Triple::COFF; in isOSBinFormatCOFF()
528 return getObjectFormat() == Triple::MachO; in isOSBinFormatMachO()
533 return getArch() == Triple::x86_64 && in isPS4CPU()
534 getVendor() == Triple::SCEI && in isPS4CPU()
535 getOS() == Triple::PS4; in isPS4CPU()
540 return getVendor() == Triple::SCEI && in isPS4()
541 getOS() == Triple::PS4; in isPS4()
545 bool isAndroid() const { return getEnvironment() == Triple::Android; } in isAndroid()
603 llvm::Triple get32BitArchVariant() const;
611 llvm::Triple get64BitArchVariant() const;
619 llvm::Triple getBigEndianArchVariant() const;
627 llvm::Triple getLittleEndianArchVariant() const;