Home
last modified time | relevance | path

Searched refs:HasStr1 (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp378 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
382 if (HasStr1 && HasStr2) in optimizeStrCmp()
385 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
433 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
437 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
443 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
722 bool HasStr1 = getConstantStringInfo(CI->getArgOperand(0), SearchStr); in optimizeStrStr() local
730 if (HasStr1 && HasStr2) { in optimizeStrStr()