diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-07-22 16:09:47 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-07-22 16:09:47 +0000 |
commit | 047149f7452ac3eeeff226683d7fb1d354fc36cf (patch) | |
tree | 0410ea998146d4843d4bbedf534426804af80191 /llvm/lib/Object/MachOUniversal.cpp | |
parent | 71fef77dcbef3884e98e2caf50cf69f071383e55 (diff) | |
download | bcm5719-llvm-047149f7452ac3eeeff226683d7fb1d354fc36cf.tar.gz bcm5719-llvm-047149f7452ac3eeeff226683d7fb1d354fc36cf.zip |
[RDF] Make the graph construction/use less expensive
- FuncNode::findBlock traverses the function every time. Avoid using it,
and keep a cache of block addresses in DataFlowGraph instead.
- The operator[] in the map of definition stacks was very slow. Replace
the map with unordered_map.
llvm-svn: 276429
Diffstat (limited to 'llvm/lib/Object/MachOUniversal.cpp')
0 files changed, 0 insertions, 0 deletions