Lines Matching refs:S2
733 StringRef S1, S2;
735 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2);
739 if ((HasS1 && S1.empty()) || (HasS2 && S2.empty()))
744 size_t I = S1.find_first_of(S2);
753 if (HasS2 && S2.size() == 1)
754 return emitStrChr(CI->getArgOperand(0), S2[0], B, TLI);
771 StringRef S1, S2;
773 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2);
777 if ((HasS1 && S1.empty()) || (HasS2 && S2.empty()))
782 size_t Pos = S1.find_first_not_of(S2);
792 StringRef S1, S2;
794 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2);
802 size_t Pos = S1.find_first_of(S2);
809 if (HasS2 && S2.empty())
972 // memcmp(S1,S2,1) -> *(unsigned char*)LHS - *(unsigned char*)RHS
983 // memcmp(S1,S2,N/8)==0 -> (*(intN_t*)S1 != *(intN_t*)S2)==0