Searched refs:ToFindStr (Results 1 – 1 of 1) sorted by relevance
864 StringRef SearchStr, ToFindStr; in optimizeStrStr() local866 bool HasStr2 = getConstantStringInfo(CI->getArgOperand(1), ToFindStr); in optimizeStrStr()869 if (HasStr2 && ToFindStr.empty()) in optimizeStrStr()874 size_t Offset = SearchStr.find(ToFindStr); in optimizeStrStr()887 if (HasStr2 && ToFindStr.size() == 1) { in optimizeStrStr()888 Value *StrChr = emitStrChr(CI->getArgOperand(0), ToFindStr[0], B, TLI); in optimizeStrStr()