Home
last modified time | relevance | path

Searched refs:ExecMode (Results 1 – 2 of 2) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeGPU.cpp76 CGOpenMPRuntimeGPU::ExecutionMode &ExecMode; member in __anon3bd00c7f0111::ExecutionRuntimeModesRAII
82 ExecutionRuntimeModesRAII(CGOpenMPRuntimeGPU::ExecutionMode &ExecMode) in ExecutionRuntimeModesRAII() argument
83 : ExecMode(ExecMode) { in ExecutionRuntimeModesRAII()
84 SavedExecMode = ExecMode; in ExecutionRuntimeModesRAII()
85 ExecMode = CGOpenMPRuntimeGPU::EM_NonSPMD; in ExecutionRuntimeModesRAII()
88 ExecutionRuntimeModesRAII(CGOpenMPRuntimeGPU::ExecutionMode &ExecMode, in ExecutionRuntimeModesRAII() argument
90 : ExecMode(ExecMode), RuntimeMode(&RuntimeMode) { in ExecutionRuntimeModesRAII()
91 SavedExecMode = ExecMode; in ExecutionRuntimeModesRAII()
93 ExecMode = CGOpenMPRuntimeGPU::EM_SPMD; in ExecutionRuntimeModesRAII()
97 ExecMode = SavedExecMode; in ~ExecutionRuntimeModesRAII()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
DOpenMPOpt.cpp3000 GlobalVariable *ExecMode = Kernel->getParent()->getGlobalVariable( in changeToSPMDMode() local
3002 assert(ExecMode && "Kernel without exec mode?"); in changeToSPMDMode()
3003 assert(ExecMode->getInitializer() && in changeToSPMDMode()
3004 ExecMode->getInitializer()->isOneValue() && in changeToSPMDMode()
3009 if (!ExecMode->getInitializer()->isZeroValue()) in changeToSPMDMode()
3010 ExecMode->setInitializer( in changeToSPMDMode()
3011 ConstantInt::get(ExecMode->getInitializer()->getType(), SPMDGeneric)); in changeToSPMDMode()