Home
last modified time | relevance | path

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

/freebsd-src/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-src/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-src/contrib/llvm-project/llvm/lib/Support/
H A DThreadPool.cpp44 int ThreadID = Threads.size(); in grow()
45 Threads.emplace_back([this, ThreadID] { in grow() local
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) {
112 threadIndex = ThreadID; in getThreadCount()
113 S.apply_thread_strategy(ThreadID);
121 work(ThreadPoolStrategy S,unsigned ThreadID) work() argument
/freebsd-src/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-src/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-src/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-src/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp162 Value *ThreadID = Builder.CreateCall(GetID, {}); in lowerGlobal()
164 {Builder.getInt64(0), ThreadID}); in lowerGlobal()
160 Value *ThreadID = Builder.CreateCall(GetID, {}); lowerGlobal() local
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadSpec.h112 ThreadID, enumerator
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Core/
H A DFormatEntity.h58 ThreadID, enumerator
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp92 /// Get an LValue for the current ThreadID variable.
127 assert(ThreadIDVar != nullptr && "No ThreadID in OpenMP region.");
208 assert(ThreadIDVar != nullptr && "No ThreadID in OpenMP region.");
215 /// Get an LValue for the current ThreadID variable.
288 /// Get an LValue for the current ThreadID variable. in getThreadIDVariableLValue()
1290 llvm::Value *ThreadID = getThreadID(CGF, D.getBeginLoc()); in emitTaskOutlinedFunction()
1293 UpLoc, ThreadID, in emitTaskOutlinedFunction()
1408 llvm::Value *ThreadID = nullptr; in getThreadID()
1413 ThreadID = I->second.ThreadID; in getThreadID()
1288 llvm::Value *ThreadID = getThreadID(CGF, D.getBeginLoc()); emitTaskOutlinedFunction() local
1406 llvm::Value *ThreadID = nullptr; getThreadID() local
1893 llvm::Value *ThreadID = RT.getThreadID(CGF, Loc); emitParallelCall() local
1950 llvm::Value *ThreadID = getThreadID(CGF, Loc); emitThreadIDAddress() local
4377 llvm::Value *ThreadID = getThreadID(CGF, Loc); emitDepobjDependClause() local
4434 llvm::Value *ThreadID = getThreadID(CGF, Loc); emitDestroyClause() local
4522 llvm::Value *ThreadID = getThreadID(CGF, Loc); emitTaskCall() local
4629 llvm::Value *ThreadID = getThreadID(CGF, Loc); emitTaskLoopCall() local
5617 llvm::Value *ThreadID = getThreadID(CGF, Loc); emitTaskwaitCall() local
11183 EmitDoacrossOrdered(CodeGenFunction & CGF,CodeGenModule & CGM,const T * C,llvm::Value * ULoc,llvm::Value * ThreadID) EmitDoacrossOrdered() argument
11326 llvm::Value *ThreadID = getThreadID(CGF, CVD->getBeginLoc()); getAddressOfLocalVariable() local
[all...]
H A DCGOpenMPRuntimeGPU.cpp1333 llvm::Value *ThreadID = RT.getGPUThreadID(CGF); in emitBarrierCall()
1357 CGF.Builder.CreateICmpEQ(ThreadID, CounterVal); in emitCriticalRegion()
1352 llvm::Value *ThreadID = RT.getGPUThreadID(CGF); emitCriticalRegion() local
1759 llvm::Value *ThreadID = RT.getGPUThreadID(CGF); emitInterWarpCopyFunction() local
H A DCGOpenMPRuntime.h395 /// Stores debug location and ThreadID for the function.
398 llvm::Value *ThreadID; member
735 /// \a D. This outlined function has type void(*)(kmp_int32 *ThreadID,
749 /// \a D. This outlined function has type void(*)(kmp_int32 *ThreadID,
763 /// outlined function has type void(*)(kmp_int32 ThreadID, struct task_t*
1687 /// \a D. This outlined function has type void(*)(kmp_int32 *ThreadID,
1701 /// \a D. This outlined function has type void(*)(kmp_int32 *ThreadID,
1715 /// outlined function has type void(*)(kmp_int32 ThreadID, struct task_t*
/freebsd-src/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1177 Value *ThreadID, const SmallVector<Instruction *, 4> &ToBeDeleted) { in targetParallelCallback()
1225 /* global thread num*/ ThreadID, in hostParallelCallback()
1358 Value *ThreadID = getOrCreateThreadID(Ident); in createParallel()
1370 Ident, ThreadID, in createParallel()
1379 Ident, ThreadID, in createParallel()
1497 ThreadID, ToBeDeletedVec); in createParallel()
1843 // Arguments - `loc_ref` (Ident) and `gtid` (ThreadID) in createTask()
1845 Value *ThreadID = getOrCreateThreadID(Ident); in createTask()
1888 TaskAllocFn, {/*loc_ref=*/Ident, /*gtid=*/ThreadID, /*flags=*/Flags, in createTaskgroup()
1976 {Ident, ThreadID, Builde in createSections()
1119 targetParallelCallback(OpenMPIRBuilder * OMPIRBuilder,Function & OutlinedFn,Function * OuterFn,BasicBlock * OuterAllocaBB,Value * Ident,Value * IfCondition,Value * NumThreads,Instruction * PrivTID,AllocaInst * PrivTIDAddr,Value * ThreadID,const SmallVector<Instruction *,4> & ToBeDeleted) targetParallelCallback() argument
1300 Value *ThreadID = getOrCreateThreadID(Ident); createParallel() local
1714 Value *ThreadID = getOrCreateThreadID(Ident); createTask() local
1897 Value *ThreadID = getOrCreateThreadID(Ident); createTaskgroup() local
[all...]
/freebsd-src/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 ExtractVariableInfo()
/freebsd-src/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-src/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h2377 OMPClause *RebuildOMPFilterClause(Expr *ThreadID, SourceLocation StartLoc, in RebuildOMPXDynCGroupMemClause()
2380 return getSema().OpenMP().ActOnOpenMPFilterClause(ThreadID, StartLoc, in RebuildOMPXDynCGroupMemClause()
10371 ExprResult ThreadID = getDerived().TransformExpr(C->getThreadID()); in TransformOMPCopyprivateClause()
10372 if (ThreadID.isInvalid()) in TransformOMPCopyprivateClause()
10374 return getDerived().RebuildOMPFilterClause(ThreadID.get(), C->getBeginLoc(), in TransformOMPCopyprivateClause()
2351 RebuildOMPFilterClause(Expr * ThreadID,SourceLocation StartLoc,SourceLocation LParenLoc,SourceLocation EndLoc) RebuildOMPFilterClause() argument
10036 ExprResult ThreadID = getDerived().TransformExpr(C->getThreadID()); TransformOMPFilterClause() local
H A DSemaOpenMP.cpp16861 OMPClause *SemaOpenMP::ActOnOpenMPFilterClause(Expr *ThreadID, in ActOnOpenMPAllocatorClause()
16865 Expr *ValExpr = ThreadID; in ActOnOpenMPAllocatorClause()
18069 ActOnOpenMPFilterClause(Expr * ThreadID,SourceLocation StartLoc,SourceLocation LParenLoc,SourceLocation EndLoc) ActOnOpenMPFilterClause() argument
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h8746 /// Build 'filter' clause with thread-id \a ThreadID.
8748 /// \param ThreadID Thread identifier.
8755 OMPFilterClause(Expr *ThreadID, Stmt *HelperE,
8758 : OMPOneStmtClause(ThreadID, StartLoc, LParenLoc, EndLoc),
8715 OMPFilterClause(Expr * ThreadID,Stmt * HelperE,OpenMPDirectiveKind CaptureRegion,SourceLocation StartLoc,SourceLocation LParenLoc,SourceLocation EndLoc) OMPFilterClause() argument
/freebsd-src/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h