Searched refs:StoredConstant (Results 1 – 1 of 1) sorted by relevance
1855 Constant *StoredConstant = dyn_cast<Constant>(MemSet->getValue()); in tryFoldIntoCalloc() local1856 if (!StoredConstant || !StoredConstant->isNullValue()) in tryFoldIntoCalloc()1932 Constant *StoredConstant = nullptr; in storeIsNoop() local1934 StoredConstant = dyn_cast<Constant>(Store->getOperand(0)); in storeIsNoop()1936 StoredConstant = dyn_cast<Constant>(MemSet->getValue()); in storeIsNoop()1943 if (StoredConstant) { in storeIsNoop()1945 getInitialValueOfAllocation(DefUO, &TLI, StoredConstant->getType()); in storeIsNoop()1948 if (InitC && InitC == StoredConstant) in storeIsNoop()