Home
last modified time | relevance | path

Searched refs:IsSPMDMode (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DMapping.cpp279 int __attribute__((weak)) KEEP_ALIVE SHARED(IsSPMDMode);
283 IsSPMDMode = IsSPMD; in init()
286 bool mapping::isSPMDMode() { return IsSPMDMode; } in isSPMDMode()
/llvm-project-15.0.7/llvm/test/Transforms/OpenMP/
H A Dspmdization_constant_prop.ll5 ; CHECK-NOT: store i32 0, ptr addrspace(3) @IsSPMDMode
7 ; CHECK-NOT: store i32 0, ptr addrspace(3) @IsSPMDMode
8 ; CHECK: store i32 1, ptr addrspace(3) @IsSPMDMode
9 ; CHECK-NOT: store i32 0, ptr addrspace(3) @IsSPMDMode
28 @IsSPMDMode = weak hidden addrspace(3) global i32 undef, align 4
36 …ng addrspace(1) global [2 x ptr] [ptr addrspacecast (ptr addrspace(3) @IsSPMDMode to ptr), ptr add…
65 %isspmd = load i32, ptr addrspace(3) @IsSPMDMode
76 %isspmd = load i32, ptr addrspace(3) @IsSPMDMode
131 store i32 1, ptr addrspace(3) @IsSPMDMode, align 4, !tbaa !14
174 store i32 0, ptr addrspace(3) @IsSPMDMode, align 4, !tbaa !14
[all …]
/llvm-project-15.0.7/openmp/libomptarget/plugins/cuda/src/
H A Drtl.cpp1130 const bool IsSPMDMode = in runTargetTeamRegion() local
1182 } else if (IsSPMDMode) { in runTargetTeamRegion()
1231 (!IsSPMDMode ? (IsGenericMode ? "Generic" : "SPMD-Generic") : "SPMD")); in runTargetTeamRegion()