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

References

lib/Transforms/Utils/SimplifyLibCalls.cpp
  413   Value *Str1P = CI->getArgOperand(0), *Str2P = CI->getArgOperand(1);
  413   Value *Str1P = CI->getArgOperand(0), *Str2P = CI->getArgOperand(1);
  415     return ConstantInt::get(CI->getType(), 0);
  423     return ConstantInt::get(CI->getType(), Str1.compare(Str2));
  427         B.CreateLoad(B.getInt8Ty(), Str2P, "strcmpload"), CI->getType()));
  431                         CI->getType());
  436     annotateDereferenceableBytes(CI, 0, Len1);
  439     annotateDereferenceableBytes(CI, 1, Len2);
  443                       ConstantInt::get(DL.getIntPtrType(CI->getContext()),
  450     if (canTransformToMemCmp(CI, Str1P, Len2, DL))
  453           ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL,
  456     if (canTransformToMemCmp(CI, Str2P, Len1, DL))
  459           ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL,
  463   annotateNonNullBasedOnAccess(CI, {0, 1});