mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[OPENMP50]Add basic support for depobj construct.
Added basic parsing/sema/serialization support for depobj directive.
This commit is contained in:
parent
ae0ba63fe4
commit
a833f3a33b
@ -91,6 +91,7 @@ __OMP_DIRECTIVE_EXT(parallel_master_taskloop, "parallel master taskloop")
|
|||||||
__OMP_DIRECTIVE_EXT(master_taskloop_simd, "master taskloop simd")
|
__OMP_DIRECTIVE_EXT(master_taskloop_simd, "master taskloop simd")
|
||||||
__OMP_DIRECTIVE_EXT(parallel_master_taskloop_simd,
|
__OMP_DIRECTIVE_EXT(parallel_master_taskloop_simd,
|
||||||
"parallel master taskloop simd")
|
"parallel master taskloop simd")
|
||||||
|
__OMP_DIRECTIVE(depobj)
|
||||||
|
|
||||||
// Has to be the last because Clang implicitly expects it to be.
|
// Has to be the last because Clang implicitly expects it to be.
|
||||||
__OMP_DIRECTIVE(unknown)
|
__OMP_DIRECTIVE(unknown)
|
||||||
@ -130,7 +131,7 @@ __OMP_TYPE(Int32Ptr)
|
|||||||
#define OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize)
|
#define OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define __OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize) \
|
#define __OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize) \
|
||||||
OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize)
|
OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize)
|
||||||
|
|
||||||
__OMP_ARRAY_TYPE(KmpCriticalName, Int32, 8)
|
__OMP_ARRAY_TYPE(KmpCriticalName, Int32, 8)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user