Home
last modified time | relevance | path

Searched refs:NumOfAllocators (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DPerThreadBumpPtrAllocator.h31 : NumOfAllocators(parallel::getThreadCount()), in PerThreadAllocator()
32 Allocators(std::make_unique<AllocatorTy[]>(NumOfAllocators)) {} in PerThreadAllocator()
44 assert(getThreadIndex() < NumOfAllocators); in Allocate()
51 assert(getThreadIndex() < NumOfAllocators); in Deallocate()
57 assert(getThreadIndex() < NumOfAllocators); in getThreadLocalAllocator()
62 size_t getNumberOfAllocators() const { return NumOfAllocators; } in getNumberOfAllocators()
111 size_t NumOfAllocators;
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h8546 unsigned NumOfAllocators = 0; variable
8557 LParenLoc(LParenLoc), NumOfAllocators(N) {} in OMPUsesAllocatorsClause()
8565 NumOfAllocators(N) {} in OMPUsesAllocatorsClause()
8568 return NumOfAllocators * static_cast<int>(ExprOffsets::Total); in numTrailingObjects()
8599 unsigned getNumberOfAllocators() const { return NumOfAllocators; } in getNumberOfAllocators()
8607 return child_range(Begin, Begin + NumOfAllocators * in children()
8614 Begin, Begin + NumOfAllocators * static_cast<int>(ExprOffsets::Total)); in children()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp1564 assert(Data.size() == NumOfAllocators && in setAllocatorsData()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp11748 unsigned NumOfAllocators = C->getNumberOfAllocators(); in VisitOMPUsesAllocatorsClause() local
11750 Data.reserve(NumOfAllocators); in VisitOMPUsesAllocatorsClause()
11751 for (unsigned I = 0; I != NumOfAllocators; ++I) { in VisitOMPUsesAllocatorsClause()