reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Utils/SimplifyLibCalls.cpp
  471   if (Str1P == Str2P) // strncmp(x,x,n)  -> 0
  487     return emitMemCmp(Str1P, Str2P, Size, B, DL, TLI);
  491   bool HasStr2 = getConstantStringInfo(Str2P, Str2);
  502         B.CreateLoad(B.getInt8Ty(), Str2P, "strcmpload"), CI->getType()));
  511   uint64_t Len2 = GetStringLength(Str2P);
  520           Str1P, Str2P,
  525     if (canTransformToMemCmp(CI, Str2P, Len1, DL))
  527           Str1P, Str2P,