Lines Matching refs:Argument

109 Argument::Argument(Type *Ty, const Twine &Name, Function *Par, unsigned ArgNo)  in Argument()  function in Argument
114 void Argument::setParent(Function *parent) { in setParent()
118 bool Argument::hasNonNullAttr(bool AllowUndefOrPoison) const { in hasNonNullAttr()
131 bool Argument::hasByValAttr() const { in hasByValAttr()
136 bool Argument::hasByRefAttr() const { in hasByRefAttr()
142 bool Argument::hasSwiftSelfAttr() const { in hasSwiftSelfAttr()
146 bool Argument::hasSwiftErrorAttr() const { in hasSwiftErrorAttr()
150 bool Argument::hasInAllocaAttr() const { in hasInAllocaAttr()
155 bool Argument::hasPreallocatedAttr() const { in hasPreallocatedAttr()
161 bool Argument::hasPassPointeeByValueCopyAttr() const { in hasPassPointeeByValueCopyAttr()
169 bool Argument::hasPointeeInMemoryValueAttr() const { in hasPointeeInMemoryValueAttr()
199 uint64_t Argument::getPassPointeeByValueCopySize(const DataLayout &DL) const { in getPassPointeeByValueCopySize()
207 Type *Argument::getPointeeInMemoryValueType() const { in getPointeeInMemoryValueType()
213 MaybeAlign Argument::getParamAlign() const { in getParamAlign()
218 MaybeAlign Argument::getParamStackAlign() const { in getParamStackAlign()
222 Type *Argument::getParamByValType() const { in getParamByValType()
227 Type *Argument::getParamStructRetType() const { in getParamStructRetType()
232 Type *Argument::getParamByRefType() const { in getParamByRefType()
237 Type *Argument::getParamInAllocaType() const { in getParamInAllocaType()
242 uint64_t Argument::getDereferenceableBytes() const { in getDereferenceableBytes()
248 uint64_t Argument::getDereferenceableOrNullBytes() const { in getDereferenceableOrNullBytes()
254 FPClassTest Argument::getNoFPClass() const { in getNoFPClass()
258 bool Argument::hasNestAttr() const { in hasNestAttr()
263 bool Argument::hasNoAliasAttr() const { in hasNoAliasAttr()
268 bool Argument::hasNoCaptureAttr() const { in hasNoCaptureAttr()
273 bool Argument::hasNoFreeAttr() const { in hasNoFreeAttr()
278 bool Argument::hasStructRetAttr() const { in hasStructRetAttr()
283 bool Argument::hasInRegAttr() const { in hasInRegAttr()
287 bool Argument::hasReturnedAttr() const { in hasReturnedAttr()
291 bool Argument::hasZExtAttr() const { in hasZExtAttr()
295 bool Argument::hasSExtAttr() const { in hasSExtAttr()
299 bool Argument::onlyReadsMemory() const { in onlyReadsMemory()
305 void Argument::addAttrs(AttrBuilder &B) { in addAttrs()
311 void Argument::addAttr(Attribute::AttrKind Kind) { in addAttr()
315 void Argument::addAttr(Attribute Attr) { in addAttr()
319 void Argument::removeAttr(Attribute::AttrKind Kind) { in removeAttr()
323 void Argument::removeAttrs(const AttributeMask &AM) { in removeAttrs()
329 bool Argument::hasAttribute(Attribute::AttrKind Kind) const { in hasAttribute()
333 Attribute Argument::getAttribute(Attribute::AttrKind Kind) const { in getAttribute()
465 Arguments = std::allocator<Argument>().allocate(NumArgs); in BuildLazyArguments()
469 new (Arguments + i) Argument(ArgTy, "", const_cast<Function *>(this), i); in BuildLazyArguments()
480 static MutableArrayRef<Argument> makeArgArray(Argument *Args, size_t Count) { in makeArgArray()
481 return MutableArrayRef<Argument>(Args, Count); in makeArgArray()
497 for (Argument &A : makeArgArray(Arguments, NumArgs)) { in clearArguments()
499 A.~Argument(); in clearArguments()
501 std::allocator<Argument>().deallocate(Arguments, NumArgs); in clearArguments()
511 [](const Argument &A) { return A.use_empty(); }) && in stealArgumentListFrom()
525 for (Argument &A : makeArgArray(Arguments, NumArgs)) { in stealArgumentListFrom()
1201 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Argument, ArgInfo)); in DecodeIITType()
1357 case IITDescriptor::Argument: in DecodeFixedType()
1528 case IITDescriptor::Argument: in matchIntrinsicType()