Home
last modified time | relevance | path

Searched refs:ThreadID (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/
H A Dsegv_handler_posix.cpp79 uint64_t ThreadID = gwp_asan::getThreadID(); in printHeader() local
82 if (ThreadID == gwp_asan::kInvalidThreadID) in printHeader()
85 snprintf(ThreadBuffer, kThreadBufferLen, "%" PRIu64, ThreadID); in printHeader()
167 uint64_t ThreadID = __gwp_asan_get_deallocation_thread_id(AllocMeta); in dumpReport() local
168 if (ThreadID == gwp_asan::kInvalidThreadID) in dumpReport()
171 Printf("0x%zx was deallocated by thread %zu here:\n", ErrorPtr, ThreadID); in dumpReport()
178 uint64_t ThreadID = __gwp_asan_get_allocation_thread_id(AllocMeta); in dumpReport() local
179 if (ThreadID == gwp_asan::kInvalidThreadID) in dumpReport()
182 Printf("0x%zx was allocated by thread %zu here:\n", ErrorPtr, ThreadID); in dumpReport()
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DBlockIndexer.cpp67 CurrentBlock.ThreadID = R.tid(); in visit()
85 Indices.insert({{CurrentBlock.ProcessID, CurrentBlock.ThreadID}, {}}); in flush()
86 It->second.push_back({CurrentBlock.ProcessID, CurrentBlock.ThreadID, in flush()
90 CurrentBlock.ThreadID = 0; in flush()
H A DProfile.cpp198 using ThreadProfileIndexMap = DenseMap<Profile::ThreadID, PathDataMapPtr>; in mergeProfilesByThread()
309 P.addBlock(Profile::Block{Profile::ThreadID{Header.Thread}, in loadProfile()
333 DenseMap<Profile::ThreadID, std::vector<StackEntry>> ThreadStacks; in profileFromTrace()
334 DenseMap<Profile::ThreadID, DenseMap<Profile::PathID, Profile::Data>> in profileFromTrace()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DThreadPool.cpp44 int ThreadID = Threads.size(); in grow() local
45 Threads.emplace_back([this, ThreadID] { in grow()
46 set_thread_name(formatv("llvm-worker-{0}", ThreadID)); in grow()
47 Strategy.apply_thread_strategy(ThreadID); in grow()
H A DParallel.cpp111 void work(ThreadPoolStrategy S, unsigned ThreadID) { in work() argument
112 threadIndex = ThreadID; in work()
113 S.apply_thread_strategy(ThreadID); in work()
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dcommon.cpp46 AllocationTrace.ThreadID = getThreadID(); in RecordAllocation()
48 DeallocationTrace.ThreadID = kInvalidThreadID; in RecordAllocation()
53 DeallocationTrace.ThreadID = getThreadID(); in RecordDeallocation()
H A Dcrash_handler.cpp119 return AllocationMeta->AllocationTrace.ThreadID; in __gwp_asan_get_allocation_thread_id()
143 return AllocationMeta->DeallocationTrace.ThreadID; in __gwp_asan_get_deallocation_thread_id()
H A Dcommon.h84 uint64_t ThreadID = kInvalidThreadID; member
/freebsd/contrib/llvm-project/llvm/include/llvm/XRay/
H A DProfile.h53 using ThreadID = uint64_t;
63 ThreadID Thread;
H A DBlockIndexer.h30 int32_t ThreadID; member
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadSpec.cpp36 spec_dict.GetValueForKeyAsInteger(GetKey(OptionNames::ThreadID), tid); in CreateFromStructuredData()
59 data_dict_sp->AddIntegerItem(GetKey(OptionNames::ThreadID), m_tid); in SerializeToStructuredData()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp162 Value *ThreadID = Builder.CreateCall(GetID, {}); in lowerGlobal() local
164 {Builder.getInt64(0), ThreadID}); in lowerGlobal()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadSpec.h112 ThreadID, enumerator
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DFormatEntity.h58 ThreadID,
59 ThreadID, global() enumerator
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1177 Value *ThreadID, const SmallVector<Instruction *, 4> &ToBeDeleted) { in targetParallelCallback() argument
1225 /* global thread num*/ ThreadID, in targetParallelCallback()
1358 Value *ThreadID = getOrCreateThreadID(Ident); in createParallel() local
1370 Ident, ThreadID, in createParallel()
1379 Ident, ThreadID, in createParallel()
1497 ThreadID, ToBeDeletedVec); in createParallel()
1845 Value *ThreadID = getOrCreateThreadID(Ident); in createTask() local
1888 TaskAllocFn, {/*loc_ref=*/Ident, /*gtid=*/ThreadID, /*flags=*/Flags, in createTask()
1976 {Ident, ThreadID, Builder.getInt32(Dependencies.size()), DepArray, in createTask()
1984 Builder.CreateCall(TaskBeginFn, {Ident, ThreadID, TaskData}); in createTask()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp1290 llvm::Value *ThreadID = getThreadID(CGF, D.getBeginLoc()); in emitTaskOutlinedFunction() local
1293 UpLoc, ThreadID, in emitTaskOutlinedFunction()
1408 llvm::Value *ThreadID = nullptr; in getThreadID() local
1413 ThreadID = I->second.ThreadID; in getThreadID()
1414 if (ThreadID != nullptr) in getThreadID()
1415 return ThreadID; in getThreadID()
1432 ThreadID = CGF.EmitLoadOfScalar(LVal, Loc); in getThreadID()
1437 Elem.second.ThreadID = ThreadID; in getThreadID()
1439 return ThreadID; in getThreadID()
1459 Elem.second.ThreadID = Call; in getThreadID()
[all …]
H A DCGOpenMPRuntimeGPU.cpp1333 llvm::Value *ThreadID = RT.getGPUThreadID(CGF); in emitCriticalRegion() local
1357 CGF.Builder.CreateICmpEQ(ThreadID, CounterVal); in emitCriticalRegion()
H A DCGOpenMPRuntime.h398 llvm::Value *ThreadID; member
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DFormatEntity.cpp152 Definition("id", EntryType::ThreadID),
313 ENUM_TO_CSTR(ThreadID); in TypeToCString()
1287 case Entry::Type::ThreadID: in Format()
2286 if (entry.type != Entry::Type::ThreadID && in ParseInternal()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DOptions.td84 Arg<"ThreadID">, Desc<"The breakpoint stops only for the thread whose TID "
1010 Arg<"ThreadID">, Desc<"The stop hook is run only for the thread whose TID "
1120 Arg<"ThreadID">, Desc<"List the thread plans for this TID, can be "
1128 Arg<"ThreadID">, Completion<"ThreadID">,
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h1038 OMPClause *ActOnOpenMPFilterClause(Expr *ThreadID, SourceLocation StartLoc,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h8755 OMPFilterClause(Expr *ThreadID, Stmt *HelperE, in OMPFilterClause() argument
8758 : OMPOneStmtClause(ThreadID, StartLoc, LParenLoc, EndLoc), in OMPFilterClause()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h2377 OMPClause *RebuildOMPFilterClause(Expr *ThreadID, SourceLocation StartLoc, in RebuildOMPFilterClause() argument
2380 return getSema().OpenMP().ActOnOpenMPFilterClause(ThreadID, StartLoc, in RebuildOMPFilterClause()
10371 ExprResult ThreadID = getDerived().TransformExpr(C->getThreadID()); in TransformOMPFilterClause() local
10372 if (ThreadID.isInvalid()) in TransformOMPFilterClause()
10374 return getDerived().RebuildOMPFilterClause(ThreadID.get(), C->getBeginLoc(), in TransformOMPFilterClause()
H A DSemaOpenMP.cpp16861 OMPClause *SemaOpenMP::ActOnOpenMPFilterClause(Expr *ThreadID, in ActOnOpenMPFilterClause() argument
16865 Expr *ValExpr = ThreadID; in ActOnOpenMPFilterClause()