Lines Matching refs:CGOpenMPRuntimeGPU

74   CGOpenMPRuntimeGPU::ExecutionMode SavedExecMode =
75 CGOpenMPRuntimeGPU::EM_Unknown;
76 CGOpenMPRuntimeGPU::ExecutionMode &ExecMode;
79 ExecutionRuntimeModesRAII(CGOpenMPRuntimeGPU::ExecutionMode &ExecMode, in ExecutionRuntimeModesRAII()
80 CGOpenMPRuntimeGPU::ExecutionMode EntryMode) in ExecutionRuntimeModesRAII()
511 auto &RT = static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in getNVPTXWarpID()
524 auto &RT = static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in getNVPTXLaneID()
529 CGOpenMPRuntimeGPU::ExecutionMode
530 CGOpenMPRuntimeGPU::getExecutionMode() const { in getExecutionMode()
534 CGOpenMPRuntimeGPU::DataSharingMode
535 CGOpenMPRuntimeGPU::getDataSharingMode() const { in getDataSharingMode()
724 void CGOpenMPRuntimeGPU::emitNonSPMDKernel(const OMPExecutableDirective &D, in emitNonSPMDKernel()
739 CGOpenMPRuntimeGPU::EntryFunctionState &EST; in emitNonSPMDKernel()
743 NVPTXPrePostActionTy(CGOpenMPRuntimeGPU::EntryFunctionState &EST, in emitNonSPMDKernel()
747 auto &RT = static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in emitNonSPMDKernel()
753 auto &RT = static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in emitNonSPMDKernel()
765 void CGOpenMPRuntimeGPU::emitKernelInit(const OMPExecutableDirective &D, in emitKernelInit()
780 void CGOpenMPRuntimeGPU::emitKernelDeinit(CodeGenFunction &CGF, in emitKernelDeinit()
816 void CGOpenMPRuntimeGPU::emitSPMDKernel(const OMPExecutableDirective &D, in emitSPMDKernel()
829 CGOpenMPRuntimeGPU &RT; in emitSPMDKernel()
830 CGOpenMPRuntimeGPU::EntryFunctionState &EST; in emitSPMDKernel()
836 NVPTXPrePostActionTy(CGOpenMPRuntimeGPU &RT, in emitSPMDKernel()
837 CGOpenMPRuntimeGPU::EntryFunctionState &EST, in emitSPMDKernel()
866 void CGOpenMPRuntimeGPU::emitTargetOutlinedFunction( in emitTargetOutlinedFunction()
885 CGOpenMPRuntimeGPU::CGOpenMPRuntimeGPU(CodeGenModule &CGM) in CGOpenMPRuntimeGPU() function in CGOpenMPRuntimeGPU
898 CurrentDataSharingMode = CGOpenMPRuntimeGPU::DS_CUDA; in CGOpenMPRuntimeGPU()
916 void CGOpenMPRuntimeGPU::emitProcBindClause(CodeGenFunction &CGF, in emitProcBindClause()
922 void CGOpenMPRuntimeGPU::emitNumThreadsClause(CodeGenFunction &CGF, in emitNumThreadsClause()
928 void CGOpenMPRuntimeGPU::emitNumTeamsClause(CodeGenFunction &CGF, in emitNumTeamsClause()
933 llvm::Function *CGOpenMPRuntimeGPU::emitParallelOutlinedFunction( in emitParallelOutlinedFunction()
944 if (getExecutionMode() != CGOpenMPRuntimeGPU::EM_SPMD) { in emitParallelOutlinedFunction()
991 llvm::Function *CGOpenMPRuntimeGPU::emitTeamsOutlinedFunction( in emitTeamsOutlinedFunction()
1002 if (getExecutionMode() != CGOpenMPRuntimeGPU::EM_SPMD) in emitTeamsOutlinedFunction()
1004 if (getExecutionMode() == CGOpenMPRuntimeGPU::EM_SPMD) { in emitTeamsOutlinedFunction()
1034 static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in emitTeamsOutlinedFunction()
1049 static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()) in emitTeamsOutlinedFunction()
1060 void CGOpenMPRuntimeGPU::emitGenericVarsProlog(CodeGenFunction &CGF, in emitGenericVarsProlog()
1062 if (getDataSharingMode() != CGOpenMPRuntimeGPU::DS_Generic) in emitGenericVarsProlog()
1125 bool CGOpenMPRuntimeGPU::isDelayedVariableLengthDecl(CodeGenFunction &CGF, in isDelayedVariableLengthDecl()
1136 CGOpenMPRuntimeGPU::getKmpcAllocShared(CodeGenFunction &CGF, in getKmpcAllocShared()
1162 void CGOpenMPRuntimeGPU::getKmpcFreeShared( in getKmpcFreeShared()
1171 void CGOpenMPRuntimeGPU::emitGenericVarsEpilog(CodeGenFunction &CGF) { in emitGenericVarsEpilog()
1172 if (getDataSharingMode() != CGOpenMPRuntimeGPU::DS_Generic) in emitGenericVarsEpilog()
1199 void CGOpenMPRuntimeGPU::emitTeamsCall(CodeGenFunction &CGF, in emitTeamsCall()
1224 void CGOpenMPRuntimeGPU::emitParallelCall(CodeGenFunction &CGF, in emitParallelCall()
1304 void CGOpenMPRuntimeGPU::syncCTAThreads(CodeGenFunction &CGF) { in syncCTAThreads()
1319 void CGOpenMPRuntimeGPU::emitBarrierCall(CodeGenFunction &CGF, in emitBarrierCall()
1336 void CGOpenMPRuntimeGPU::emitCriticalRegion( in emitCriticalRegion()
1346 auto &RT = static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in emitCriticalRegion()
1441 CGOpenMPRuntimeGPU &RT = in createRuntimeShuffleFunction()
1442 *(static_cast<CGOpenMPRuntimeGPU *>(&CGM.getOpenMPRuntime())); in createRuntimeShuffleFunction()
1757 auto &RT = static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in emitInterWarpCopyFunction()
2800 void CGOpenMPRuntimeGPU::emitReduction( in emitReduction()
2972 CGOpenMPRuntimeGPU::translateParameter(const FieldDecl *FD, in translateParameter()
3004 CGOpenMPRuntimeGPU::getParameterAddress(CodeGenFunction &CGF, in getParameterAddress()
3030 void CGOpenMPRuntimeGPU::emitOutlinedFunctionCall( in emitOutlinedFunctionCall()
3057 llvm::Function *CGOpenMPRuntimeGPU::createParallelDataSharingWrapper( in createParallelDataSharingWrapper()
3184 void CGOpenMPRuntimeGPU::emitFunctionProlog(CodeGenFunction &CGF, in emitFunctionProlog()
3186 if (getDataSharingMode() != CGOpenMPRuntimeGPU::DS_Generic) in emitFunctionProlog()
3204 getExecutionMode() == CGOpenMPRuntimeGPU::EM_SPMD) in emitFunctionProlog()
3243 static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()) in emitFunctionProlog()
3251 Address CGOpenMPRuntimeGPU::getAddressOfLocalVariable(CodeGenFunction &CGF, in getAddressOfLocalVariable()
3295 if (getDataSharingMode() != CGOpenMPRuntimeGPU::DS_Generic) in getAddressOfLocalVariable()
3320 void CGOpenMPRuntimeGPU::functionFinished(CodeGenFunction &CGF) { in functionFinished()
3325 void CGOpenMPRuntimeGPU::getDefaultDistScheduleAndChunk( in getDefaultDistScheduleAndChunk()
3329 auto &RT = static_cast<CGOpenMPRuntimeGPU &>(CGF.CGM.getOpenMPRuntime()); in getDefaultDistScheduleAndChunk()
3330 if (getExecutionMode() == CGOpenMPRuntimeGPU::EM_SPMD) { in getDefaultDistScheduleAndChunk()
3342 void CGOpenMPRuntimeGPU::getDefaultScheduleAndChunk( in getDefaultScheduleAndChunk()
3354 void CGOpenMPRuntimeGPU::adjustTargetSpecificDataForLambdas( in adjustTargetSpecificDataForLambdas()
3408 bool CGOpenMPRuntimeGPU::hasAllocateAttributeForGlobalVar(const VarDecl *VD, in hasAllocateAttributeForGlobalVar()
3453 void CGOpenMPRuntimeGPU::processRequiresDirective( in processRequiresDirective()
3543 llvm::Value *CGOpenMPRuntimeGPU::getGPUNumThreads(CodeGenFunction &CGF) { in getGPUNumThreads()
3556 llvm::Value *CGOpenMPRuntimeGPU::getGPUThreadID(CodeGenFunction &CGF) { in getGPUThreadID()
3564 llvm::Value *CGOpenMPRuntimeGPU::getGPUWarpSize(CodeGenFunction &CGF) { in getGPUWarpSize()