Lines Matching refs:AttributeSet
519 AttributeSet(const_cast<AttributeSetImpl *>(this)).dump(); in dump()
526 AttributeSet
527 AttributeSet::getImpl(LLVMContext &C, in getImpl()
548 return AttributeSet(PA); in getImpl()
551 AttributeSet AttributeSet::get(LLVMContext &C, in get()
555 return AttributeSet(); in get()
585 AttributeSet AttributeSet::get(LLVMContext &C, in get()
590 return AttributeSet(); in get()
595 AttributeSet AttributeSet::get(LLVMContext &C, unsigned Index, AttrBuilder &B) { in get()
597 return AttributeSet(); in get()
624 AttributeSet AttributeSet::get(LLVMContext &C, unsigned Index, in get()
633 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<AttributeSet> Attrs) { in get()
634 if (Attrs.empty()) return AttributeSet(); in get()
664 AttributeSet AttributeSet::addAttribute(LLVMContext &C, unsigned Index, in addAttribute()
667 return addAttributes(C, Index, AttributeSet::get(C, Index, Attr)); in addAttribute()
670 AttributeSet AttributeSet::addAttribute(LLVMContext &C, unsigned Index, in addAttribute()
674 return addAttributes(C, Index, AttributeSet::get(C, Index, B)); in addAttribute()
677 AttributeSet AttributeSet::addAttribute(LLVMContext &C, unsigned Index, in addAttribute()
681 return addAttributes(C, Index, AttributeSet::get(C, Index, B)); in addAttribute()
684 AttributeSet AttributeSet::addAttributes(LLVMContext &C, unsigned Index, in addAttributes()
685 AttributeSet Attrs) const { in addAttributes()
699 SmallVector<AttributeSet, 4> AttrSet; in addAttributes()
701 AttributeSet AS; in addAttributes()
724 AttrSet.push_back(AttributeSet::get(C, Index, B)); in addAttributes()
733 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, unsigned Index, in removeAttribute()
736 return removeAttributes(C, Index, AttributeSet::get(C, Index, Attr)); in removeAttribute()
739 AttributeSet AttributeSet::removeAttributes(LLVMContext &C, unsigned Index, in removeAttributes()
740 AttributeSet Attrs) const { in removeAttributes()
741 if (!pImpl) return AttributeSet(); in removeAttributes()
752 SmallVector<AttributeSet, 4> AttrSet; in removeAttributes()
754 AttributeSet AS; in removeAttributes()
775 AttrSet.push_back(AttributeSet::get(C, Index, B)); in removeAttributes()
788 LLVMContext &AttributeSet::getContext() const { in getContext()
792 AttributeSet AttributeSet::getParamAttributes(unsigned Index) const { in getParamAttributes()
794 AttributeSet::get(pImpl->getContext(), in getParamAttributes()
797 AttributeSet(); in getParamAttributes()
800 AttributeSet AttributeSet::getRetAttributes() const { in getRetAttributes()
802 AttributeSet::get(pImpl->getContext(), in getRetAttributes()
806 AttributeSet(); in getRetAttributes()
809 AttributeSet AttributeSet::getFnAttributes() const { in getFnAttributes()
811 AttributeSet::get(pImpl->getContext(), in getFnAttributes()
815 AttributeSet(); in getFnAttributes()
818 bool AttributeSet::hasAttribute(unsigned Index, Attribute::AttrKind Kind) const{ in hasAttribute()
823 bool AttributeSet::hasAttribute(unsigned Index, StringRef Kind) const { in hasAttribute()
828 bool AttributeSet::hasAttributes(unsigned Index) const { in hasAttributes()
835 bool AttributeSet::hasAttrSomewhere(Attribute::AttrKind Attr) const { in hasAttrSomewhere()
847 Attribute AttributeSet::getAttribute(unsigned Index, in getAttribute()
853 Attribute AttributeSet::getAttribute(unsigned Index, in getAttribute()
859 unsigned AttributeSet::getParamAlignment(unsigned Index) const { in getParamAlignment()
864 unsigned AttributeSet::getStackAlignment(unsigned Index) const { in getStackAlignment()
869 std::string AttributeSet::getAsString(unsigned Index, in getAsString()
876 AttributeSetNode *AttributeSet::getAttributes(unsigned Index) const { in getAttributes()
887 AttributeSet::iterator AttributeSet::begin(unsigned Slot) const { in begin()
893 AttributeSet::iterator AttributeSet::end(unsigned Slot) const { in end()
906 unsigned AttributeSet::getNumSlots() const { in getNumSlots()
910 unsigned AttributeSet::getSlotIndex(unsigned Slot) const { in getSlotIndex()
916 AttributeSet AttributeSet::getSlotAttributes(unsigned Slot) const { in getSlotAttributes()
922 uint64_t AttributeSet::Raw(unsigned Index) const { in Raw()
927 void AttributeSet::dump() const { in dump()
947 AttrBuilder::AttrBuilder(AttributeSet AS, unsigned Index) in AttrBuilder()
1009 AttrBuilder &AttrBuilder::removeAttributes(AttributeSet A, uint64_t Index) { in removeAttributes()
1019 for (AttributeSet::iterator I = A.begin(Slot), E = A.end(Slot); I != E; ++I) { in removeAttributes()
1096 bool AttrBuilder::hasAttributes(AttributeSet A, uint64_t Index) const { in hasAttributes()
1106 for (AttributeSet::iterator I = A.begin(Slot), E = A.end(Slot); in hasAttributes()
1161 AttributeSet AttributeFuncs::typeIncompatible(Type *Ty, uint64_t Index) { in typeIncompatible()
1179 return AttributeSet::get(Ty->getContext(), Index, Incompatible); in typeIncompatible()