This patch adds a helper class (CGLoopInfo) for marking memory instructions...
This patch adds a helper class (CGLoopInfo) for marking memory instructions with llvm.mem.parallel_loop_access metadata. It also adds a simple initial version of codegen for pragma omp simd (it will change in the future to support all the clauses). Differential revision: http://reviews.llvm.org/D3644 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209411 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGBuilder.h 29 additions, 2 deletionslib/CodeGen/CGBuilder.h
- lib/CodeGen/CGLoopInfo.cpp 112 additions, 0 deletionslib/CodeGen/CGLoopInfo.cpp
- lib/CodeGen/CGLoopInfo.h 136 additions, 0 deletionslib/CodeGen/CGLoopInfo.h
- lib/CodeGen/CGStmt.cpp 20 additions, 1 deletionlib/CodeGen/CGStmt.cpp
- lib/CodeGen/CGStmtOpenMP.cpp 27 additions, 0 deletionslib/CodeGen/CGStmtOpenMP.cpp
- lib/CodeGen/CMakeLists.txt 1 addition, 0 deletionslib/CodeGen/CMakeLists.txt
- lib/CodeGen/CodeGenFunction.cpp 29 additions, 1 deletionlib/CodeGen/CodeGenFunction.cpp
- lib/CodeGen/CodeGenFunction.h 9 additions, 0 deletionslib/CodeGen/CodeGenFunction.h
- test/OpenMP/simd_metadata.c 52 additions, 0 deletionstest/OpenMP/simd_metadata.c
Loading
Please register or sign in to comment