Home | History | Annotate | Download | only in IPO

Lines Matching refs:Constant

50     SmallPtrSet<Constant *, 8> SeenConstants;
56 void MarkUsedGlobalsAsNeeded(Constant *C);
129 Constant *Init = GV.getInitializer();
219 MarkUsedGlobalsAsNeeded(cast<Constant>(U.get()));
226 else if (Constant *C = dyn_cast<Constant>(U))
231 void GlobalDCE::MarkUsedGlobalsAsNeeded(Constant *C) {
235 // Loop over all of the operands of the constant, adding any globals they
238 // If we've already processed this constant there's no need to do it again.
239 Constant *Op = dyn_cast<Constant>(U);
246 // GlobalValue, looking for the constant pointer ref that may be pointing to it.
247 // If found, check to see if the constant pointer ref is safe to destroy, and if