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

References

lib/Transforms/InstCombine/InstCombineCalls.cpp
  229       getKnownAlignment(MI->getDest(), DL, MI, &AC, &DT);
  229       getKnownAlignment(MI->getDest(), DL, MI, &AC, &DT);
  230   if (MI->getDestAlignment() < KnownAlignment) {
  231     MI->setDestAlignment(KnownAlignment);
  232     return MI;
  238   if (AA->pointsToConstantMemory(MI->getDest())) {
  240     MI->setLength(Constant::getNullValue(MI->getLength()->getType()));
  240     MI->setLength(Constant::getNullValue(MI->getLength()->getType()));
  241     return MI;
  245   ConstantInt *LenC = dyn_cast<ConstantInt>(MI->getLength());
  246   ConstantInt *FillC = dyn_cast<ConstantInt>(MI->getValue());
  251   const Align Alignment = assumeAligned(MI->getDestAlignment());
  257   if (isa<AtomicMemSetInst>(MI))
  263     Type *ITy = IntegerType::get(MI->getContext(), Len*8);  // n=1 -> i8.
  265     Value *Dest = MI->getDest();
  273                                        MI->isVolatile());
  275     if (isa<AtomicMemSetInst>(MI))
  279     MI->setLength(Constant::getNullValue(LenC->getType()));
  280     return MI;