aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorKarthika Devi C <quic_kartc@quicinc.com>2024-07-30 22:13:24 +0530
committerGitHub <noreply@github.com>2024-07-30 09:43:24 -0700
commit1e5334bcdae462e47d8516464b2cca1674ea899d (patch)
tree4ea6c826e3436ed84ba4043f1acc6f69e3d0be98 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parent1ada2352677cd271869660c99f1f18b2f556ac31 (diff)
downloadllvm-1e5334bcdae462e47d8516464b2cca1674ea899d.zip
llvm-1e5334bcdae462e47d8516464b2cca1674ea899d.tar.gz
llvm-1e5334bcdae462e47d8516464b2cca1674ea899d.tar.bz2
[Polly] Data flow reduction detection to cover more cases (#84901)
The base concept is same as existing reduction algorithm where we get the list of candidate pairs <store,load>. But the existing algorithm works only if there is single binary operation between the load and store. Example sum += a[i]; This algorithm extends to work with more than single binary operation as well. It is implemented using data flow reduction detection on basic block level. We propagate the loads, the number of times the load is used(flows into instruction) and binary operation performed until we reach a store. Example sum += a[i] + b[i]; ``` sum(Ld) a[i](Ld) \ + / tmp b[i](Ld) \ + / sum(St) ``` In the above case the candidate pairs are formed by associating sum with all of its load inputs which are sum, a[i] and b[i]. Then check functions are used to filter a valid reduction pair ie {sum,sum}. --------- Co-authored-by: Michael Kruse <github@meinersbur.de>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions