Searched refs:ExecMode (Results 1 – 2 of 2) sorted by relevance
75 CGOpenMPRuntimeGPU::ExecutionMode &ExecMode; member in __anona9bff4970111::ExecutionRuntimeModesRAII81 ExecutionRuntimeModesRAII(CGOpenMPRuntimeGPU::ExecutionMode &ExecMode) in ExecutionRuntimeModesRAII() argument82 : ExecMode(ExecMode) { in ExecutionRuntimeModesRAII()83 SavedExecMode = ExecMode; in ExecutionRuntimeModesRAII()84 ExecMode = CGOpenMPRuntimeGPU::EM_NonSPMD; in ExecutionRuntimeModesRAII()87 ExecutionRuntimeModesRAII(CGOpenMPRuntimeGPU::ExecutionMode &ExecMode, in ExecutionRuntimeModesRAII() argument89 : ExecMode(ExecMode), RuntimeMode(&RuntimeMode) { in ExecutionRuntimeModesRAII()90 SavedExecMode = ExecMode; in ExecutionRuntimeModesRAII()92 ExecMode = CGOpenMPRuntimeGPU::EM_SPMD; in ExecutionRuntimeModesRAII()96 ExecMode = SavedExecMode; in ~ExecutionRuntimeModesRAII()
3388 GlobalVariable *ExecMode = Kernel->getParent()->getGlobalVariable( in changeToSPMDMode() local3390 assert(ExecMode && "Kernel without exec mode?"); in changeToSPMDMode()3391 assert(ExecMode->getInitializer() && "ExecMode doesn't have initializer!"); in changeToSPMDMode()3394 assert(isa<ConstantInt>(ExecMode->getInitializer()) && in changeToSPMDMode()3397 cast<ConstantInt>(ExecMode->getInitializer())->getSExtValue(); in changeToSPMDMode()3625 ExecMode->setInitializer( in changeToSPMDMode()3626 ConstantInt::get(ExecMode->getInitializer()->getType(), in changeToSPMDMode()