Searched refs:NumAttrs (Results 1 – 10 of 10) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Attributes.cpp | 132 AttributeListImpl(const AttributeWithIndex *Attr, unsigned NumAttrs) in AttributeListImpl() argument 133 : Attrs(Attr, Attr+NumAttrs) { in AttributeListImpl() 154 unsigned NumAttrs) { in Profile() argument 155 for (unsigned i = 0; i != NumAttrs; ++i) in Profile() 167 AttrListPtr AttrListPtr::get(const AttributeWithIndex *Attrs, unsigned NumAttrs) { in get() argument 169 if (NumAttrs == 0) in get() 173 for (unsigned i = 0; i != NumAttrs; ++i) { in get() 183 AttributeListImpl::Profile(ID, Attrs, NumAttrs); in get() 194 PAL = new AttributeListImpl(Attrs, NumAttrs); in get()
|
/external/llvm/lib/IR/ |
D | AttributeImpl.h | 154 unsigned NumAttrs; ///< Number of attributes in this node. variable 159 : NumAttrs(Attrs.size()), AvailableAttrs(0) { in AttributeSetNode() 181 unsigned getNumAttributes() const { return NumAttrs; } in getNumAttributes() 187 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes() 201 iterator end() const { return begin() + NumAttrs; } in end()
|
D | Attributes.cpp | 910 uint64_t NumAttrs = pImpl->getNumSlots(); in addAttributes() local 913 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { in addAttributes() 937 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I) in addAttributes() 967 uint64_t NumAttrs = pImpl->getNumSlots(); in removeAttributes() local 970 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { in removeAttributes() 992 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I) in removeAttributes() 1008 uint64_t NumAttrs = pImpl->getNumSlots(); in removeAttributes() local 1011 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { in removeAttributes() 1028 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 | 833 unsigned NumAttrs; variable 839 NumAttrs(Attrs.size()) { in AttributedStmt() 843 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() argument 844 : Stmt(AttributedStmtClass, Empty), NumAttrs(NumAttrs) { in AttributedStmt() 845 std::fill_n(getAttrArrayPtr(), NumAttrs, nullptr); in AttributedStmt() 859 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs); 863 return llvm::makeArrayRef(getAttrArrayPtr(), NumAttrs); in getAttrs()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Attributes.h | 201 static AttrListPtr get(const AttributeWithIndex *Attr, unsigned NumAttrs);
|
D | Intrinsics.gen | 7638 unsigned NumAttrs = 0; 8059 NumAttrs = 1; 8090 NumAttrs = 1; 8159 NumAttrs = 1; 8166 NumAttrs = 2; 8173 NumAttrs = 3; 8180 NumAttrs = 2; 8186 NumAttrs = 3; 8191 NumAttrs = 2; 8196 return AttrListPtr::get(AWI, NumAttrs);
|
/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 | 174 uint64_t NumAttrs = Record[Idx++]; in VisitAttributedStmt() local 177 (void)NumAttrs; in VisitAttributedStmt() 178 assert(NumAttrs == S->NumAttrs); in VisitAttributedStmt() 179 assert(NumAttrs == Attrs.size()); in VisitAttributedStmt()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 432 unsigned NumAttrs; in DumpCXCommentInternal() local 437 NumAttrs = clang_HTMLStartTag_getNumAttrs(Comment); in DumpCXCommentInternal() 438 if (NumAttrs != 0) { in DumpCXCommentInternal() 440 for (i = 0; i != NumAttrs; ++i) { in DumpCXCommentInternal()
|