Home
last modified time | relevance | path

Searched refs:getThreadIndex (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DPerThreadBumpPtrAllocator.h44 assert(getThreadIndex() < NumOfAllocators); in Allocate()
45 return Allocators[getThreadIndex()].Allocate(Size, Alignment); in Allocate()
51 assert(getThreadIndex() < NumOfAllocators); in Deallocate()
52 return Allocators[getThreadIndex()].Deallocate(Ptr, Size, Alignment); in Deallocate()
57 assert(getThreadIndex() < NumOfAllocators); in getThreadLocalAllocator()
58 return Allocators[getThreadIndex()]; in getThreadLocalAllocator()
H A DParallel.h44 unsigned getThreadIndex();
49 inline unsigned getThreadIndex() { GET_THREAD_INDEX_IMPL; } in getThreadIndex() function
54 inline unsigned getThreadIndex() { return 0; } in getThreadIndex() function
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DParallel.cpp28 unsigned getThreadIndex() { GET_THREAD_INDEX_IMPL; } in getThreadIndex() function
/freebsd/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.h569 relocsVec[llvm::parallel::getThreadIndex()].push_back(reloc);
H A DRelocations.cpp903 part.relrDyn->relocsVec[parallel::getThreadIndex()].push_back( in addRelativeReloc()