Lines Matching defs:ThreadId
71 /// \brief Get an LValue for the current ThreadID variable.
105 assert(ThreadIDVar != nullptr && "No ThreadID in OpenMP region.");
184 assert(ThreadIDVar != nullptr && "No ThreadID in OpenMP region.");
191 /// \brief Get an LValue for the current ThreadID variable.
868 auto *ThreadID = getThreadID(CGF, D.getLocStart());
871 UpLoc, ThreadID,
942 // OpenMPLocThreadIDMap may have null DebugLoc and non-null ThreadID, if
988 llvm::Value *ThreadID = nullptr;
993 ThreadID = I->second.ThreadID;
994 if (ThreadID != nullptr)
995 return ThreadID;
1002 ThreadID = CGF.EmitLoadOfLValue(LVal, Loc).getScalarVal();
1007 Elem.second.ThreadID = ThreadID;
1009 return ThreadID;
1019 ThreadID =
1023 Elem.second.ThreadID = ThreadID;
1024 return ThreadID;
1956 auto ThreadID = RT.getThreadID(CGF, Loc);
1959 llvm::Value *Args[] = {RTLoc, ThreadID};
1976 llvm::Value *EndArgs[] = {RT.emitUpdateLocation(CGF, Loc), ThreadID};
2002 auto ThreadID = getThreadID(CGF, Loc);
2006 CGF.EmitStoreOfScalar(ThreadID,
2483 CodeGenFunction &CGF, llvm::Value *UpdateLocation, llvm::Value *ThreadId,
2517 UpdateLocation, ThreadId, CGF.Builder.getInt32(addMonoNonMonoModifier(
2539 auto *ThreadId = getThreadID(CGF, Loc);
2541 emitForStaticInitCall(CGF, UpdatedLocation, ThreadId, StaticInitFunction,
2553 auto *ThreadId = getThreadID(CGF, Loc);
2555 emitForStaticInitCall(CGF, UpdatedLocation, ThreadId, StaticInitFunction,
3973 auto *ThreadID = getThreadID(CGF, Loc);
3975 llvm::Value *TaskArgs[] = { UpLoc, ThreadID, NewTask };
3979 DepTaskArgs[1] = ThreadID;
4010 DepWaitTaskArgs[1] = ThreadID;
4016 auto &&ElseCodeGen = [&TaskArgs, ThreadID, NewTaskNewTaskTTy, TaskEntry,
4029 auto &&CodeGen = [TaskEntry, ThreadID, NewTaskNewTaskTTy](
4032 llvm::Value *OutlinedFnArgs[] = {ThreadID, NewTaskNewTaskTTy};
4071 llvm::Value *ThreadID = getThreadID(CGF, Loc);
4103 UpLoc, ThreadID, Result.NewTask, IfVal, LBLVal.getPointer(),
4437 auto *ThreadId = getThreadID(CGF, Loc);
4444 ThreadId, // i32 <gtid>
4473 ThreadId, // i32 <gtid>
4606 ThreadId, // i32 <gtid>