Home
last modified time | relevance | path

Searched refs:NumAttrs (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/IR/
DAttributeImpl.h145 unsigned NumAttrs; ///< Number of attributes in this node. variable
147 AttributeSetNode(ArrayRef<Attribute> Attrs) : NumAttrs(Attrs.size()) { in AttributeSetNode()
161 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes()
173 iterator end() const { return begin() + NumAttrs; } in end()
194 unsigned NumAttrs; ///< Number of entries in this set. variable
207 : Context(C), NumAttrs(Attrs.size()) { in AttributeSetImpl()
226 unsigned getNumAttributes() const { return NumAttrs; } in getNumAttributes()
DAttributes.cpp771 uint64_t NumAttrs = pImpl->getNumAttributes(); in addAttributes() local
774 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { in addAttributes()
798 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I) in addAttributes()
824 uint64_t NumAttrs = pImpl->getNumAttributes(); in removeAttributes() local
827 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { in removeAttributes()
849 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I) in removeAttributes()
/external/llvm/test/Analysis/ScalarEvolution/
Dpr22674.ll49 …%NumAttrs.i.i.i = getelementptr inbounds %"class.llvm::AttributeSetNode.230.2029.3828.6141.6912.76…
50 %1 = load i32, i32* %NumAttrs.i.i.i, align 4, !tbaa !8
/external/clang/include/clang/AST/
DStmt.h831 unsigned NumAttrs; variable
837 NumAttrs(Attrs.size()) { in AttributedStmt()
841 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() argument
842 : Stmt(AttributedStmtClass, Empty), NumAttrs(NumAttrs) { in AttributedStmt()
843 memset(getAttrArrayPtr(), 0, NumAttrs * sizeof(Attr *)); in AttributedStmt()
855 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);
859 return llvm::makeArrayRef(getAttrArrayPtr(), NumAttrs); in getAttrs()
/external/clang/lib/AST/
DStmt.cpp321 unsigned NumAttrs) { in CreateEmpty() argument
322 assert(NumAttrs > 0 && "NumAttrs should be greater than zero"); in CreateEmpty()
323 void *Mem = C.Allocate(sizeof(AttributedStmt) + sizeof(Attr *) * NumAttrs, in CreateEmpty()
325 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp173 uint64_t NumAttrs = Record[Idx++]; in VisitAttributedStmt() local
176 (void)NumAttrs; in VisitAttributedStmt()
177 assert(NumAttrs == S->NumAttrs); in VisitAttributedStmt()
178 assert(NumAttrs == Attrs.size()); in VisitAttributedStmt()
/external/clang/tools/c-index-test/
Dc-index-test.c415 unsigned NumAttrs; in DumpCXCommentInternal() local
420 NumAttrs = clang_HTMLStartTag_getNumAttrs(Comment); in DumpCXCommentInternal()
421 if (NumAttrs != 0) { in DumpCXCommentInternal()
423 for (i = 0; i != NumAttrs; ++i) { in DumpCXCommentInternal()