Home | History | Annotate | Download | only in Utils

Lines Matching refs:Str1

540     StringRef Str1, Str2;
541 bool HasStr1 = getConstantStringInfo(Str1P, Str1);
546 return ConstantInt::get(CI->getType(), Str1.compare(Str2));
548 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x
599 StringRef Str1, Str2;
600 bool HasStr1 = getConstantStringInfo(Str1P, Str1);
605 StringRef SubStr1 = Str1.substr(0, Length);
610 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x