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

References

lib/CodeGen/ExpandMemCmp.cpp
  727   if (CI->getFunction()->hasMinSize())
  731   ConstantInt *SizeCast = dyn_cast<ConstantInt>(CI->getArgOperand(2));
  743   const bool IsUsedForZeroCmp = isOnlyUsedInZeroEqualityComparison(CI);
  744   auto Options = TTI->enableMemCmpExpansion(CI->getFunction()->hasOptSize(),
  751   if (CI->getFunction()->hasOptSize() &&
  755   if (!CI->getFunction()->hasOptSize() && MaxLoadsPerMemcmp.getNumOccurrences())
  758   MemCmpExpansion Expansion(CI, SizeVal, Options, IsUsedForZeroCmp, *DL);
  771   CI->replaceAllUsesWith(Res);
  772   CI->eraseFromParent();