Lines Matching refs:StrCmp
528 // Verify the "strcmp" function prototype.
537 if (Str1P == Str2P) // strcmp(x,x) -> 0
544 // strcmp(x, y) -> cnst (if both x and y are constant strings)
548 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x
552 if (HasStr2 && Str2.empty()) // strcmp(x,"") -> *x
555 // strcmp(P, "x") -> memcmp(P, "x", 2)
1723 static StrCmpOpt StrCmp;
1788 case LibFunc::strcmp:
1789 return &StrCmp;