diff options
author | Chris Lattner <sabre@nondot.org> | 2005-09-26 01:43:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-09-26 01:43:45 +0000 |
commit | b1ab4580478c90375abec5e2b6e89dc1a15fa98b (patch) | |
tree | 4556903ad85ce3a8346ca246bf5eff788437c083 /lib/Transforms/Utils/Local.cpp | |
parent | 09eec56af0a51a9381241375744e856dcca39d72 (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