Lines Matching refs:AttrBuilder
30 class AttrBuilder;
181 friend class AttrBuilder;
216 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B);
256 const AttrBuilder &Attrs) const;
391 class AttrBuilder {
400 AttrBuilder()
403 explicit AttrBuilder(uint64_t Val)
408 AttrBuilder(const Attribute &A)
413 AttrBuilder(AttributeSet AS, unsigned Idx);
418 AttrBuilder &addAttribute(Attribute::AttrKind Val);
421 AttrBuilder &addAttribute(Attribute A);
424 AttrBuilder &addAttribute(StringRef A, StringRef V = StringRef());
427 AttrBuilder &removeAttribute(Attribute::AttrKind Val);
430 AttrBuilder &removeAttributes(AttributeSet A, uint64_t Index);
433 AttrBuilder &removeAttribute(StringRef A);
436 AttrBuilder &merge(const AttrBuilder &B);
439 AttrBuilder &remove(const AttrBuilder &B);
443 bool overlaps(const AttrBuilder &B) const;
481 AttrBuilder &addAlignmentAttr(unsigned Align);
485 AttrBuilder &addStackAlignmentAttr(unsigned Align);
489 AttrBuilder &addDereferenceableAttr(uint64_t Bytes);
493 AttrBuilder &addDereferenceableOrNullAttr(uint64_t Bytes);
519 bool operator==(const AttrBuilder &B);
520 bool operator!=(const AttrBuilder &B) {
527 AttrBuilder &addRawValue(uint64_t Val);
533 AttrBuilder typeIncompatible(Type *Ty);