Home | History | Annotate | Download | only in IPO

Lines Matching refs:Arg

78     bool isSafeToPromoteArgument(Argument *Arg, bool isByVal) const;
221 static bool AllCallersPassInValidPointerForArgument(Argument *Arg) {
222 Function *Callee = Arg->getParent();
225 Function::arg_iterator(Arg));
309 bool ArgPromotion::isSafeToPromoteArgument(Argument *Arg, bool isByVal) const {
313 if (Arg->use_empty())
338 if (isByVal || AllCallersPassInValidPointerForArgument(Arg))
343 BasicBlock *EntryBlock = Arg->getParent()->begin();
352 if (V == Arg) {
353 // This load actually loads (part of) Arg? Check the indices then.
368 } else if (V == Arg) {
378 for (Value::use_iterator UI = Arg->use_begin(), E = Arg->use_end();
397 return isSafeToPromoteArgument(Arg, isByVal);
434 << Arg->getName() << "' because it would require adding more "
610 DEBUG(dbgs() << "ARG PROMOTION: Promoting to:" << *NF << "\n"
809 // Anything that used the arg should now use the alloca.