Home | History | Annotate | Download | only in IR

Lines Matching refs:Argument

35 template class llvm::SymbolTableListTraits<Argument, Function>;
39 // Argument Implementation
42 void Argument::anchor() { }
44 Argument::Argument(Type *Ty, const Twine &Name, Function *Par)
53 void Argument::setParent(Function *parent) {
57 /// getArgNo - Return the index of this formal argument in its containing
59 unsigned Argument::getArgNo() const {
61 assert(F && "Argument is not in a function");
71 /// hasNonNullAttr - Return true if this argument has the nonnull attribute on
74 bool Argument::hasNonNullAttr() const {
85 /// hasByValAttr - Return true if this argument has the byval attribute on it
87 bool Argument::hasByValAttr() const {
93 /// \brief Return true if this argument has the inalloca attribute on it in
95 bool Argument::hasInAllocaAttr() const {
101 bool Argument::hasByValOrInAllocaAttr() const {
108 unsigned Argument::getParamAlignment() const {
114 uint64_t Argument::getDereferenceableBytes() const {
120 /// hasNestAttr - Return true if this argument has the nest attribute on
122 bool Argument::hasNestAttr() const {
128 /// hasNoAliasAttr - Return true if this argument has the noalias attribute on
130 bool Argument::hasNoAliasAttr() const {
136 /// hasNoCaptureAttr - Return true if this argument has the nocapture attribute
138 bool Argument::hasNoCaptureAttr() const {
144 /// hasSRetAttr - Return true if this argument has the sret attribute on
146 bool Argument::hasStructRetAttr() const {
154 /// hasReturnedAttr - Return true if this argument has the returned attribute on
156 bool Argument::hasReturnedAttr() const {
161 /// hasZExtAttr - Return true if this argument has the zext attribute on it in
163 bool Argument::hasZExtAttr() const {
168 /// hasSExtAttr Return true if this argument has the sext attribute on it in its
170 bool Argument::hasSExtAttr() const {
175 /// Return true if this argument has the readonly or readnone attribute on it
177 bool Argument::onlyReadsMemory() const {
184 /// addAttr - Add attributes to an argument.
185 void Argument::addAttr(AttributeSet AS) {
187 "Trying to add more than one attribute set to an argument!");
194 /// removeAttr - Remove attributes from an argument.
195 void Argument::removeAttr(AttributeSet AS) {
197 "Trying to remove more than one attribute set from an argument!");
284 ArgumentList.push_back(new Argument(FT->getParamType(i)));
644 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Argument, ArgInfo));
769 case IITDescriptor::Argument:
806 llvm_unreachable("Expected an argument of Vector Type");
830 // If we see void type as the type of the last argument, it is vararg intrinsic