/external/llvm-project/openmp/libomptarget/include/ |
D | omptargetplugin.h | 123 int32_t NumTeams, int32_t ThreadLimit, 129 int32_t NumTeams, int32_t ThreadLimit, uint64_t loop_tripcount,
|
/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/ |
D | reduction.cu | 208 uint32_t NumTeams = GetNumberOfBlocksInKernel(); in __kmpc_nvptx_teams_reduce_nowait_v2() local 263 unsigned NumRecs = __kmpc_impl_min(NumTeams, uint32_t(num_of_records)); in __kmpc_nvptx_teams_reduce_nowait_v2() 264 if (ChunkTeamCount == NumTeams - Bound - 1) { in __kmpc_nvptx_teams_reduce_nowait_v2()
|
/external/llvm-project/openmp/libomptarget/plugins/cuda/src/ |
D | rtl.cpp | 127 int NumTeams = 0; member 514 DeviceData[DeviceId].NumTeams = EnvNumTeams; in initDevice() 516 DeviceData[DeviceId].NumTeams = DeviceRTLTy::DefaultNumTeams; in initDevice() 521 if (DeviceData[DeviceId].NumTeams > DeviceData[DeviceId].BlocksPerGrid) { in initDevice() 524 DeviceData[DeviceId].NumTeams = DeviceData[DeviceId].BlocksPerGrid; in initDevice() 535 DeviceData[DeviceId].NumTeams = DeviceData[DeviceId].ThreadsPerBlock; in initDevice() 928 DP("Using default number of teams %d\n", DeviceData[DeviceId].NumTeams); in runTargetTeamRegion() 929 CudaBlocksPerGrid = DeviceData[DeviceId].NumTeams; in runTargetTeamRegion()
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntimeNVPTX.h | 145 void emitNumTeamsClause(CodeGenFunction &CGF, const Expr *NumTeams,
|
D | CGOpenMPRuntimeNVPTX.cpp | 357 const Expr *NumTeams, in emitNumTeamsClause() argument
|
D | CGOpenMPRuntime.h | 997 virtual void emitNumTeamsClause(CodeGenFunction &CGF, const Expr *NumTeams,
|
D | CGOpenMPRuntime.cpp | 4893 llvm::Value *NumTeams = CGF.EmitScalarExpr(NTE->getNumTeams()); in emitNumTeamsClauseForTargetDirective() local 4894 return CGF.Builder.CreateIntCast(NumTeams, CGF.Int32Ty, in emitNumTeamsClauseForTargetDirective() 5825 auto *NumTeams = emitNumTeamsClauseForTargetDirective(RT, CGF, D); in emitTargetCall() local 5834 if (NumTeams) { in emitTargetCall() 5840 MapTypesArray, NumTeams, ThreadLimit}; in emitTargetCall() 6031 const Expr *NumTeams, in emitNumTeamsClause() argument 6040 (NumTeams) in emitNumTeamsClause() 6041 ? CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(NumTeams), in emitNumTeamsClause()
|
D | CGStmtOpenMP.cpp | 3330 Expr *NumTeams = (NT) ? NT->getNumTeams() : nullptr; in emitCommonOMPTeamsDirective() local 3333 CGF.CGM.getOpenMPRuntime().emitNumTeamsClause(CGF, NumTeams, ThreadLimit, in emitCommonOMPTeamsDirective()
|
/external/llvm-project/openmp/libomptarget/src/ |
D | device.cpp | 477 int32_t NumTeams, int32_t ThreadLimit, in runTeamRegion() argument 482 TgtOffsets, TgtVarsSize, NumTeams, ThreadLimit, in runTeamRegion() 486 TgtOffsets, TgtVarsSize, NumTeams, in runTeamRegion()
|
D | device.h | 223 int32_t NumTeams, int32_t ThreadLimit,
|
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/src/ |
D | rtl.cpp | 324 std::vector<int> NumTeams; member in RTLDeviceInfoTy 477 NumTeams.resize(NumberOfDevices); in RTLDeviceInfoTy() 748 DeviceInfo.NumTeams[device_id] = DeviceInfo.EnvNumTeams; in __tgt_rtl_init_device() 752 DeviceInfo.NumTeams[device_id] = RTLDeviceInfoTy::DefaultNumTeams; in __tgt_rtl_init_device() 757 if (DeviceInfo.NumTeams[device_id] > DeviceInfo.GroupsPerDevice[device_id]) { in __tgt_rtl_init_device() 758 DeviceInfo.NumTeams[device_id] = DeviceInfo.GroupsPerDevice[device_id]; in __tgt_rtl_init_device() 769 DeviceInfo.NumTeams[device_id] = DeviceInfo.ThreadsPerGroup[device_id]; in __tgt_rtl_init_device()
|
/external/clang/include/clang/AST/ |
D | OpenMPClause.h | 3464 Stmt *NumTeams; variable 3469 void setNumTeams(Expr *E) { NumTeams = E; } in setNumTeams() 3482 NumTeams(E) {} in OMPNumTeamsClause() 3488 LParenLoc(SourceLocation()), NumTeams(nullptr) {} in OMPNumTeamsClause() 3494 Expr *getNumTeams() { return cast<Expr>(NumTeams); } in getNumTeams() 3496 Expr *getNumTeams() const { return cast<Expr>(NumTeams); } in getNumTeams() 3502 child_range children() { return child_range(&NumTeams, &NumTeams + 1); } in children()
|
/external/llvm-project/flang/lib/Semantics/ |
D | check-omp-structure.h | 139 void Enter(const parser::OmpClause::NumTeams &);
|
D | check-omp-structure.cpp | 387 CHECK_REQ_SCALAR_INT_CLAUSE(NumTeams, OMPC_num_teams) in CHECK_SIMPLE_CLAUSE()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGOpenMPRuntimeGPU.h | 233 void emitNumTeamsClause(CodeGenFunction &CGF, const Expr *NumTeams,
|
D | CGOpenMPRuntime.h | 1622 virtual void emitNumTeamsClause(CodeGenFunction &CGF, const Expr *NumTeams, 2432 void emitNumTeamsClause(CodeGenFunction &CGF, const Expr *NumTeams,
|
D | CGOpenMPRuntime.cpp | 6574 const Expr *NumTeams = in emitNumTeamsForTargetDirective() local 6577 CGF.EmitScalarExpr(NumTeams, in emitNumTeamsForTargetDirective() 6598 const Expr *NumTeams = in emitNumTeamsForTargetDirective() local 6601 CGF.EmitScalarExpr(NumTeams, in emitNumTeamsForTargetDirective() 9965 llvm::Value *NumTeams = emitNumTeamsForTargetDirective(CGF, D); in emitTargetCall() local 10001 if (NumTeams) { in emitTargetCall() 10020 NumTeams, in emitTargetCall() 10709 const Expr *NumTeams, in emitNumTeamsClause() argument 10718 NumTeams in emitNumTeamsClause() 10719 ? CGF.Builder.CreateIntCast(CGF.EmitScalarExpr(NumTeams), in emitNumTeamsClause() [all …]
|
D | CGStmtOpenMP.cpp | 5592 const Expr *NumTeams = NT ? NT->getNumTeams() : nullptr; in emitCommonOMPTeamsDirective() local 5595 CGF.CGM.getOpenMPRuntime().emitNumTeamsClause(CGF, NumTeams, ThreadLimit, in emitCommonOMPTeamsDirective()
|
D | CGOpenMPRuntimeGPU.cpp | 1548 const Expr *NumTeams, in emitNumTeamsClause() argument
|
/external/llvm-project/openmp/libomptarget/plugins/ve/src/ |
D | rtl.cpp | 406 int32_t NumTeams, int32_t ThreadLimit, in __tgt_rtl_run_target_team_region() argument
|
/external/llvm-project/clang/include/clang/AST/ |
D | OpenMPClause.h | 5640 Stmt *NumTeams = nullptr; variable 5645 void setNumTeams(Expr *E) { NumTeams = E; } in setNumTeams() 5661 OMPClauseWithPreInit(this), LParenLoc(LParenLoc), NumTeams(E) { in OMPNumTeamsClause() 5678 Expr *getNumTeams() { return cast<Expr>(NumTeams); } in getNumTeams() 5681 Expr *getNumTeams() const { return cast<Expr>(NumTeams); } in getNumTeams() 5683 child_range children() { return child_range(&NumTeams, &NumTeams + 1); } in children() 5686 return const_child_range(&NumTeams, &NumTeams + 1); in children()
|
/external/llvm-project/flang/lib/Parser/ |
D | openmp-parsers.cpp | 207 "NUM_TEAMS" >> construct<OmpClause>(construct<OmpClause::NumTeams>(
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 11295 OMPClause *Sema::ActOnOpenMPNumTeamsClause(Expr *NumTeams, in ActOnOpenMPNumTeamsClause() argument 11299 Expr *ValExpr = NumTeams; in ActOnOpenMPNumTeamsClause()
|
D | TreeTransform.h | 1686 OMPClause *RebuildOMPNumTeamsClause(Expr *NumTeams, SourceLocation StartLoc, in RebuildOMPNumTeamsClause() argument 1689 return getSema().ActOnOpenMPNumTeamsClause(NumTeams, StartLoc, LParenLoc, in RebuildOMPNumTeamsClause()
|
/external/llvm-project/clang/lib/Sema/ |
D | TreeTransform.h | 1925 OMPClause *RebuildOMPNumTeamsClause(Expr *NumTeams, SourceLocation StartLoc, in RebuildOMPNumTeamsClause() argument 1928 return getSema().ActOnOpenMPNumTeamsClause(NumTeams, StartLoc, LParenLoc, in RebuildOMPNumTeamsClause()
|