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

References

lib/Transforms/IPO/GlobalOpt.cpp
  303       if (CE->getOpcode() == Instruction::GetElementPtr) {
  306           SubInit = ConstantFoldLoadThroughGEPConstantExpr(Init, CE);
  307         Changed |= CleanupConstantGlobalUsers(CE, SubInit, DL, GetTLI);
  308       } else if ((CE->getOpcode() == Instruction::BitCast &&
  309                   CE->getType()->isPointerTy()) ||
  310                  CE->getOpcode() == Instruction::AddrSpaceCast) {
  312         Changed |= CleanupConstantGlobalUsers(CE, nullptr, DL, GetTLI);
  315       if (CE->use_empty()) {
  316         CE->destroyConstant();