Lines Matching refs:CGOpenMPRuntimeGPU

74   CGOpenMPRuntimeGPU::ExecutionMode SavedExecMode =
75 CGOpenMPRuntimeGPU::EM_Unknown;
76 CGOpenMPRuntimeGPU::ExecutionMode &ExecMode;
82 ExecutionRuntimeModesRAII(CGOpenMPRuntimeGPU::ExecutionMode &ExecMode) in ExecutionRuntimeModesRAII()
85 ExecMode = CGOpenMPRuntimeGPU::EM_NonSPMD; in ExecutionRuntimeModesRAII()
88 ExecutionRuntimeModesRAII(CGOpenMPRuntimeGPU::ExecutionMode &ExecMode, in ExecutionRuntimeModesRAII()
93 ExecMode = CGOpenMPRuntimeGPU::EM_SPMD; in ExecutionRuntimeModesRAII()
540 auto &RT = static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in getNVPTXWarpID()
551 auto &RT = static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in getNVPTXLaneID()
556 CGOpenMPRuntimeGPU::ExecutionMode
557 CGOpenMPRuntimeGPU::getExecutionMode() const { in getExecutionMode()
561 static CGOpenMPRuntimeGPU::DataSharingMode
563 return CGM.getLangOpts().OpenMPCUDAMode ? CGOpenMPRuntimeGPU::CUDA in getDataSharingMode()
564 : CGOpenMPRuntimeGPU::Generic; in getDataSharingMode()
1011 void CGOpenMPRuntimeGPU::emitNonSPMDKernel(const OMPExecutableDirective &D, in emitNonSPMDKernel()
1023 CGOpenMPRuntimeGPU::EntryFunctionState &EST; in emitNonSPMDKernel()
1026 NVPTXPrePostActionTy(CGOpenMPRuntimeGPU::EntryFunctionState &EST) in emitNonSPMDKernel()
1030 static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in emitNonSPMDKernel()
1037 static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in emitNonSPMDKernel()
1049 void CGOpenMPRuntimeGPU::emitKernelInit(CodeGenFunction &CGF, in emitKernelInit()
1058 void CGOpenMPRuntimeGPU::emitKernelDeinit(CodeGenFunction &CGF, in emitKernelDeinit()
1068 void CGOpenMPRuntimeGPU::emitSPMDKernel(const OMPExecutableDirective &D, in emitSPMDKernel()
1082 CGOpenMPRuntimeGPU &RT; in emitSPMDKernel()
1083 CGOpenMPRuntimeGPU::EntryFunctionState &EST; in emitSPMDKernel()
1086 NVPTXPrePostActionTy(CGOpenMPRuntimeGPU &RT, in emitSPMDKernel()
1087 CGOpenMPRuntimeGPU::EntryFunctionState &EST) in emitSPMDKernel()
1122 void CGOpenMPRuntimeGPU::createOffloadEntry(llvm::Constant *ID, in createOffloadEntry()
1144 void CGOpenMPRuntimeGPU::emitTargetOutlinedFunction( in emitTargetOutlinedFunction()
1180 unsigned CGOpenMPRuntimeGPU::getDefaultLocationReserved2Flags() const { in getDefaultLocationReserved2Flags()
1195 CGOpenMPRuntimeGPU::CGOpenMPRuntimeGPU(CodeGenModule &CGM) in CGOpenMPRuntimeGPU() function in CGOpenMPRuntimeGPU
1201 void CGOpenMPRuntimeGPU::emitProcBindClause(CodeGenFunction &CGF, in emitProcBindClause()
1205 if (getExecutionMode() == CGOpenMPRuntimeGPU::EM_SPMD) in emitProcBindClause()
1211 void CGOpenMPRuntimeGPU::emitNumThreadsClause(CodeGenFunction &CGF, in emitNumThreadsClause()
1215 if (getExecutionMode() == CGOpenMPRuntimeGPU::EM_SPMD) in emitNumThreadsClause()
1221 void CGOpenMPRuntimeGPU::emitNumTeamsClause(CodeGenFunction &CGF, in emitNumTeamsClause()
1226 llvm::Function *CGOpenMPRuntimeGPU::emitParallelOutlinedFunction( in emitParallelOutlinedFunction()
1255 if (getExecutionMode() != CGOpenMPRuntimeGPU::EM_SPMD && in emitParallelOutlinedFunction()
1303 llvm::Function *CGOpenMPRuntimeGPU::emitTeamsOutlinedFunction( in emitTeamsOutlinedFunction()
1313 if (getExecutionMode() != CGOpenMPRuntimeGPU::EM_SPMD) in emitTeamsOutlinedFunction()
1315 if (getExecutionMode() == CGOpenMPRuntimeGPU::EM_SPMD) { in emitTeamsOutlinedFunction()
1345 static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in emitTeamsOutlinedFunction()
1360 static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()) in emitTeamsOutlinedFunction()
1371 void CGOpenMPRuntimeGPU::emitGenericVarsProlog(CodeGenFunction &CGF, in emitGenericVarsProlog()
1374 if (getDataSharingMode(CGM) != CGOpenMPRuntimeGPU::Generic && in emitGenericVarsProlog()
1375 getExecutionMode() != CGOpenMPRuntimeGPU::EM_SPMD) in emitGenericVarsProlog()
1452 void CGOpenMPRuntimeGPU::emitGenericVarsEpilog(CodeGenFunction &CGF, in emitGenericVarsEpilog()
1454 if (getDataSharingMode(CGM) != CGOpenMPRuntimeGPU::Generic && in emitGenericVarsEpilog()
1455 getExecutionMode() != CGOpenMPRuntimeGPU::EM_SPMD) in emitGenericVarsEpilog()
1481 void CGOpenMPRuntimeGPU::emitTeamsCall(CodeGenFunction &CGF, in emitTeamsCall()
1499 void CGOpenMPRuntimeGPU::emitParallelCall(CodeGenFunction &CGF, in emitParallelCall()
1571 void CGOpenMPRuntimeGPU::syncCTAThreads(CodeGenFunction &CGF) { in syncCTAThreads()
1586 void CGOpenMPRuntimeGPU::emitBarrierCall(CodeGenFunction &CGF, in emitBarrierCall()
1603 void CGOpenMPRuntimeGPU::emitCriticalRegion( in emitCriticalRegion()
1613 auto &RT = static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in emitCriticalRegion()
1709 CGOpenMPRuntimeGPU &RT = in createRuntimeShuffleFunction()
1710 *(static_cast<CGOpenMPRuntimeGPU *>(&CGM.getOpenMPRuntime())); in createRuntimeShuffleFunction()
2104 auto &RT = static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in emitInterWarpCopyFunction()
3153 void CGOpenMPRuntimeGPU::emitReduction( in emitReduction()
3339 CGOpenMPRuntimeGPU::translateParameter(const FieldDecl *FD, in translateParameter()
3371 CGOpenMPRuntimeGPU::getParameterAddress(CodeGenFunction &CGF, in getParameterAddress()
3401 void CGOpenMPRuntimeGPU::emitOutlinedFunctionCall( in emitOutlinedFunctionCall()
3431 llvm::Function *CGOpenMPRuntimeGPU::createParallelDataSharingWrapper( in createParallelDataSharingWrapper()
3558 void CGOpenMPRuntimeGPU::emitFunctionProlog(CodeGenFunction &CGF, in emitFunctionProlog()
3560 if (getDataSharingMode(CGM) != CGOpenMPRuntimeGPU::Generic) in emitFunctionProlog()
3578 getExecutionMode() == CGOpenMPRuntimeGPU::EM_SPMD) in emitFunctionProlog()
3622 static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()) in emitFunctionProlog()
3630 Address CGOpenMPRuntimeGPU::getAddressOfLocalVariable(CodeGenFunction &CGF, in getAddressOfLocalVariable()
3674 if (getDataSharingMode(CGM) != CGOpenMPRuntimeGPU::Generic) in getAddressOfLocalVariable()
3699 void CGOpenMPRuntimeGPU::functionFinished(CodeGenFunction &CGF) { in functionFinished()
3704 void CGOpenMPRuntimeGPU::getDefaultDistScheduleAndChunk( in getDefaultDistScheduleAndChunk()
3708 auto &RT = static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in getDefaultDistScheduleAndChunk()
3709 if (getExecutionMode() == CGOpenMPRuntimeGPU::EM_SPMD) { in getDefaultDistScheduleAndChunk()
3721 void CGOpenMPRuntimeGPU::getDefaultScheduleAndChunk( in getDefaultScheduleAndChunk()
3733 void CGOpenMPRuntimeGPU::adjustTargetSpecificDataForLambdas( in adjustTargetSpecificDataForLambdas()
3785 bool CGOpenMPRuntimeGPU::hasAllocateAttributeForGlobalVar(const VarDecl *VD, in hasAllocateAttributeForGlobalVar()
3830 void CGOpenMPRuntimeGPU::processRequiresDirective( in processRequiresDirective()
3903 void CGOpenMPRuntimeGPU::clear() { in clear()