Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Str2

337     std::string Str1, Str2;
339 bool HasStr2 = GetConstantStringInfo(Str2P, Str2);
344 StringRef(Str1).compare(Str2));
350 if (HasStr2 && Str2.empty()) // strcmp(x,"") -> *x
400 std::string Str1, Str2;
402 bool HasStr2 = GetConstantStringInfo(Str2P, Str2);
407 StringRef SubStr2 = StringRef(Str2).substr(0, Length);
415 if (HasStr2 && Str2.empty()) // strncmp(x, "", n) -> *x