aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-09-10 02:31:42 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-09-10 02:31:42 +0000
commitb1e3a9ae8d30e23186f08548f9bd3ba79c09ea1c (patch)
tree8faf7c8796967348a21d1afe1c2c5c6e5b88329a /llvm/lib/Support/StringRef.cpp
parent1db3a448b5504a68c99cf5cf81619f880c359523 (diff)
downloadllvm-b1e3a9ae8d30e23186f08548f9bd3ba79c09ea1c.zip
llvm-b1e3a9ae8d30e23186f08548f9bd3ba79c09ea1c.tar.gz
llvm-b1e3a9ae8d30e23186f08548f9bd3ba79c09ea1c.tar.bz2
[LPM] Use a map from analysis ID to immutable passes in the legacy pass
manager to avoid a slow linear scan of every immutable pass and on every attempt to find an analysis pass. This speeds up 'check-llvm' on an unoptimized build for me by 15%, YMMV. It should also help (a tiny bit) other folks that are really bottlenecked on repeated runs of tiny pass pipelines across small IR files. llvm-svn: 247240
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions