Home | History | Annotate | Download | only in Utils

Lines Matching full:srcstr

293   Value *SrcStr = CI->getArgOperand(0);
299 uint64_t Len = GetStringLength(SrcStr);
303 return EmitMemChr(SrcStr, CI->getArgOperand(1), // include nul.
311 if (!getConstantStringInfo(SrcStr, Str)) {
313 return B.CreateGEP(B.getInt8Ty(), SrcStr, EmitStrLen(SrcStr, B, DL, TLI), "strchr");
326 return B.CreateGEP(B.getInt8Ty(), SrcStr, B.getInt64(I), "strchr");
338 Value *SrcStr = CI->getArgOperand(0);
346 if (!getConstantStringInfo(SrcStr, Str)) {
349 return EmitStrChr(SrcStr, '\0', B, TLI);
361 return B.CreateGEP(B.getInt8Ty(), SrcStr, B.getInt64(I), "strrchr");
759 Value *SrcStr = CI->getArgOperand(0);
769 if (!LenC || !getConstantStringInfo(SrcStr, Str, 0, /*TrimAtNul=*/false))
833 return B.CreateGEP(B.getInt8Ty(), SrcStr, B.getInt64(I), "memchr");