Searched refs:ToFindStr (Results 1 – 1 of 1) sorted by relevance
721 StringRef SearchStr, ToFindStr; in optimizeStrStr() local723 bool HasStr2 = getConstantStringInfo(CI->getArgOperand(1), ToFindStr); in optimizeStrStr()726 if (HasStr2 && ToFindStr.empty()) in optimizeStrStr()731 size_t Offset = SearchStr.find(ToFindStr); in optimizeStrStr()743 if (HasStr2 && ToFindStr.size() == 1) { in optimizeStrStr()744 Value *StrChr = EmitStrChr(CI->getArgOperand(0), ToFindStr[0], B, TLI); in optimizeStrStr()