Searched refs:NumAttrs (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | AttributeImpl.h | 217 unsigned NumAttrs; ///< Number of attributes in this node. variable 240 unsigned getNumAttributes() const { return NumAttrs; } in getNumAttributes() 246 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes() 266 iterator end() const { return begin() + NumAttrs; } in end()
|
| H A D | Attributes.cpp | 800 : NumAttrs(Attrs.size()) { in AttributeSetNode()
|
| /llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/ |
| H A 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
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDie.cpp | 680 auto NumAttrs = AbbrDecl.getNumAttributes(); in updateForIndex() local 681 if (Index < NumAttrs) { in updateForIndex() 698 assert(Index == NumAttrs && "Indexes should be [0, NumAttrs) only"); in updateForIndex()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Stmt.h | 154 unsigned NumAttrs : 32 - NumStmtBits; in alignas() local 1889 AttributedStmtBits.NumAttrs = Attrs.size(); in AttributedStmt() 1894 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() argument 1896 AttributedStmtBits.NumAttrs = NumAttrs; in AttributedStmt() 1898 std::fill_n(getAttrArrayPtr(), NumAttrs, nullptr); in AttributedStmt() 1911 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs); 1915 return llvm::makeArrayRef(getAttrArrayPtr(), AttributedStmtBits.NumAttrs); in getAttrs()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Stmt.cpp | 433 unsigned NumAttrs) { in CreateEmpty() argument 434 assert(NumAttrs > 0 && "NumAttrs should be greater than zero"); in CreateEmpty() 435 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs), in CreateEmpty() 437 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 206 uint64_t NumAttrs = Record.readInt(); in VisitAttributedStmt() local 209 (void)NumAttrs; in VisitAttributedStmt() 210 assert(NumAttrs == S->AttributedStmtBits.NumAttrs); in VisitAttributedStmt() 211 assert(NumAttrs == Attrs.size()); in VisitAttributedStmt()
|
| /llvm-project-15.0.7/clang/tools/c-index-test/ |
| H A D | c-index-test.c | 515 unsigned NumAttrs; in DumpCXCommentInternal() local 520 NumAttrs = clang_HTMLStartTag_getNumAttrs(Comment); in DumpCXCommentInternal() 521 if (NumAttrs != 0) { in DumpCXCommentInternal() 523 for (i = 0; i != NumAttrs; ++i) { in DumpCXCommentInternal()
|