Lines Matching refs:MaxElements
566 unsigned MaxElements) { in isSafeToPromoteArgument() argument
682 return isSafeToPromoteArgument(Arg, ByValTy, AAR, MaxElements); in isSafeToPromoteArgument()
720 if (MaxElements > 0 && ToPromote.size() == MaxElements) { in isSafeToPromoteArgument()
724 << "than " << MaxElements in isSafeToPromoteArgument()
868 unsigned MaxElements, in promoteArguments() argument
959 if (MaxElements > 0 && STy->getNumElements() > MaxElements) { in promoteArguments()
963 << " than " << MaxElements in promoteArguments()
1006 if (isSafeToPromoteArgument(PtrArg, ByValTy, AAR, MaxElements)) in promoteArguments()
1045 promoteArguments(&OldF, AARGetter, MaxElements, None, TTI); in run()
1075 explicit ArgPromotion(unsigned MaxElements = 3) in ArgPromotion()
1076 : CallGraphSCCPass(ID), MaxElements(MaxElements) { in ArgPromotion()
1096 unsigned MaxElements; member
1113 Pass *llvm::createArgumentPromotionPass(unsigned MaxElements) { in INITIALIZE_PASS_DEPENDENCY()
1114 return new ArgPromotion(MaxElements); in INITIALIZE_PASS_DEPENDENCY()
1149 if (Function *NewF = promoteArguments(OldF, AARGetter, MaxElements, in runOnSCC()