Lines Matching defs:Triple
1 //===-- llvm/ADT/Triple.h - Target triple helper class ----------*- C++ -*-===//
22 /// Triple - Helper class for working with target triples.
34 /// At its core the Triple class is designed to be a wrapper for a triple
41 class Triple {
137 Triple() : Data(), Arch(), Vendor(), OS(), Environment() {}
139 explicit Triple(const Twine &Str);
140 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
141 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
149 /// triple form (or something sensible that the Triple class understands if
280 if (getOS() == Triple::MacOSX)
291 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX;
296 return isMacOSX() || getOS() == Triple::IOS;
301 return getOS() == Triple::Cygwin || getOS() == Triple::MinGW32;
306 return getOS() == Triple::Win32 || isOSCygMing();
322 return getEnvironment() == Triple::MachO || isOSDarwin();
382 llvm::Triple get32BitArchVariant() const;
390 llvm::Triple get64BitArchVariant() const;