Lines Matching refs:Attribute
278 B.addAttribute(Attribute::ReadOnly)
279 .addAttribute(Attribute::ReadNone);
286 ReadsMemory ? Attribute::ReadOnly : Attribute::ReadNone);
408 // Returns Attribute::None, Attribute::ReadOnly or Attribute::ReadNone.
409 static Attribute::AttrKind
423 return Attribute::None;
461 return Attribute::None;
471 return Attribute::None;
476 return Attribute::None;
493 return Attribute::None;
497 return IsRead ? Attribute::ReadOnly : Attribute::ReadNone;
517 B.addAttribute(Attribute::NoCapture);
583 Attribute::AttrKind R = determinePointerReadAttrs(A, Self);
584 if (R != Attribute::None) {
589 R == Attribute::ReadOnly ? ++NumReadOnlyArg : ++NumReadNoneArg;
670 Attribute::AttrKind ReadAttr = Attribute::ReadNone;
673 Attribute::AttrKind K = determinePointerReadAttrs(A, ArgumentSCCNodes);
674 if (K == Attribute::ReadNone)
676 if (K == Attribute::ReadOnly) {
677 ReadAttr = Attribute::ReadOnly;
684 if (ReadAttr != Attribute::None) {
690 ReadAttr == Attribute::ReadOnly ? ++NumReadOnlyArg : ++NumReadNoneArg;
747 if (CS.paramHasAttr(0, Attribute::NoAlias))