Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Op

172 static bool IsPotentialUse(const Value *Op) {
174 if (isa<Constant>(Op) || isa<AllocaInst>(Op))
177 if (const Argument *Arg = dyn_cast<Argument>(Op))
183 PointerType *Ty = dyn_cast<PointerType>(Op->getType());
501 /// as objc_retain or objc_release, return the argument value, stripped of no-op
902 STATISTIC(NumNoops, "Number of no-op objc calls eliminated");
903 STATISTIC(NumPartialNoops, "Number of partially no-op objc calls eliminated");
1693 const Value *Op = *I;
1694 if (IsPotentialUse(Op) && PA.related(Ptr, Op))
1725 const Value *Op = *OI;
1726 if (IsPotentialUse(Op) && PA.related(Ptr, Op))
1733 const Value *Op = GetUnderlyingObjCPtr(SI->getPointerOperand());
1736 return IsPotentialUse(Op) && PA.related(Op, Ptr);
1742 const Value *Op = *OI;
1743 if (IsPotentialUse(Op) && PA.related(Ptr, Op))
2029 // Delete no-op casts. These function calls have special semantics, but
2031 // so by the time they reach the optimizer, they are just no-op calls
2194 Value *Op = PN->getIncomingValue(i);
2196 if (Op->getType() != ParamTy)
2197 Op = new BitCastInst(Op, ParamTy, "", InsertPos);
2198 Clone->setArgOperand(0, Op);
3751 // If Arg is a no-op casted pointer, strip one level of casts and