- // Methods for support type inquiry through isa, cast, and dyn_cast:
- static inline bool classof(const Argument *) { return true; }
+ /// hasNoAliasAttr - Return true if this argument has the noalias attribute on
+ /// it in its containing function.
+ bool hasNoAliasAttr() const;
+
+ /// hasNoCaptureAttr - Return true if this argument has the nocapture
+ /// attribute on it in its containing function.
+ bool hasNoCaptureAttr() const;
+
+ /// hasStructRetAttr - Return true if this argument has the sret attribute on
+ /// it in its containing function.
+ bool hasStructRetAttr() const;
+
+ /// addAttr - Add a Attribute to an argument
+ void addAttr(Attribute);
+
+ /// removeAttr - Remove a Attribute from an argument
+ void removeAttr(Attribute);
+
+ /// classof - Methods for support type inquiry through isa, cast, and
+ /// dyn_cast:
+ ///