Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp554 bool HasS2 = GetConstantStringInfo(CI->getArgOperand(1), S2); in CallOptimizer() local
558 if ((HasS1 && S1.empty()) || (HasS2 && S2.empty())) in CallOptimizer()
562 if (HasS1 && HasS2) { in CallOptimizer()
571 if (TD && HasS2 && S2.size() == 1) in CallOptimizer()
614 bool HasS2 = GetConstantStringInfo(CI->getArgOperand(1), S2); in CallOptimizer() local
618 if ((HasS1 && S1.empty()) || (HasS2 && S2.empty())) in CallOptimizer()
622 if (HasS1 && HasS2) in CallOptimizer()
643 bool HasS2 = GetConstantStringInfo(CI->getArgOperand(1), S2); in CallOptimizer() local
650 if (HasS1 && HasS2) in CallOptimizer()
654 if (TD && HasS2 && S2.empty()) in CallOptimizer()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp484 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2); in optimizeStrPBrk() local
488 if ((HasS1 && S1.empty()) || (HasS2 && S2.empty())) in optimizeStrPBrk()
492 if (HasS1 && HasS2) { in optimizeStrPBrk()
502 if (HasS2 && S2.size() == 1) in optimizeStrPBrk()
522 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2); in optimizeStrSpn() local
526 if ((HasS1 && S1.empty()) || (HasS2 && S2.empty())) in optimizeStrSpn()
530 if (HasS1 && HasS2) { in optimizeStrSpn()
543 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2); in optimizeStrCSpn() local
550 if (HasS1 && HasS2) { in optimizeStrCSpn()
558 if (HasS2 && S2.empty()) in optimizeStrCSpn()