Lines Matching refs:ArgNo
88 Argument::Argument(Type *Ty, const Twine &Name, Function *Par, unsigned ArgNo) in Argument() argument
89 : Value(Ty, Value::ArgumentVal), Parent(Par), ArgNo(ArgNo) { in Argument()
550 void Function::addParamAttr(unsigned ArgNo, Attribute::AttrKind Kind) { in addParamAttr() argument
552 PAL = PAL.addParamAttribute(getContext(), ArgNo, Kind); in addParamAttr()
556 void Function::addParamAttr(unsigned ArgNo, Attribute Attr) { in addParamAttr() argument
558 PAL = PAL.addParamAttribute(getContext(), ArgNo, Attr); in addParamAttr()
562 void Function::addParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs) { in addParamAttrs() argument
564 PAL = PAL.addParamAttributes(getContext(), ArgNo, Attrs); in addParamAttrs()
586 void Function::removeParamAttr(unsigned ArgNo, Attribute::AttrKind Kind) { in removeParamAttr() argument
588 PAL = PAL.removeParamAttribute(getContext(), ArgNo, Kind); in removeParamAttr()
592 void Function::removeParamAttr(unsigned ArgNo, StringRef Kind) { in removeParamAttr() argument
594 PAL = PAL.removeParamAttribute(getContext(), ArgNo, Kind); in removeParamAttr()
598 void Function::removeParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs) { in removeParamAttrs() argument
600 PAL = PAL.removeParamAttributes(getContext(), ArgNo, Attrs); in removeParamAttrs()
610 void Function::addDereferenceableParamAttr(unsigned ArgNo, uint64_t Bytes) { in addDereferenceableParamAttr() argument
612 PAL = PAL.addDereferenceableParamAttr(getContext(), ArgNo, Bytes); in addDereferenceableParamAttr()
622 void Function::addDereferenceableOrNullParamAttr(unsigned ArgNo, in addDereferenceableOrNullParamAttr() argument
625 PAL = PAL.addDereferenceableOrNullParamAttr(getContext(), ArgNo, Bytes); in addDereferenceableOrNullParamAttr()
1099 unsigned short ArgNo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
1102 IITDescriptor::get(IITDescriptor::VecOfAnyPtrsToElt, ArgNo, RefNo)); in DecodeIITType()