/external/llvm-project/clang/include/clang/AST/ |
D | AttrIterator.h | 29 using AttrVec = SmallVector<Attr *, 4>; variable 33 template <typename SpecificAttr, typename Container = AttrVec>
|
D | DeclBase.h | 491 void setAttrs(const AttrVec& Attrs) { in setAttrs() 495 AttrVec &getAttrs() { in getAttrs() 496 return const_cast<AttrVec&>(const_cast<const Decl*>(this)->getAttrs()); in getAttrs() 499 const AttrVec &getAttrs() const; 503 using attr_iterator = AttrVec::const_iterator; 521 AttrVec &Vec = getAttrs(); in dropAttr() 1189 void setAttrsImpl(const AttrVec& Attrs, ASTContext &Ctx);
|
D | ASTContext.h | 417 llvm::DenseMap<const Decl*, AttrVec*> DeclAttrs; 836 AttrVec& getDeclAttrs(const Decl *D);
|
/external/clang/include/clang/AST/ |
D | AttrIterator.h | 42 typedef SmallVector<Attr*, 2> AttrVec; typedef 47 template <typename SpecificAttr, typename Container = AttrVec>
|
D | DeclBase.h | 441 void setAttrs(const AttrVec& Attrs) { in setAttrs() 444 AttrVec &getAttrs() { in getAttrs() 445 return const_cast<AttrVec&>(const_cast<const Decl*>(this)->getAttrs()); in getAttrs() 447 const AttrVec &getAttrs() const; 454 setAttrs(AttrVec(1, A)); in addAttr() 457 typedef AttrVec::const_iterator attr_iterator; 475 AttrVec &Vec = getAttrs(); in dropAttr() 1030 void setAttrsImpl(const AttrVec& Attrs, ASTContext &Ctx);
|
D | ASTContext.h | 303 llvm::DenseMap<const Decl*, AttrVec*> DeclAttrs; 773 AttrVec& getDeclAttrs(const Decl *D);
|
/external/llvm-project/clang/lib/AST/ |
D | DeclBase.cpp | 433 const AttrVec &V = getAttrs(); in getMaxAlignment() 865 void Decl::setAttrsImpl(const AttrVec &attrs, ASTContext &Ctx) { in setAttrsImpl() 868 AttrVec &AttrBlank = Ctx.getDeclAttrs(this); in setAttrsImpl() 884 setAttrs(AttrVec(1, A)); in addAttr() 888 AttrVec &Attrs = getAttrs(); in addAttr() 905 const AttrVec &Decl::getAttrs() const { in getAttrs()
|
D | DeclPrinter.cpp | 234 AttrVec &Attrs = D->getAttrs(); in prettyPrintAttributes() 256 AttrVec &Attrs = D->getAttrs(); in prettyPrintPragmas()
|
D | ASTContext.cpp | 1001 for (llvm::DenseMap<const Decl*, AttrVec*>::iterator A = DeclAttrs.begin(), in ~ASTContext() 1004 A->second->~AttrVec(); in ~ASTContext() 1472 AttrVec& ASTContext::getDeclAttrs(const Decl *D) { in getDeclAttrs() 1473 AttrVec *&Result = DeclAttrs[D]; in getDeclAttrs() 1475 void *Mem = Allocate(sizeof(AttrVec)); in getDeclAttrs() 1476 Result = new (Mem) AttrVec; in getDeclAttrs() 1484 llvm::DenseMap<const Decl*, AttrVec*>::iterator Pos = DeclAttrs.find(D); in eraseDeclAttrs() 1486 Pos->second->~AttrVec(); in eraseDeclAttrs()
|
/external/llvm-project/polly/lib/External/isl/interface/ |
D | extract_interface.cc | 122 AttrVec attrs = decl->getAttrs(); in has_annotation() 123 for (AttrVec::const_iterator i = attrs.begin() ; i != attrs.end(); ++i) { in has_annotation()
|
D | generator.cc | 467 AttrVec attrs = decl->getAttrs(); in find_superclasses() 468 for (AttrVec::const_iterator i = attrs.begin(); i != attrs.end(); ++i) { in find_superclasses()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Attributes.cpp | 995 SmallVector<Attribute, 4> AttrVec; in get() local 997 AttrVec.push_back(I->second); in get() 1001 AttrPairVec.emplace_back(Index, AttributeSet::get(C, AttrVec)); in get() 1032 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1); in get() local 1034 AttrVec[attrIdxToArrayIdx(Pair.first)] = Pair.second; in get() 1036 return getImpl(C, AttrVec); in get()
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 336 const AttrVec &V = getAttrs(); in getMaxAlignment() 704 void Decl::setAttrsImpl(const AttrVec &attrs, ASTContext &Ctx) { in setAttrsImpl() 707 AttrVec &AttrBlank = Ctx.getDeclAttrs(this); in setAttrsImpl() 721 const AttrVec &Decl::getAttrs() const { in getAttrs()
|
D | DeclPrinter.cpp | 205 AttrVec &Attrs = D->getAttrs(); in prettyPrintAttributes() 225 AttrVec &Attrs = D->getAttrs(); in prettyPrintPragmas()
|
D | ASTContext.cpp | 782 for (llvm::DenseMap<const Decl*, AttrVec*>::iterator A = DeclAttrs.begin(), in ~ASTContext() 785 A->second->~AttrVec(); in ~ASTContext() 1133 AttrVec& ASTContext::getDeclAttrs(const Decl *D) { in getDeclAttrs() 1134 AttrVec *&Result = DeclAttrs[D]; in getDeclAttrs() 1136 void *Mem = Allocate(sizeof(AttrVec)); in getDeclAttrs() 1137 Result = new (Mem) AttrVec; in getDeclAttrs() 1145 llvm::DenseMap<const Decl*, AttrVec*>::iterator Pos = DeclAttrs.find(D); in eraseDeclAttrs() 1147 Pos->second->~AttrVec(); in eraseDeclAttrs()
|
/external/llvm-project/llvm/lib/IR/ |
D | Attributes.cpp | 1120 SmallVector<Attribute, 4> AttrVec; in get() local 1122 AttrVec.push_back(I->second); in get() 1126 AttrPairVec.emplace_back(Index, AttributeSet::get(C, AttrVec)); in get() 1157 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1); in get() local 1159 AttrVec[attrIdxToArrayIdx(Pair.first)] = Pair.second; in get() 1161 return getImpl(C, AttrVec); in get()
|
/external/llvm-project/clang/include/clang/Serialization/ |
D | ASTRecordReader.h | 327 void readAttributes(AttrVec &Attrs);
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 735 SmallVector<Attribute, 4> AttrVec; in get() local 737 AttrVec.push_back(I->second); in get() 742 AttributeSetNode::get(C, AttrVec))); in get()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 1103 static bool MatchTwoAttributeLists(const AttrVec &Attrs1, const AttrVec &Attrs2, in MatchTwoAttributeLists() 1139 const AttrVec &Attrs1 = Decl1->getAttrs(); in AttributesMatch() 1140 const AttrVec &Attrs2 = Decl2->getAttrs(); in AttributesMatch()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 1110 static bool MatchTwoAttributeLists(const AttrVec &Attrs1, const AttrVec &Attrs2, in MatchTwoAttributeLists() 1146 const AttrVec &Attrs1 = Decl1->getAttrs(); in AttributesMatch() 1147 const AttrVec &Attrs2 = Decl2->getAttrs(); in AttributesMatch()
|
/external/llvm-project/clang/lib/Index/ |
D | CommentToXML.cpp | 994 const AttrVec &Attrs = DI->CommentDecl->getAttrs(); in visitFullComment()
|
/external/clang/lib/Index/ |
D | CommentToXML.cpp | 997 const AttrVec &Attrs = DI->CommentDecl->getAttrs(); in visitFullComment()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 530 AttrVec Attrs; in VisitDecl() 2461 void ASTReader::ReadAttributes(ModuleFile &F, AttrVec &Attrs, in ReadAttributes() 3852 AttrVec Attrs; in UpdateDecl() 3953 AttrVec Attrs; in UpdateDecl()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 591 AttrVec Attrs; in VisitDecl() 2799 void ASTRecordReader::readAttributes(AttrVec &Attrs) { in readAttributes() 4595 AttrVec Attrs; in UpdateDecl() 4701 AttrVec Attrs; in UpdateDecl()
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 2043 void ReadAttributes(ModuleFile &F, AttrVec &Attrs,
|