Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp371 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
375 if (HasStr1 && HasStr2) in optimizeStrCmp()
378 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
426 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
430 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
436 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
720 bool HasStr1 = getConstantStringInfo(CI->getArgOperand(0), SearchStr); in optimizeStrStr() local
728 if (HasStr1 && HasStr2) { in optimizeStrStr()