reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1034 if (!SI) 1039 if (LoadInst *DepLoad = dyn_cast<LoadInst>(SI->getValueOperand())) { 1040 if (SI->getPointerOperand() == DepLoad->getPointerOperand() && 1041 isRemovable(SI) && memoryIsNotModifiedBetween(DepLoad, SI, AA)) { 1041 isRemovable(SI) && memoryIsNotModifiedBetween(DepLoad, SI, AA)) { 1045 << *DepLoad << "\n STORE: " << *SI << '\n'); 1047 deleteDeadInstruction(SI, &BBI, *MD, *TLI, IOL, OBB); 1054 Constant *StoredConstant = dyn_cast<Constant>(SI->getValueOperand()); 1055 if (StoredConstant && StoredConstant->isNullValue() && isRemovable(SI)) { 1057 dyn_cast<Instruction>(GetUnderlyingObject(SI->getPointerOperand(), DL)); 1060 memoryIsNotModifiedBetween(UnderlyingPointer, SI, AA)) { 1065 deleteDeadInstruction(SI, &BBI, *MD, *TLI, IOL, OBB);