summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/LevelRaise.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-23 01:01:04 +0000
committerChris Lattner <sabre@nondot.org>2006-01-23 01:01:04 +0000
commitc66da83a89354050e614ac02bfe139ff30217161 (patch)
treeacb21ddf0c762bed9c17c43b76c06a7ec58c5754 /llvm/lib/Transforms/LevelRaise.cpp
parent3090f923bd828fa04954fc2c4002a77174c694d1 (diff)
downloadbcm5719-llvm-c66da83a89354050e614ac02bfe139ff30217161.tar.gz
bcm5719-llvm-c66da83a89354050e614ac02bfe139ff30217161.zip
Speedup and simplify pass registration by the observation that there is
exactly one PassInfo object per RegisterPass object and that their lifetimes are the same. As such, there is no reason for the RegisterPass object to dynamically allocate the PassInfo object at compiler startup time: just inline the object by-value. This should reduce codesize, heap size, and startup time. Yaay. llvm-svn: 25521
Diffstat (limited to 'llvm/lib/Transforms/LevelRaise.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud