aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-26 01:43:45 +0000
committerChris Lattner <sabre@nondot.org>2005-09-26 01:43:45 +0000
commitb1ab4580478c90375abec5e2b6e89dc1a15fa98b (patch)
tree4556903ad85ce3a8346ca246bf5eff788437c083 /lib/Transforms/Utils/Local.cpp
parent09eec56af0a51a9381241375744e856dcca39d72 (diff)
Factor this code out into a few methods.
Implement the start of global ctor optimization. It is currently smart enough to remove the global ctor for cases like this: struct foo { foo() {} } x; ... saving a bit of startup time for the program. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions