14 #ifndef LLVM_IR_ARGUMENT_H
15 #define LLVM_IR_ARGUMENT_H
24 template<
typename ValueSubClass,
typename ItemParentClass>
36 virtual void anchor();
bool hasNoCaptureAttr() const
Return true if this argument has the nocapture attribute on it in its containing function.
bool hasNoAliasAttr() const
Return true if this argument has the noalias attribute on it in its containing function.
LLVM Argument representation.
bool onlyReadsMemory() const
Return true if this argument has the readonly or readnone attribute on it in its containing function...
static bool classof(const Value *V)
Method for support type inquiry through isa, cast, and dyn_cast.
void addAttr(AttributeSet AS)
Add a Attribute to an argument.
This file contains the simple types necessary to represent the attributes associated with functions a...
void removeAttr(AttributeSet AS)
Remove a Attribute from an argument.
bool hasStructRetAttr() const
Return true if this argument has the sret attribute on it in its containing function.
bool hasNestAttr() const
Return true if this argument has the nest attribute on it in its containing function.
const Function * getParent() const
unsigned getParamAlignment() const
If this is a byval argument, return its alignment.
unsigned getValueID() const
bool hasByValAttr() const
Return true if this argument has the byval attribute on it in its containing function.
LLVM Value Representation.
unsigned getArgNo() const
Return the index of this formal argument in its containing function.
Argument(Type *Ty, const Twine &Name="", Function *F=0)
Constructor.
bool hasReturnedAttr() const
Return true if this argument has the returned attribute on it in its containing function.