Lines Matching refs:ArgIndex
672 unsigned ArgIndex = 1; in DoPromotion() local
674 ++I, ++ArgIndex) { in DoPromotion()
684 AttributeSet attrs = PAL.getParamAttributes(ArgIndex); in DoPromotion()
685 if (attrs.hasAttributes(ArgIndex)) { in DoPromotion()
686 AttrBuilder B(attrs, ArgIndex); in DoPromotion()
729 for (const auto &ArgIndex : ArgIndices) { in DoPromotion() local
733 ArgIndex.second)); in DoPromotion()
794 ArgIndex = 1; in DoPromotion()
796 I != E; ++I, ++AI, ++ArgIndex) in DoPromotion()
800 if (CallPAL.hasAttributes(ArgIndex)) { in DoPromotion()
801 AttrBuilder B(CallPAL, ArgIndex); in DoPromotion()
824 for (const auto &ArgIndex : ArgIndices) { in DoPromotion() local
827 OriginalLoads[std::make_pair(&*I, ArgIndex.second)]; in DoPromotion()
828 if (!ArgIndex.second.empty()) { in DoPromotion()
829 Ops.reserve(ArgIndex.second.size()); in DoPromotion()
831 for (unsigned long II : ArgIndex.second) { in DoPromotion()
842 V = GetElementPtrInst::Create(ArgIndex.first, V, Ops, in DoPromotion()
860 for (; AI != CS.arg_end(); ++AI, ++ArgIndex) { in DoPromotion()
862 if (CallPAL.hasAttributes(ArgIndex)) { in DoPromotion()
863 AttrBuilder B(CallPAL, ArgIndex); in DoPromotion()