Lines Matching refs:PtrArg
285 for (Argument *PtrArg : PointerArgs) { in PromoteArguments()
286 Type *AgTy = cast<PointerType>(PtrArg->getType())->getElementType(); in PromoteArguments()
290 if (PtrArg->hasStructRetAttr()) { in PromoteArguments()
291 unsigned ArgNo = PtrArg->getArgNo(); in PromoteArguments()
311 PtrArg->hasByValAttr() && in PromoteArguments()
312 (isDenselyPacked(AgTy, DL) || !canPaddingBeAccessed(PtrArg)); in PromoteArguments()
317 << PtrArg->getName() << "' because it would require adding more" in PromoteArguments()
335 ByValArgsToTransform.insert(PtrArg); in PromoteArguments()
347 if (EltTy == PtrArg->getType()) { in PromoteArguments()
358 if (isSafeToPromoteArgument(PtrArg, PtrArg->hasByValOrInAllocaAttr(), AAR, in PromoteArguments()
360 ArgsToPromote.insert(PtrArg); in PromoteArguments()