Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp759 std::string LHSStr, RHSStr; in CallOptimizer() local
760 if (GetConstantStringInfo(LHS, LHSStr) && in CallOptimizer()
763 if (Len > LHSStr.length() || Len > RHSStr.length()) in CallOptimizer()
765 uint64_t Ret = memcmp(LHSStr.data(), RHSStr.data(), Len); in CallOptimizer()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp744 StringRef LHSStr, RHSStr; in optimizeMemCmp() local
745 if (getConstantStringInfo(LHS, LHSStr) && in optimizeMemCmp()
748 if (Len > LHSStr.size() || Len > RHSStr.size()) in optimizeMemCmp()
753 int Cmp = memcmp(LHSStr.data(), RHSStr.data(), Len); in optimizeMemCmp()