Lines Matching refs:Arg
156 const Value *Arg = GetObjCArg(Autorelease);
162 FindDependencies(RetainAutoreleaseRVDep, Arg,
166 FindDependencies(RetainAutoreleaseDep, Arg,
181 GetObjCArg(Retain) != Arg)
443 const Value *Arg = cast<CallInst>(Inst)->getArgOperand(0);
446 if (!isa<Instruction>(Arg) && !isa<Argument>(Arg))
449 for (Value::const_use_iterator UI = Arg->use_begin(), UE = Arg->use_end();
493 // If Arg is a no-op casted pointer, strip one level of casts and iterate.
494 if (const BitCastInst *BI = dyn_cast<BitCastInst>(Arg))
495 Arg = BI->getOperand(0);
496 else if (isa<GEPOperator>(Arg) &&
497 cast<GEPOperator>(Arg)->hasAllZeroIndices())
498 Arg = cast<GEPOperator>(Arg)->getPointerOperand();
499 else if (isa<GlobalAlias>(Arg) &&
500 !cast<GlobalAlias>(Arg)->mayBeOverridden())
501 Arg = cast<GlobalAlias>(Arg)->getAliasee();