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 {
139 Triple() : Data(), Arch(InvalidArch) {}
140 explicit Triple(const Twine &Str) : Data(Str.str()), Arch(InvalidArch) {}
141 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr)
146 Triple(const Twine &ArchStr, const Twine &VendorStr, const Twine &OSStr,
157 /// triple form (or something sensible that the Triple class understands if
260 return getOS() == Triple::Darwin || getOS() == Triple::MacOSX;
265 return isMacOSX() || getOS() == Triple::IOS;
270 return getOS() == Triple::Win32 || getOS() == Triple::Cygwin ||
271 getOS() == Triple::MinGW32;
282 if (getOS() == Triple::MacOSX)