aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Archive.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-07-22 16:09:47 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-07-22 16:09:47 +0000
commit047149f7452ac3eeeff226683d7fb1d354fc36cf (patch)
tree0410ea998146d4843d4bbedf534426804af80191 /llvm/lib/Object/Archive.cpp
parent71fef77dcbef3884e98e2caf50cf69f071383e55 (diff)
downloadllvm-047149f7452ac3eeeff226683d7fb1d354fc36cf.zip
llvm-047149f7452ac3eeeff226683d7fb1d354fc36cf.tar.gz
llvm-047149f7452ac3eeeff226683d7fb1d354fc36cf.tar.bz2
[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/Archive.cpp')
0 files changed, 0 insertions, 0 deletions