Home
last modified time | relevance | path

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

/trueos/contrib/llvm/lib/IR/
HDAttributeImpl.h144 unsigned NumAttrs; ///< Number of attributes in this node. variable
146 AttributeSetNode(ArrayRef<Attribute> Attrs) : NumAttrs(Attrs.size()) { in AttributeSetNode()
160 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes()
171 iterator end() const { return begin() + NumAttrs; } in end()
192 unsigned NumAttrs; ///< Number of entries in this set. variable
205 : Context(C), NumAttrs(Attrs.size()) { in AttributeSetImpl()
224 unsigned getNumAttributes() const { return NumAttrs; } in getNumAttributes()
HDAttributes.cpp700 uint64_t NumAttrs = pImpl->getNumAttributes(); in addAttributes() local
703 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { in addAttributes()
727 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I) in addAttributes()
753 uint64_t NumAttrs = pImpl->getNumAttributes(); in removeAttributes() local
756 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { in removeAttributes()
778 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I) in removeAttributes()
/trueos/contrib/llvm/tools/clang/include/clang/AST/
HDStmt.h804 unsigned NumAttrs; variable
811 NumAttrs(Attrs.size()) { in AttributedStmt()
815 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() argument
816 : Stmt(AttributedStmtClass, Empty), NumAttrs(NumAttrs) { in AttributedStmt()
817 memset(Attrs, 0, NumAttrs * sizeof(Attr*)); in AttributedStmt()
824 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);
828 return ArrayRef<const Attr*>(Attrs, NumAttrs); in getAttrs()
/trueos/contrib/llvm/tools/clang/lib/AST/
HDStmt.cpp295 unsigned NumAttrs) { in CreateEmpty() argument
296 assert(NumAttrs > 0 && "NumAttrs should be greater than zero"); in CreateEmpty()
298 sizeof(Attr*) * (NumAttrs - 1), in CreateEmpty()
300 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
/trueos/contrib/llvm/tools/clang/lib/Serialization/
HDASTReaderStmt.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()