Searched refs:StoredConstant (Results 1 – 1 of 1) sorted by relevance
1727 Constant *StoredConstant = dyn_cast<Constant>(MemSet->getValue()); in tryFoldIntoCalloc() local1728 if (!StoredConstant || !StoredConstant->isNullValue()) in tryFoldIntoCalloc()1803 Constant *StoredConstant = nullptr; in storeIsNoop() local1805 StoredConstant = dyn_cast<Constant>(Store->getOperand(0)); in storeIsNoop()1807 StoredConstant = dyn_cast<Constant>(MemSet->getValue()); in storeIsNoop()1814 if (StoredConstant) { in storeIsNoop()1816 getInitialValueOfAllocation(DefUO, &TLI, StoredConstant->getType()); in storeIsNoop()1819 if (InitC && InitC == StoredConstant) in storeIsNoop()