Searched defs:HasStr2 (Results 1 - 1 of 1) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DSimplifyLibCalls.cpp339 bool HasStr2 = GetConstantStringInfo(Str2P, Str2); local
342 if (HasStr1 && HasStr2)
350 if (HasStr2 && Str2.empty()) // strcmp(x,"") -> *x
402 bool HasStr2 = GetConstantStringInfo(Str2P, Str2); local
405 if (HasStr1 && HasStr2) {
415 if (HasStr2 && Str2.empty()) // strncmp(x, "", n) -> *x
697 bool HasStr2 = GetConstantStringInfo(CI->getArgOperand(1), ToFindStr); local
700 if (HasStr2 && ToFindStr.empty())
704 if (HasStr1 && HasStr2) {
717 if (HasStr2
[all...]

Completed in 61 milliseconds