Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/Basic/
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()
/external/llvm-project/clang/include/clang/Sema/
DParsedAttr.h823 bool empty() const { return AttrList.empty(); } in empty()
824 SizeType size() const { return AttrList.size(); } in size()
825 ParsedAttr &operator[](SizeType pos) { return *AttrList[pos]; }
826 const ParsedAttr &operator[](SizeType pos) const { return *AttrList[pos]; }
830 AttrList.push_back(newAttr); in addAtEnd()
834 assert(is_contained(AttrList, ToBeRemoved) && in remove()
836 AttrList.erase(llvm::find(AttrList, ToBeRemoved)); in remove()
839 void clearListOnly() { AttrList.clear(); } in clearListOnly()
861 AttrList.insert(AttrList.begin(), B.I, E.I); in addAll()
865 AttrList.insert(AttrList.begin(), B.I, E.I); in addAll()
[all …]
DSema.h2717 Decl *ActOnEmptyDeclaration(Scope *S, const ParsedAttributesView &AttrList,
2983 SourceLocation RBrac, const ParsedAttributesView &AttrList);
4129 const ParsedAttributesView &AttrList);
4133 const ParsedAttributesView &AttrList);
5456 const ParsedAttributesView &AttrList,
5518 const ParsedAttributesView &AttrList);
5553 const ParsedAttributesView &AttrList, bool IsInstantiation);
5570 const ParsedAttributesView &AttrList);
5574 const ParsedAttributesView &AttrList,
6946 const ParsedAttributesView &AttrList);
[all …]
/external/clang/include/clang/Sema/
DDeclSpec.h1118 AttributeList *AttrList; member
1469 return Common.AttrList; in getAttrs()
1473 return Common.AttrList; in getAttrListRef()
1492 I.Ptr.AttrList = nullptr; in getPointer()
1504 I.Ref.AttrList = nullptr; in getReference()
1516 I.Arr.AttrList = nullptr; in getArray()
1559 I.Cls.AttrList = nullptr; in getBlockPointer()
1570 I.Cls.AttrList = nullptr; in getPipe()
1582 I.Mem.AttrList = nullptr; in getMemberPointer()
1594 I.Common.AttrList = nullptr; in getParen()
[all …]
/external/llvm/lib/IR/
DAttributeImpl.h206 static void Profile(FoldingSetNodeID &ID, ArrayRef<Attribute> AttrList) { in Profile() argument
207 for (unsigned I = 0, E = AttrList.size(); I != E; ++I) in Profile()
208 AttrList[I].Profile(ID); in Profile()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DAttributor.h404 AttributeList AttrList; in getAttr() local
406 AttrList = ICS.getAttributes(); in getAttr()
408 AttrList = getAssociatedFunction()->getAttributes(); in getAttr()
410 if (AttrList.hasAttribute(getAttrIdx(), AK)) in getAttr()
411 return AttrList.getAttribute(getAttrIdx(), AK); in getAttr()
420 AttributeList AttrList; in removeAttrs() local
423 AttrList = CS.getAttributes(); in removeAttrs()
425 AttrList = getAssociatedFunction()->getAttributes(); in removeAttrs()
429 AttrList = AttrList.removeAttribute(Ctx, getAttrIdx(), AK); in removeAttrs()
432 CS.setAttributes(AttrList); in removeAttrs()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DXRayLists.h32 std::unique_ptr<llvm::SpecialCaseList> AttrList; variable
DCMakeLists.txt28 clang_tablegen(AttrList.inc -gen-clang-attr-list
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributeImpl.h228 static void Profile(FoldingSetNodeID &ID, ArrayRef<Attribute> AttrList) { in Profile() argument
229 for (const auto &Attr : AttrList) in Profile()
/external/clang/include/clang/Basic/
DCMakeLists.txt26 clang_tablegen(AttrList.inc -gen-clang-attr-list
/external/llvm-project/llvm/lib/Transforms/Utils/
DAssumeBundleBuilder.cpp206 auto addAttrList = [&](AttributeList AttrList) { in addCall() argument
208 Idx < AttrList.getNumAttrSets(); Idx++) in addCall()
209 for (Attribute Attr : AttrList.getAttributes(Idx)) in addCall()
211 for (Attribute Attr : AttrList.getFnAttributes()) in addCall()
/external/llvm-project/llvm/lib/IR/
DAttributeImpl.h270 static void Profile(FoldingSetNodeID &ID, ArrayRef<Attribute> AttrList) { in Profile() argument
271 for (const auto &Attr : AttrList) in Profile()
/external/clang/lib/Sema/
DSemaStmtAttr.cpp295 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList, in ProcessStmtAttributes() argument
298 for (const AttributeList* l = AttrList; l; l = l->getNext()) { in ProcessStmtAttributes()
DSemaDeclObjC.cpp908 SourceLocation EndProtoLoc, AttributeList *AttrList) { in ActOnStartClassInterface() argument
993 if (AttrList) in ActOnStartClassInterface()
994 ProcessDeclAttributeList(TUScope, IDecl, AttrList); in ActOnStartClassInterface()
1130 AttributeList *AttrList) { in ActOnStartProtocolInterface() argument
1169 if (AttrList) in ActOnStartProtocolInterface()
1170 ProcessDeclAttributeList(TUScope, PDecl, AttrList); in ActOnStartProtocolInterface()
4289 AttributeList *AttrList, tok::ObjCKeywordKind MethodDeclKind, in ActOnMethodDeclaration() argument
4397 if (AttrList) in ActOnMethodDeclaration()
4398 ProcessDeclAttributeList(TUScope, ObjCMethod, AttrList); in ActOnMethodDeclaration()
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Basic/
DBUILD.gn24 "//clang/include/clang/Basic:AttrList",
/external/llvm-project/llvm/utils/gn/secondary/clang/include/clang/Basic/
DBUILD.gn65 clang_tablegen("AttrList") {
/external/llvm-project/clang/lib/Sema/
DSemaStmtAttr.cpp438 const ParsedAttributesView &AttrList, in ProcessStmtAttributes() argument
441 for (const ParsedAttr &AL : AttrList) { in ProcessStmtAttributes()
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DAttributor.h498 AttributeList AttrList; in removeAttrs() local
501 AttrList = CB->getAttributes(); in removeAttrs()
503 AttrList = getAssociatedFunction()->getAttributes(); in removeAttrs()
507 AttrList = AttrList.removeAttribute(Ctx, getAttrIdx(), AK); in removeAttrs()
510 CB->setAttributes(AttrList); in removeAttrs()
512 getAssociatedFunction()->setAttributes(AttrList); in removeAttrs()
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributor.cpp437 AttributeList AttrList; in getAttrsFromIRAttr() local
439 AttrList = CB->getAttributes(); in getAttrsFromIRAttr()
441 AttrList = getAssociatedFunction()->getAttributes(); in getAttrsFromIRAttr()
443 bool HasAttr = AttrList.hasAttribute(getAttrIdx(), AK); in getAttrsFromIRAttr()
445 Attrs.push_back(AttrList.getAttribute(getAttrIdx(), AK)); in getAttrsFromIRAttr()
/external/llvm-project/clang/tools/libclang/
DCXIndexDataConsumer.cpp1153 EntityInfo.AttrList = AttrListInfo::create(D, *this); in getEntityInfo()
1154 EntityInfo.attributes = EntityInfo.AttrList->getAttrs(); in getEntityInfo()
1155 EntityInfo.numAttributes = EntityInfo.AttrList->getNumAttrs(); in getEntityInfo()
DCXIndexDataConsumer.h51 IntrusiveRefCntPtr<AttrListInfo> AttrList; member
/external/clang/tools/libclang/
DCXIndexDataConsumer.cpp1157 EntityInfo.AttrList = AttrListInfo::create(D, *this); in getEntityInfo()
1158 EntityInfo.attributes = EntityInfo.AttrList->getAttrs(); in getEntityInfo()
1159 EntityInfo.numAttributes = EntityInfo.AttrList->getNumAttrs(); in getEntityInfo()
DCXIndexDataConsumer.h53 IntrusiveRefCntPtr<AttrListInfo> AttrList; member
/external/clang/
DAndroid.bp134 "clang/Basic/AttrList.inc",
/external/clang/lib/Parse/
DParseDecl.cpp1411 AttributeList *AttrList = attrs.getList(); in ProhibitCXX11Attributes() local
1412 while (AttrList) { in ProhibitCXX11Attributes()
1413 if (AttrList->isCXX11Attribute()) { in ProhibitCXX11Attributes()
1414 Diag(AttrList->getLoc(), diag::err_attribute_not_type_attr) in ProhibitCXX11Attributes()
1415 << AttrList->getName(); in ProhibitCXX11Attributes()
1416 AttrList->setInvalid(); in ProhibitCXX11Attributes()
1418 AttrList = AttrList->getNext(); in ProhibitCXX11Attributes()
6225 attrs.set(Chunk.Common.AttrList); in ParseMisplacedBracketDeclarator()

12