aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2019-11-06 23:20:06 -0600
committerJohannes Doerfert <johannes@jdoerfert.de>2020-02-08 14:47:03 -0600
commit9548b74a831ea005649465797f359e0521f3b8a9 (patch)
tree9926350a7344c63e0ceca262ead8d125a5c8c49b /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parent72277ecd62e28a01bb98866c1b15d5f172ed30dc (diff)
downloadllvm-9548b74a831ea005649465797f359e0521f3b8a9.zip
llvm-9548b74a831ea005649465797f359e0521f3b8a9.tar.gz
llvm-9548b74a831ea005649465797f359e0521f3b8a9.tar.bz2
[OpenMP] Introduce the OpenMPOpt transformation pass
The OpenMPOpt pass is a CGSCC pass in which OpenMP specific optimizations can reside. The OpenMPOpt pass uses the OpenMPKinds.def file to identify runtime calls and their uses. This allows targeted transformations and eases their implementation. This initial patch deduplicates `__kmpc_global_thread_num` and `omp_get_thread_num` calls. We can also identify arguments that are equivalent to such a call result and use it instead. Later we can determine "gtid" arguments based on the use in kernel functions etc. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D69930
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions