Home | History | Annotate | Download | only in IR

Lines Matching refs:split

196 /// Checked version of split, to ensure mandatory subparts.
197 static std::pair<StringRef, StringRef> split(StringRef Str, char Separator) {
199 std::pair<StringRef, StringRef> Split = Str.split(Separator);
200 if (Split.second.empty() && Split.first != Str)
202 if (!Split.second.empty() && Split.first.empty())
204 return Split;
226 // Split at '-'.
227 std::pair<StringRef, StringRef> Split = split(Desc, '-');
228 Desc = Split.second;
230 // Split at ':'.
231 Split = split(Split.first, ':');
234 StringRef &Tok = Split.first; // Current token.
235 StringRef &Rest = Split.second; // The rest of the string.
261 Split = split(Rest, ':');
270 Split = split(Rest, ':');
279 Split = split(Rest, ':');
314 Split = split(Rest, ':');
323 Split = split(Rest, ':');
340 Split = split(Rest, ':');