Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/eager/
Dattr_builder.h111 using AttrVec = tensorflow::gtl::InlinedVector<std::pair<string, T>, 2>;
137 AttrVec<int> int_attrs_;
138 AttrVec<float> float_attrs_;
139 AttrVec<bool> bool_attrs_;
140 AttrVec<tensorflow::DataType> type_attrs_;
/external/clang/include/clang/AST/
DAttrIterator.h42 typedef SmallVector<Attr*, 2> AttrVec; typedef
47 template <typename SpecificAttr, typename Container = AttrVec>
DDeclBase.h441 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);
DASTContext.h303 llvm::DenseMap<const Decl*, AttrVec*> DeclAttrs;
773 AttrVec& getDeclAttrs(const Decl *D);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAttributes.cpp894 SmallVector<Attribute, 4> AttrVec; in get() local
896 AttrVec.push_back(I->second); in get()
900 AttrPairVec.emplace_back(Index, AttributeSet::get(C, AttrVec)); in get()
931 SmallVector<AttributeSet, 4> AttrVec(attrIdxToArrayIdx(MaxIndex) + 1); in get() local
933 AttrVec[attrIdxToArrayIdx(Pair.first)] = Pair.second; in get()
935 return getImpl(C, AttrVec); in get()
/external/clang/lib/AST/
DDeclBase.cpp336 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()
DDeclPrinter.cpp205 AttrVec &Attrs = D->getAttrs(); in prettyPrintAttributes()
225 AttrVec &Attrs = D->getAttrs(); in prettyPrintPragmas()
DASTContext.cpp782 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()
DItaniumMangle.cpp696 for (AttrVec::const_reverse_iterator I = FD->getAttrs().rbegin(), in mangleFunctionEncodingBareType()
/external/llvm/lib/IR/
DAttributes.cpp735 SmallVector<Attribute, 4> AttrVec; in get() local
737 AttrVec.push_back(I->second); in get()
742 AttributeSetNode::get(C, AttrVec))); in get()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp1110 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/clang/lib/Index/
DCommentToXML.cpp997 const AttrVec &Attrs = DI->CommentDecl->getAttrs(); in visitFullComment()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp530 AttrVec Attrs; in VisitDecl()
2461 void ASTReader::ReadAttributes(ModuleFile &F, AttrVec &Attrs, in ReadAttributes()
3852 AttrVec Attrs; in UpdateDecl()
3953 AttrVec Attrs; in UpdateDecl()
DASTReaderStmt.cpp175 AttrVec Attrs; in VisitAttributedStmt()
/external/clang/include/clang/Serialization/
DASTReader.h2043 void ReadAttributes(ModuleFile &F, AttrVec &Attrs,
/external/clang/lib/Sema/
DSemaStmt.cpp3186 const AttrVec *Attrs = nullptr; in BuildReturnStmt()
DSemaDecl.cpp2352 AttrVec &NewAttributes = New->getAttrs(); in checkNewAttributesAfterDef()
2481 if (!foundAny) New->setAttrs(AttrVec()); in mergeDeclAttributes()
2545 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()
DSemaDeclAttr.cpp1989 AttrVec &Attrs = D->getAttrs(); in mergeAvailabilityAttr()
DSemaOpenMP.cpp619 StringRef Name, const AttrVec *Attrs = nullptr) { in buildVarDecl()
DSemaChecking.cpp6891 const AttrVec *Attrs, in CheckReturnValExpr()
/external/clang/include/clang/Sema/
DSema.h9457 const AttrVec *Attrs = nullptr,