Home
last modified time | relevance | path

Searched refs:AttrList (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DXRayLists.cpp28 AttrList(llvm::SpecialCaseList::createOrDie( in XRayFunctionFilter()
41 AttrList->inSection("always", "fun", FunctionName, "arg1")) in shouldImbueFunction()
45 AttrList->inSection("always", "fun", FunctionName)) in shouldImbueFunction()
50 AttrList->inSection("never", "fun", FunctionName)) in shouldImbueFunction()
61 AttrList->inSection("always", "src", Filename, Category)) in shouldImbueFunctionsInFile()
65 AttrList->inSection("never", "src", Filename, Category)) in shouldImbueFunctionsInFile()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedAttr.h822 bool empty() const { return AttrList.empty(); } in empty()
823 SizeType size() const { return AttrList.size(); } in size()
824 ParsedAttr &operator[](SizeType pos) { return *AttrList[pos]; }
825 const ParsedAttr &operator[](SizeType pos) const { return *AttrList[pos]; }
829 AttrList.push_back(newAttr); in addAtEnd()
833 assert(is_contained(AttrList, ToBeRemoved) && in remove()
835 AttrList.erase(llvm::find(AttrList, ToBeRemoved)); in remove()
838 void clearListOnly() { AttrList.clear(); } in clearListOnly()
860 AttrList.insert(AttrList.begin(), B.I, E.I); in addAll()
864 AttrList.insert(AttrList.begin(), B.I, E.I); in addAll()
[all …]
H A DSemaObjC.h255 const ParsedAttributesView &AttrList, SkipBodyInfo *SkipBody);
282 SourceLocation EndProtoLoc, const ParsedAttributesView &AttrList,
291 const ParsedAttributesView &AttrList);
296 SourceLocation SuperClassLoc, const ParsedAttributesView &AttrList);
301 SourceLocation CatLoc, const ParsedAttributesView &AttrList);
368 const ParsedAttributesView &AttrList, tok::ObjCKeywordKind MethodImplKind,
H A DSemaHLSL.h59 Sema &S, QualType Wrapped, ArrayRef<const Attr *> AttrList,
H A DDeclSpec.h1268 ParsedAttributesView AttrList; member
1662 const ParsedAttributesView &getAttrs() const { return AttrList; } in getAttrs()
1663 ParsedAttributesView &getAttrs() { return AttrList; } in getAttrs()
2384 assert(TI.AttrList.empty() && in AddTypeInfo()
H A DSema.h4325 SourceLocation RBrac, const ParsedAttributesView &AttrList);
5020 const ParsedAttributesView &AttrList);
5052 const ParsedAttributesView &AttrList,
5059 const ParsedAttributesView &AttrList);
5164 const ParsedAttributesView &AttrList,
5240 const ParsedAttributesView &AttrList);
5331 const ParsedAttributesView &AttrList,
5355 const ParsedAttributesView &AttrList);
5364 const ParsedAttributesView &AttrList,
5887 const ParsedAttributesView &AttrList);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp90 void getThunkType(FunctionType *FT, AttributeList AttrList,
94 void getThunkRetType(FunctionType *FT, AttributeList AttrList,
100 void getThunkArgTypes(FunctionType *FT, AttributeList AttrList,
113 FunctionType *FT, AttributeList AttrList, Arm64ECThunkType TT, in getThunkType() argument
133 getThunkRetType(FT, AttrList, Out, Arm64RetTy, X64RetTy, Arm64ArgTypes, in getThunkType()
136 getThunkArgTypes(FT, AttrList, TT, Out, Arm64ArgTypes, X64ArgTypes, in getThunkType()
145 FunctionType *FT, AttributeList AttrList, Arm64ECThunkType TT, in getThunkArgTypes() argument
208 uint64_t ArgSizeBytes = AttrList.getParamArm64ECArgSizeBytes(I); in getThunkArgTypes()
209 Align ParamAlign = AttrList.getParamAlignment(I).valueOrOne(); in getThunkArgTypes()
224 FunctionType *FT, AttributeList AttrList, raw_ostream &Out, in getThunkRetType() argument
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DXRayLists.h32 std::unique_ptr<llvm::SpecialCaseList> AttrList; variable
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DParsedAttr.cpp94 for (ParsedAttr *A : List.AttrList) in takeFrom()
96 llvm::append_range(Attrs, List.AttrList); in takeFrom()
H A DSemaDeclObjC.cpp981 const ParsedAttributesView &AttrList, SkipBodyInfo *SkipBody) { in ActOnStartClassInterface() argument
1069 SemaRef.ProcessDeclAttributeList(SemaRef.TUScope, IDecl, AttrList); in ActOnStartClassInterface()
1220 const ParsedAttributesView &AttrList, SkipBodyInfo *SkipBody) { in ActOnStartProtocolInterface() argument
1271 SemaRef.ProcessDeclAttributeList(SemaRef.TUScope, PDecl, AttrList); in ActOnStartProtocolInterface()
1823 const ParsedAttributesView &AttrList) { in ActOnStartCategoryInterface() argument
1894 SemaRef.ProcessDeclAttributeList(SemaRef.TUScope, CDecl, AttrList); in ActOnStartCategoryInterface()
4790 const ParsedAttributesView &AttrList, tok::ObjCKeywordKind MethodDeclKind, in ActOnMethodDeclaration() argument
4854 SemaRef.ProcessDeclAttributeList(SemaRef.TUScope, ObjCMethod, AttrList); in ActOnMethodDeclaration()
H A DSemaHLSL.cpp1611 Sema &S, QualType Wrapped, ArrayRef<const Attr *> AttrList, in CreateHLSLAttributedResourceType() argument
1613 assert(AttrList.size() && "expected list of resource attributes"); in CreateHLSLAttributedResourceType()
1617 SourceLocation LocBegin = AttrList[0]->getRange().getBegin(); in CreateHLSLAttributedResourceType()
1618 SourceLocation LocEnd = AttrList[0]->getRange().getEnd(); in CreateHLSLAttributedResourceType()
1623 for (const Attr *A : AttrList) { in CreateHLSLAttributedResourceType()
1675 S.Diag(AttrList.back()->getRange().getEnd(), in CreateHLSLAttributedResourceType()
H A DSemaDeclCXX.cpp10662 SourceLocation RBrac, const ParsedAttributesView &AttrList) { in ActOnFinishCXXMemberSpecification() argument
10668 for (const ParsedAttr &AL : AttrList) { in ActOnFinishCXXMemberSpecification()
10680 LBrac, RBrac, AttrList); in ActOnFinishCXXMemberSpecification()
11770 const ParsedAttributesView &AttrList, in ActOnStartNamespaceDef() argument
11865 ProcessDeclAttributeList(DeclRegionScope, Namespc, AttrList); in ActOnStartNamespaceDef()
12430 const ParsedAttributesView &AttrList) { in ActOnUsingDirective() argument
12502 ProcessDeclAttributeList(S, UDir, AttrList); in ActOnUsingDirective()
12527 const ParsedAttributesView &AttrList) { in ActOnUsingDeclaration() argument
12597 SS, TargetNameInfo, EllipsisLoc, AttrList, in ActOnUsingDeclaration()
12599 AttrList.hasAttribute(ParsedAttr::AT_UsingIfExists)); in ActOnUsingDeclaration()
[all …]
H A DSemaDeclAttr.cpp7896 Scope *S, Decl *D, const ParsedAttributesView &AttrList, in ProcessDeclAttributeList() argument
7898 if (AttrList.empty()) in ProcessDeclAttributeList()
7901 for (const ParsedAttr &AL : AttrList) in ProcessDeclAttributeList()
7909 Diag(AttrList.begin()->getLoc(), diag::err_attribute_weakref_without_alias) in ProcessDeclAttributeList()
7981 const ParsedAttributesView &AttrList) { in ProcessDeclAttributeDelayed() argument
7982 for (const ParsedAttr &AL : AttrList) in ProcessDeclAttributeDelayed()
7995 AccessSpecDecl *ASDecl, const ParsedAttributesView &AttrList) { in ProcessAccessDeclAttributeList() argument
7996 for (const ParsedAttr &AL : AttrList) { in ProcessAccessDeclAttributeList()
H A DSemaType.cpp3693 Sema &S, Declarator &D, const ParsedAttributesView &AttrList, in getCCForDeclaratorChunk() argument
3698 for (const ParsedAttr &AL : AttrList) { in getCCForDeclaratorChunk()
4468 [](const ParsedAttributesView &AttrList) -> bool { in GetFullTypeForDeclarator() argument
4469 return AttrList.hasAttribute(ParsedAttr::AT_CFReturnsRetained) || in GetFullTypeForDeclarator()
4470 AttrList.hasAttribute(ParsedAttr::AT_CFReturnsNotRetained); in GetFullTypeForDeclarator()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAttributor.cpp426 SmallVector<Attribute, 8> AttrList; in manifest() local
429 AttrList.push_back(Attribute::get(Ctx, "uniform-work-group-size", in manifest()
431 return A.manifestAttrs(getIRPosition(), AttrList, in manifest()
585 SmallVector<Attribute, 8> AttrList; in manifest() local
590 AttrList.push_back(Attribute::get(Ctx, Attr.second)); in manifest()
593 return A.manifestAttrs(getIRPosition(), AttrList, in manifest()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributeImpl.h357 static void Profile(FoldingSetNodeID &ID, ArrayRef<Attribute> AttrList) { in Profile() argument
358 for (const auto &Attr : AttrList) in Profile()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp206 auto addAttrList = [&](AttributeList AttrList, unsigned NumArgs) { in addCall() argument
208 for (Attribute Attr : AttrList.getParamAttrs(Idx)) { in addCall()
214 for (Attribute Attr : AttrList.getFnAttrs()) in addCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h860 void setAttrList(const AttributeList &AttrList) const {
862 return CB->setAttributes(AttrList);
863 return getAssociatedFunction()->setAttributes(AttrList);
/freebsd/lib/clang/libclang/
H A DMakefile1045 clang/Basic/AttrList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1049 TGHDRS+= clang/Basic/AttrList.inc
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp3240 ArrayRef<const Record *> AttrList) { in emitAttrList() argument
3241 for (auto Cur : AttrList) { in emitAttrList()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2413 llvm::AttributeList &AttrList, in ConstructAttributeList() argument
2994 AttrList = llvm::AttributeList::get( in ConstructAttributeList()