Home | History | Annotate | Download | only in Scalar

Lines Matching refs:StrCmp

321 // 'strcmp' Optimizations
325 // Verify the "strcmp" function prototype.
334 if (Str1P == Str2P) // strcmp(x,x) -> 0
341 // strcmp(x, y) -> cnst (if both x and y are constant strings)
346 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x
350 if (HasStr2 && Str2.empty()) // strcmp(x,"") -> *x
353 // strcmp(P, "x") -> memcmp(P, "x", 2)
1455 StrCmpOpt StrCmp; StrNCmpOpt StrNCmp; StrCpyOpt StrCpy; StrCpyOpt StrCpyChk;
1513 Optimizations["strcmp"] = &StrCmp;
1737 } else if (Name == "strcmp" ||