Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/llvm/lib/IR/
H A 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()
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/IR/
H A DAttributeImpl.h224 unsigned NumAttrs; ///< Number of attributes in this node. variable
247 unsigned getNumAttributes() const { return NumAttrs; } in getNumAttributes()
253 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes()
275 iterator end() const { return begin() + NumAttrs; } in end()
/aosp_15_r20/prebuilts/go/linux-x86/src/log/slog/
Drecord_test.go19 if g, w := r.NumAttrs(), len(as); g != w {
123 s := make([]Attr, 0, r.NumAttrs())
Drecord.go76 func (r Record) NumAttrs() int { func
Dhandler.go331 if r.NumAttrs() > 0 {
/aosp_15_r20/external/clang/include/clang/AST/
H A 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()
/aosp_15_r20/external/llvm/test/Analysis/ScalarEvolution/
H A 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
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
H A 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()
/aosp_15_r20/external/clang/lib/AST/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp675 auto NumAttrs = AbbrDecl.getNumAttributes(); in updateForIndex() local
676 if (Index < NumAttrs) { in updateForIndex()
693 assert(Index == NumAttrs && "Indexes should be [0, NumAttrs) only"); in updateForIndex()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/AST/
DStmt.h175 unsigned NumAttrs : 32 - NumStmtBits;
2087 AttributedStmtBits.NumAttrs = Attrs.size();
2092 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs)
2094 AttributedStmtBits.NumAttrs = NumAttrs;
2096 std::fill_n(getAttrArrayPtr(), NumAttrs, nullptr);
2109 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);
2113 return llvm::ArrayRef(getAttrArrayPtr(), AttributedStmtBits.NumAttrs);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/AST/
DStmt.h175 unsigned NumAttrs : 32 - NumStmtBits;
2083 AttributedStmtBits.NumAttrs = Attrs.size();
2088 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs)
2090 AttributedStmtBits.NumAttrs = NumAttrs;
2092 std::fill_n(getAttrArrayPtr(), NumAttrs, nullptr);
2105 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);
2109 return llvm::ArrayRef(getAttrArrayPtr(), AttributedStmtBits.NumAttrs);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/AST/
DStmt.h175 unsigned NumAttrs : 32 - NumStmtBits;
2087 AttributedStmtBits.NumAttrs = Attrs.size();
2092 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs)
2094 AttributedStmtBits.NumAttrs = NumAttrs;
2096 std::fill_n(getAttrArrayPtr(), NumAttrs, nullptr);
2109 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);
2113 return llvm::ArrayRef(getAttrArrayPtr(), AttributedStmtBits.NumAttrs);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/AST/
DStmt.h175 unsigned NumAttrs : 32 - NumStmtBits;
2089 AttributedStmtBits.NumAttrs = Attrs.size();
2094 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs)
2096 AttributedStmtBits.NumAttrs = NumAttrs;
2098 std::fill_n(getAttrArrayPtr(), NumAttrs, nullptr);
2111 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);
2115 return llvm::ArrayRef(getAttrArrayPtr(), AttributedStmtBits.NumAttrs);
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/configs/common/include/llvm/IR/
H A DIntrinsicImpl.inc27450 unsigned NumAttrs = 0;
27456 NumAttrs = 1;
27462 NumAttrs = 2;
27469 NumAttrs = 3;
27475 NumAttrs = 2;
27482 NumAttrs = 3;
27488 NumAttrs = 2;
27494 NumAttrs = 2;
27501 NumAttrs = 3;
27507 NumAttrs = 2;
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/IR/
DIntrinsicImpl.inc32761 unsigned NumAttrs = 0;
32767 NumAttrs = 1;
32773 NumAttrs = 2;
32780 NumAttrs = 3;
32786 NumAttrs = 2;
32793 NumAttrs = 3;
32799 NumAttrs = 2;
32805 NumAttrs = 2;
32812 NumAttrs = 3;
32818 NumAttrs = 2;
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/IR/
DIntrinsicImpl.inc32761 unsigned NumAttrs = 0;
32767 NumAttrs = 1;
32773 NumAttrs = 2;
32780 NumAttrs = 3;
32786 NumAttrs = 2;
32793 NumAttrs = 3;
32799 NumAttrs = 2;
32805 NumAttrs = 2;
32812 NumAttrs = 3;
32818 NumAttrs = 2;
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/IR/
DIntrinsicImpl.inc32469 unsigned NumAttrs = 0;
32475 NumAttrs = 1;
32481 NumAttrs = 2;
32488 NumAttrs = 3;
32494 NumAttrs = 2;
32501 NumAttrs = 3;
32507 NumAttrs = 2;
32513 NumAttrs = 2;
32520 NumAttrs = 3;
32526 NumAttrs = 2;
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/IR/
DIntrinsicImpl.inc32830 unsigned NumAttrs = 0;
32836 NumAttrs = 1;
32842 NumAttrs = 2;
32849 NumAttrs = 3;
32855 NumAttrs = 2;
32862 NumAttrs = 3;
32868 NumAttrs = 2;
32874 NumAttrs = 2;
32881 NumAttrs = 3;
32887 NumAttrs = 2;
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/core/grappler/utils/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/
H A 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 …]
/aosp_15_r20/external/clang/lib/Serialization/
H A 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()
/aosp_15_r20/external/clang/tools/c-index-test/
H A 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()

12