Searched refs:ToFindStr (Results 1 – 1 of 1) sorted by relevance
719 StringRef SearchStr, ToFindStr; in optimizeStrStr() local721 bool HasStr2 = getConstantStringInfo(CI->getArgOperand(1), ToFindStr); in optimizeStrStr()724 if (HasStr2 && ToFindStr.empty()) in optimizeStrStr()729 size_t Offset = SearchStr.find(ToFindStr); in optimizeStrStr()741 if (HasStr2 && ToFindStr.size() == 1) { in optimizeStrStr()742 Value *StrChr = EmitStrChr(CI->getArgOperand(0), ToFindStr[0], B, TLI); in optimizeStrStr()