summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2022-01-13 00:56:24 +0000
committerMircea Trofin <mtrofin@google.com>2022-01-18 17:45:34 +0000
commit3e8553aab47ab3c257fc4fade12f38d9774a2fdb (patch)
treeefccef64437067f2b85ca5b9993af5db6cbb397b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h
parentc8e33978fb735059c588c88baa36b3891a90132b (diff)
[mlgo][inline] Improve global state tracking
The global state refers to the number of the nodes currently in the module, and the number of direct calls between nodes, across the module. Node counts are not a problem; edge counts are because we want strictly the kind of edges that affect inlining (direct calls), and that is not easily obtainable without iteration over the whole module. This patch avoids relying on analysis invalidation because it turned out to be too aggressive in some cases. It leverages the fact that Node objects are stable - they do not get deleted while cgscc passes are run over the module; and cgscc pass manager invariants. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D115847
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions