[OPENMP 4.0] Codegen for 'declare simd' directive.
OpenMP 4.0 adds support for elemental functions using declarative directive '#pragma omp declare simd'. Patch adds mangling for simd functions in accordance with https://sourceware.org/glibc/wiki/libmvec?action=AttachFile&do=view&target=VectorABI.txt git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268721 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGOpenMPRuntime.cpp 225 additions, 0 deletionslib/CodeGen/CGOpenMPRuntime.cpp
- lib/CodeGen/CGOpenMPRuntime.h 7 additions, 0 deletionslib/CodeGen/CGOpenMPRuntime.h
- lib/CodeGen/CodeGenFunction.cpp 2 additions, 0 deletionslib/CodeGen/CodeGenFunction.cpp
- test/OpenMP/declare_simd_codegen.cpp 288 additions, 0 deletionstest/OpenMP/declare_simd_codegen.cpp
Loading
Please register or sign in to comment