Home
last modified time | relevance | path

Searched refs:getAttributeAtIndex (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DAttributes.h696 Attribute Attr = getAttributeAtIndex(ArgNo, Kind);
794 Attribute getAttributeAtIndex(unsigned Index, Attribute::AttrKind Kind) const;
797 Attribute getAttributeAtIndex(unsigned Index, StringRef Kind) const;
801 return getAttributeAtIndex(ArgNo + FirstArgIndex, Kind);
806 return getAttributeAtIndex(ArgNo + FirstArgIndex, Kind);
811 return getAttributeAtIndex(FunctionIndex, Kind);
816 return getAttributeAtIndex(FunctionIndex, Kind);
H A DFunction.h398 Attribute getAttributeAtIndex(unsigned i, Attribute::AttrKind Kind) const;
401 Attribute getAttributeAtIndex(unsigned i, StringRef Kind) const;
H A DInstrTypes.h1605 Attribute getAttributeAtIndex(unsigned i, Attribute::AttrKind Kind) const {
1606 return getAttributes().getAttributeAtIndex(i, Kind);
1610 Attribute getAttributeAtIndex(unsigned i, StringRef Kind) const {
1611 return getAttributes().getAttributeAtIndex(i, Kind);
/llvm-project-15.0.7/llvm/lib/IR/
H A DFunction.cpp645 Attribute Function::getAttributeAtIndex(unsigned i, in getAttributeAtIndex() function in Function
647 return AttributeSets.getAttributeAtIndex(i, Kind); in getAttributeAtIndex()
650 Attribute Function::getAttributeAtIndex(unsigned i, StringRef Kind) const { in getAttributeAtIndex() function in Function
651 return AttributeSets.getAttributeAtIndex(i, Kind); in getAttributeAtIndex()
H A DAttributes.cpp1418 Attribute AttributeList::getAttributeAtIndex(unsigned Index, in getAttributeAtIndex() function in AttributeList
1423 Attribute AttributeList::getAttributeAtIndex(unsigned Index, in getAttributeAtIndex() function in AttributeList
H A DCore.cpp2457 return wrap(unwrap<Function>(F)->getAttributeAtIndex( in LLVMGetEnumAttributeAtIndex()
2465 unwrap<Function>(F)->getAttributeAtIndex(Idx, StringRef(K, KLen))); in LLVMGetStringAttributeAtIndex()
2872 return wrap(unwrap<CallBase>(C)->getAttributeAtIndex( in LLVMGetCallSiteEnumAttribute()
2880 unwrap<CallBase>(C)->getAttributeAtIndex(Idx, StringRef(K, KLen))); in LLVMGetCallSiteStringAttribute()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributor.cpp681 isEqualOrWorse(Attr, Attrs.getAttributeAtIndex(AttrIdx, Kind))) in addIfNotExistent()
690 isEqualOrWorse(Attr, Attrs.getAttributeAtIndex(AttrIdx, Kind))) in addIfNotExistent()
699 isEqualOrWorse(Attr, Attrs.getAttributeAtIndex(AttrIdx, Kind))) in addIfNotExistent()
957 Attrs.push_back(AttrList.getAttributeAtIndex(getAttrIdx(), AK)); in getAttrsFromIRAttr()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp969 Attrs.getAttributeAtIndex(i, TypedAttr).getValueAsType()) { in remapInstruction()
/llvm-project-15.0.7/llvm/lib/Linker/
H A DIRMover.cpp665 Attrs.getAttributeAtIndex(i, TypedAttr).getValueAsType()) { in mapAttributeTypes()