Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp587 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2); in optimizeStrPBrk() local
591 if ((HasS1 && S1.empty()) || (HasS2 && S2.empty())) in optimizeStrPBrk()
595 if (HasS1 && HasS2) { in optimizeStrPBrk()
604 if (HasS2 && S2.size() == 1) in optimizeStrPBrk()
638 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2); in optimizeStrSpn() local
642 if ((HasS1 && S1.empty()) || (HasS2 && S2.empty())) in optimizeStrSpn()
646 if (HasS1 && HasS2) { in optimizeStrSpn()
666 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2); in optimizeStrCSpn() local
673 if (HasS1 && HasS2) { in optimizeStrCSpn()
681 if (HasS2 && S2.empty()) in optimizeStrCSpn()