Searched refs:NumAttrs (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/IR/ |
D | AttributeImpl.h | 150 unsigned NumAttrs; ///< Number of attributes in this node. variable 152 AttributeSetNode(ArrayRef<Attribute> Attrs) : NumAttrs(Attrs.size()) { in AttributeSetNode() 165 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes() 178 iterator end() const { return begin() + NumAttrs; } in end() 203 unsigned NumAttrs; ///< Number of entries in this set. variable 206 size_t numTrailingObjects(OverloadToken<IndexAttrPair>) { return NumAttrs; } in numTrailingObjects() 219 : Context(C), NumAttrs(Attrs.size()) { in AttributeSetImpl() 238 unsigned getNumAttributes() const { return NumAttrs; } in getNumAttributes()
|
D | Attributes.cpp | 827 uint64_t NumAttrs = pImpl->getNumAttributes(); in addAttributes() local 830 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { in addAttributes() 854 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I) in addAttributes() 878 uint64_t NumAttrs = pImpl->getNumAttributes(); in removeAttributes() local 881 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { in removeAttributes() 903 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I) in removeAttributes() 919 uint64_t NumAttrs = pImpl->getNumAttributes(); in removeAttributes() local 922 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { in removeAttributes() 939 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I) in removeAttributes()
|
/external/llvm/test/Analysis/ScalarEvolution/ |
D | pr22674.ll | 49 …%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/ |
D | Stmt.h | 821 unsigned NumAttrs; variable 827 NumAttrs(Attrs.size()) { in AttributedStmt() 831 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() argument 832 : Stmt(AttributedStmtClass, Empty), NumAttrs(NumAttrs) { in AttributedStmt() 833 std::fill_n(getAttrArrayPtr(), NumAttrs, nullptr); in AttributedStmt() 847 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs); 851 return llvm::makeArrayRef(getAttrArrayPtr(), NumAttrs); in getAttrs()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 323 unsigned NumAttrs) { in CreateEmpty() argument 324 assert(NumAttrs > 0 && "NumAttrs should be greater than zero"); in CreateEmpty() 325 void *Mem = C.Allocate(sizeof(AttributedStmt) + sizeof(Attr *) * NumAttrs, in CreateEmpty() 327 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 173 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/ |
D | c-index-test.c | 428 unsigned NumAttrs; in DumpCXCommentInternal() local 433 NumAttrs = clang_HTMLStartTag_getNumAttrs(Comment); in DumpCXCommentInternal() 434 if (NumAttrs != 0) { in DumpCXCommentInternal() 436 for (i = 0; i != NumAttrs; ++i) { in DumpCXCommentInternal()
|