Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DAttributeImpl.h154 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()
DAttributes.cpp910 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/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributeImpl.h182 unsigned NumAttrs; ///< Number of attributes in this node. variable
200 unsigned getNumAttributes() const { return NumAttrs; } in getNumAttributes()
206 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes()
222 iterator end() const { return begin() + NumAttrs; } in end()
DAttributes.cpp720 : NumAttrs(Attrs.size()) { in AttributeSetNode()
/external/llvm-project/llvm/lib/IR/
DAttributeImpl.h216 unsigned NumAttrs; ///< Number of attributes in this node. variable
239 unsigned getNumAttributes() const { return NumAttrs; } in getNumAttributes()
245 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes()
264 iterator end() const { return begin() + NumAttrs; } in end()
DAttributes.cpp800 : NumAttrs(Attrs.size()) { in AttributeSetNode()
/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/llvm-project/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.h833 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/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDie.cpp722 auto NumAttrs = AbbrDecl.getNumAttributes(); in updateForIndex() local
723 if (Index < NumAttrs) { in updateForIndex()
734 assert(Index == NumAttrs && "Indexes should be [0, NumAttrs) only"); in updateForIndex()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDie.cpp686 auto NumAttrs = AbbrDecl.getNumAttributes(); in updateForIndex() local
687 if (Index < NumAttrs) { in updateForIndex()
698 assert(Index == NumAttrs && "Indexes should be [0, NumAttrs) only"); in updateForIndex()
/external/clang/lib/AST/
DStmt.cpp323 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/llvm-project/clang/include/clang/AST/
DStmt.h151 unsigned NumAttrs : 32 - NumStmtBits; variable
1853 AttributedStmtBits.NumAttrs = Attrs.size(); in AttributedStmt()
1858 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() argument
1860 AttributedStmtBits.NumAttrs = NumAttrs; in AttributedStmt()
1862 std::fill_n(getAttrArrayPtr(), NumAttrs, nullptr); in AttributedStmt()
1875 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);
1879 return llvm::makeArrayRef(getAttrArrayPtr(), AttributedStmtBits.NumAttrs); in getAttrs()
/external/llvm-project/clang/lib/AST/
DStmt.cpp426 unsigned NumAttrs) { in CreateEmpty() argument
427 assert(NumAttrs > 0 && "NumAttrs should be greater than zero"); in CreateEmpty()
428 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs), in CreateEmpty()
430 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view_test.cc760 TYPED_TEST(TypedNodeViewTest, NumAttrs) { in TYPED_TEST() argument
774 EXPECT_EQ(a_node->NumAttrs(), 0); in TYPED_TEST()
775 EXPECT_EQ(b_node->NumAttrs(), 1); in TYPED_TEST()
776 EXPECT_EQ(c_node->NumAttrs(), 2); in TYPED_TEST()
946 EXPECT_EQ(node_view->NumAttrs(), expected_node_view.NumAttrs()); in CompareGraphViewWithGraph()
Dgraph_view_internal.h235 int NumAttrs() const { return attrs_.size(); } in NumAttrs() function
/external/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/
DIntrinsicImpl.inc17720 unsigned NumAttrs = 0;
17727 NumAttrs = 1;
17735 NumAttrs = 2;
17745 NumAttrs = 3;
17765 NumAttrs = 8;
17773 NumAttrs = 2;
17783 NumAttrs = 3;
17795 NumAttrs = 4;
17811 NumAttrs = 6;
17829 NumAttrs = 7;
[all …]
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp200 uint64_t NumAttrs = Record.readInt(); in VisitAttributedStmt() local
203 (void)NumAttrs; in VisitAttributedStmt()
204 assert(NumAttrs == S->AttributedStmtBits.NumAttrs); in VisitAttributedStmt()
205 assert(NumAttrs == Attrs.size()); in VisitAttributedStmt()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp174 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/
Dc-index-test.c432 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()
/external/llvm-project/clang/tools/c-index-test/
Dc-index-test.c514 unsigned NumAttrs; in DumpCXCommentInternal() local
519 NumAttrs = clang_HTMLStartTag_getNumAttrs(Comment); in DumpCXCommentInternal()
520 if (NumAttrs != 0) { in DumpCXCommentInternal()
522 for (i = 0; i != NumAttrs; ++i) { in DumpCXCommentInternal()
/external/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/
DIntrinsics.gen20048 unsigned NumAttrs = 0;
20055 NumAttrs = 1;
20063 NumAttrs = 2;
20073 NumAttrs = 3;
20081 NumAttrs = 2;
20087 NumAttrs = 1;
20095 NumAttrs = 2;
20103 NumAttrs = 2;
20111 NumAttrs = 2;
20121 NumAttrs = 3;
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/
DIntrinsics.gen20048 unsigned NumAttrs = 0;
20055 NumAttrs = 1;
20063 NumAttrs = 2;
20073 NumAttrs = 3;
20081 NumAttrs = 2;
20087 NumAttrs = 1;
20095 NumAttrs = 2;
20103 NumAttrs = 2;
20111 NumAttrs = 2;
20121 NumAttrs = 3;
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/
DIntrinsics.gen20048 unsigned NumAttrs = 0;
20055 NumAttrs = 1;
20063 NumAttrs = 2;
20073 NumAttrs = 3;
20081 NumAttrs = 2;
20087 NumAttrs = 1;
20095 NumAttrs = 2;
20103 NumAttrs = 2;
20111 NumAttrs = 2;
20121 NumAttrs = 3;
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/
DIntrinsics.gen20048 unsigned NumAttrs = 0;
20055 NumAttrs = 1;
20063 NumAttrs = 2;
20073 NumAttrs = 3;
20081 NumAttrs = 2;
20087 NumAttrs = 1;
20095 NumAttrs = 2;
20103 NumAttrs = 2;
20111 NumAttrs = 2;
20121 NumAttrs = 3;
[all …]

12