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

References

lib/Transforms/IPO/GlobalOpt.cpp
  324       if (!isa<ConstantExpr>(GEP->getOperand(0))) {
  326             ConstantFoldInstruction(GEP, DL, &GetTLI(*GEP->getFunction())));
  326             ConstantFoldInstruction(GEP, DL, &GetTLI(*GEP->getFunction())));
  333         if (Init && isa<ConstantAggregateZero>(Init) && GEP->isInBounds())
  334           SubInit = Constant::getNullValue(GEP->getResultElementType());
  336       Changed |= CleanupConstantGlobalUsers(GEP, SubInit, DL, GetTLI);
  338       if (GEP->use_empty()) {
  339         GEP->eraseFromParent();