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 {
143 Triple() : Data(), Arch(), Vendor(), OS(), Environment() {}
145 explicit Triple(const Twine &Str);
146 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr);
147 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
155 /// triple form (or something sensible that the Triple class understands if
286 if (getOS() == Triple::MacOSX)
297 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX;
302 return getOS() == Triple::IOS;
312 return getOS() == Triple::Cygwin || getOS() == Triple::MinGW32;
317 return getOS() == Triple::Win32 || isOSCygMing();
322 return getOS() == Triple::NaCl;
338 return getEnvironment() == Triple::MachO || isOSDarwin();
398 llvm::Triple get32BitArchVariant() const;
406 llvm::Triple get64BitArchVariant() const;