Home | History | Annotate | Download | only in Utils

Lines Matching refs:Str2

254   StringRef Str1, Str2;
256 bool HasStr2 = getConstantStringInfo(Str2P, Str2);
260 return ConstantInt::get(CI->getType(), Str1.compare(Str2));
266 if (HasStr2 && Str2.empty()) // strcmp(x,"") -> *x
300 StringRef Str1, Str2;
302 bool HasStr2 = getConstantStringInfo(Str2P, Str2);
307 StringRef SubStr2 = Str2.substr(0, Length);
315 if (HasStr2 && Str2.empty()) // strncmp(x, "", n) -> *x