Lines Matching defs:Argument
35 template class llvm::SymbolTableListTraits<Argument, Function>;
39 // Argument Implementation
42 Argument::Argument(Type *Ty, const Twine &Name, Function *Par)
54 void Argument::setParent(Function *parent) {
62 /// getArgNo - Return the index of this formal argument in its containing
64 unsigned Argument::getArgNo() const {
66 assert(F && "Argument is not in a function");
76 /// hasByValAttr - Return true if this argument has the byval attribute on it
78 bool Argument::hasByValAttr() const {
83 unsigned Argument::getParamAlignment() const {
89 /// hasNestAttr - Return true if this argument has the nest attribute on
91 bool Argument::hasNestAttr() const {
96 /// hasNoAliasAttr - Return true if this argument has the noalias attribute on
98 bool Argument::hasNoAliasAttr() const {
103 /// hasNoCaptureAttr - Return true if this argument has the nocapture attribute
105 bool Argument::hasNoCaptureAttr() const {
110 /// hasSRetAttr - Return true if this argument has the sret attribute on
112 bool Argument::hasStructRetAttr() const {
119 /// addAttr - Add a Attribute to an argument
120 void Argument::addAttr(Attributes attr) {
124 /// removeAttr - Remove a Attribute from an argument
125 void Argument::removeAttr(Attributes attr) {
203 ArgumentList.push_back(new Argument(FT->getParamType(i)));