reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
800 Str.split(Components, '-'); 808 if (Components.size() > 0) 809 Arch = parseArch(Components[0]); 811 if (Components.size() > 1) 812 Vendor = parseVendor(Components[1]); 814 if (Components.size() > 2) { 815 OS = parseOS(Components[2]); 816 IsCygwin = Components[2].startswith("cygwin"); 817 IsMinGW32 = Components[2].startswith("mingw"); 820 if (Components.size() > 3) 821 Environment = parseEnvironment(Components[3]); 823 if (Components.size() > 4) 824 ObjectFormat = parseFormat(Components[4]); 841 for (unsigned Idx = 0; Idx != Components.size(); ++Idx) { 848 StringRef Comp = Components[Idx]; 886 std::swap(CurrentComponent, Components[Idx]); 895 std::swap(CurrentComponent, Components[i]); 904 for (unsigned i = Idx; i < Components.size();) { 907 std::swap(CurrentComponent, Components[i]); 917 Components.push_back(CurrentComponent); 924 assert(Pos < Components.size() && Components[Pos] == Comp && 924 assert(Pos < Components.size() && Components[Pos] == Comp && 932 for (unsigned i = 0, e = Components.size(); i < e; ++i) { 933 if (Components[i].empty()) 934 Components[i] = "unknown"; 940 if (Environment == Triple::Android && Components[3].startswith("androideabi")) { 941 StringRef AndroidVersion = Components[3].drop_front(strlen("androideabi")); 943 Components[3] = "android"; 946 Components[3] = NormalizedEnvironment; 952 Components[3] = "gnueabihf"; 955 Components.resize(4); 956 Components[2] = "windows"; 959 Components[3] = "msvc"; 961 Components[3] = getObjectFormatTypeName(ObjectFormat); 964 Components.resize(4); 965 Components[2] = "windows"; 966 Components[3] = "gnu"; 968 Components.resize(4); 969 Components[2] = "windows"; 970 Components[3] = "cygnus"; 975 Components.resize(5); 976 Components[4] = getObjectFormatTypeName(ObjectFormat); 982 for (unsigned i = 0, e = Components.size(); i != e; ++i) { 984 Normalized += Components[i];