search for: cgstmtopenmp

Displaying 10 results from an estimated 10 matches for "cgstmtopenmp".

2020 Aug 10
2
Orc JIT v2 breaks OpenMP in 11.x branch?
...cpp:2875 > #10 0x00007fb71197c294 in > > clang::CodeGen::CodeGenFunction::<lambda(clang::CodeGen::CodeGenFunction&)>::operator()(clang::CodeGen::CodeGenFunction > &) const (__closure=0x7fffd4fd8340, CGF=...) > at > /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp:3048 > #11 0x00007fb71199754d in > > llvm::function_ref<void(clang::CodeGen::CodeGenFunction&)>::callback_fn<clang::CodeGen::CodeGenFunction::EmitOMPWorksharingLoop(const > clang::OMPLoopDirective&, clang::Expr*, const CodeGenLoopBoundsTy&, > const CodeGenDis...
2020 Aug 03
2
Orc JIT v2 breaks OpenMP in 11.x branch?
Greetings, Lang and other JITters, Last week I moved our Orc v2-based app from top-of-tree to the new 11.x branch, and it no longer handles C++ code containing OpenMP directives correctly. More specifically, if I JIT compile a function containing OpenMP parallel/for pragmas, using a release version of LLVM, the code compiles and seems to work, but if I try to write the module's bitcode to
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...75 >> #10 0x00007fb71197c294 in >> clang::CodeGen::CodeGenFunction::<lambda(clang::CodeGen::CodeGenFunction&)>::operator()(clang::CodeGen::CodeGenFunction >> &) const (__closure=0x7fffd4fd8340, CGF=...) >> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp:3048 >> #11 0x00007fb71199754d in >> llvm::function_ref<void(clang::CodeGen::CodeGenFunction&)>::callback_fn<clang::CodeGen::CodeGenFunction::EmitOMPWorksharingLoop(const >> clang::OMPLoopDirective&, clang::Expr*, const CodeGenLoopBoundsTy&, >> const...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...97c294 in > >>> clang::CodeGen::CodeGenFunction::<lambda(clang::CodeGen::CodeGenFunction&)>::operator()(clang::CodeGen::CodeGenFunction > >>> &) const (__closure=0x7fffd4fd8340, CGF=...) > >>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp:3048 > >>> #11 0x00007fb71199754d in > >>> llvm::function_ref<void(clang::CodeGen::CodeGenFunction&)>::callback_fn<clang::CodeGen::CodeGenFunction::EmitOMPWorksharingLoop(const > >>> clang::OMPLoopDirective&, clang::Expr*, const CodeGenLoopBo...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...t;>> clang::CodeGen::CodeGenFunction::<lambda(clang::CodeGen::CodeGenFunction&)>::operator()(clang::CodeGen::CodeGenFunction > >>>>> &) const (__closure=0x7fffd4fd8340, CGF=...) > >>>>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp:3048 > >>>>> #11 0x00007fb71199754d in > >>>>> llvm::function_ref<void(clang::CodeGen::CodeGenFunction&)>::callback_fn<clang::CodeGen::CodeGenFunction::EmitOMPWorksharingLoop(const > >>>>> clang::OMPLoopDirective&, clang::Ex...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...gt; clang::CodeGen::CodeGenFunction::<lambda(clang::CodeGen::CodeGenFunction&)>::operator()(clang::CodeGen::CodeGenFunction >>>>>>> &) const (__closure=0x7fffd4fd8340, CGF=...) >>>>>>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp:3048 >>>>>>> #11 0x00007fb71199754d in >>>>>>> llvm::function_ref<void(clang::CodeGen::CodeGenFunction&)>::callback_fn<clang::CodeGen::CodeGenFunction::EmitOMPWorksharingLoop(const >>>>>>> clang::OMPLoopDirective&,...
2019 Dec 10
2
[PATCH] D69853: [OpenMP][NFCI] Introduce llvm/IR/OpenMPConstants.h
...lude/clang/Basic/OpenMPKinds.h > clang/lib/AST/CMakeLists.txt > clang/lib/AST/OpenMPClause.cpp > clang/lib/AST/StmtOpenMP.cpp > clang/lib/Basic/OpenMPKinds.cpp > clang/lib/CodeGen/CGOpenMPRuntime.cpp > clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp > clang/lib/CodeGen/CGStmtOpenMP.cpp > clang/lib/CodeGen/CodeGenFunction.h > clang/lib/Parse/CMakeLists.txt > clang/lib/Parse/ParseOpenMP.cpp > clang/lib/Sema/CMakeLists.txt > clang/lib/Sema/SemaOpenMP.cpp > clang/lib/Sema/SemaTemplateInstantiateDecl.cpp > clang/lib/Sema/TreeTransform.h > cl...
2019 Dec 10
3
[PATCH] D69853: [OpenMP][NFCI] Introduce llvm/IR/OpenMPConstants.h
...ts.txt > > > clang/lib/AST/OpenMPClause.cpp > > > clang/lib/AST/StmtOpenMP.cpp > > > clang/lib/Basic/OpenMPKinds.cpp > > > clang/lib/CodeGen/CGOpenMPRuntime.cpp > > > clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp > > > clang/lib/CodeGen/CGStmtOpenMP.cpp > > > clang/lib/CodeGen/CodeGenFunction.h > > > clang/lib/Parse/CMakeLists.txt > > > clang/lib/Parse/ParseOpenMP.cpp > > > clang/lib/Sema/CMakeLists.txt > > > clang/lib/Sema/SemaOpenMP.cpp > > > clang/lib/Sema/SemaTemplateInstant...
2019 Dec 11
2
[PATCH] D69853: [OpenMP][NFCI] Introduce llvm/IR/OpenMPConstants.h
....cpp > > > > > clang/lib/AST/StmtOpenMP.cpp > > > > > clang/lib/Basic/OpenMPKinds.cpp > > > > > clang/lib/CodeGen/CGOpenMPRuntime.cpp > > > > > clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp > > > > > clang/lib/CodeGen/CGStmtOpenMP.cpp > > > > > clang/lib/CodeGen/CodeGenFunction.h > > > > > clang/lib/Parse/CMakeLists.txt > > > > > clang/lib/Parse/ParseOpenMP.cpp > > > > > clang/lib/Sema/CMakeLists.txt > > > > > clang/lib/Sema/SemaOpenMP.cpp &...
2018 Jan 19
2
Does OpenMP hints bypass the vectorisation legality check in llvm
Hi all, I am currently looking into how "#pragma omp for simd" is actually recognized in llvm. To my knowledge, clang will parse it and set metadata in IR to indicate this force-vectorization hint and later optimization passes would read it and vectorize the marked loop. Therefore, the loop should be vectorized even the compiler think it might not be safe to do so? So my