[Openmp-dev] LLVM openMP entry point
Jose Diaz via Openmp-dev
openmp-dev at lists.llvm.org
Thu Jun 24 08:22:58 PDT 2021
What do you mean by entry point? It depends on what you're interested in
modifying. Others can correct me if I'm wrong but:
If you just want to modify the runtime, files will be under /openMP (
If you want to add new clauses you need to focus more on clang, code
generation and such. Some files of interest are:
(and the corresponding vendor specific files for offloading in the same
folder (e.g. AMDGCN and NVPTX)
If you are more interested in optimizations, this is where I know too
little, but one file I remember is:
and its header in /llvm/include
Other people can chime in with more ideas or files I may be missing.
My recommendation is use Godbolt a lot: Here are some examples:
There you can see what is being called at runtime, as well as the LLVMIR
I hope this helps
On Thu, Jun 24, 2021 at 9:23 AM Krzysztof Rymski via Openmp-dev <
openmp-dev at lists.llvm.org> wrote:
> I want to do a project with OpenMP where I add speculation with
> transactional memory, but I have a hard time finding an entry point to the
> omp library.
> Therefore, I was hoping you could point me to it.
> Best wishes
> Openmp-dev mailing list
> Openmp-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmp-dev