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 | 41b6a5a693a4870360592cdee6c73ec090382c29 (patch) | |
| tree | aaaf154c1e4b808c542c1f8fb5a8e80ce28014b1 /llvm/lib/Transforms/TransformInternals.cpp | |
| parent | 9db3c91a5185def26b2caefd821c05e52ddb43b4 (diff) | |
| download | bcm5719-llvm-41b6a5a693a4870360592cdee6c73ec090382c29.tar.gz bcm5719-llvm-41b6a5a693a4870360592cdee6c73ec090382c29.zip | |
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.
llvm-svn: 23433
Diffstat (limited to 'llvm/lib/Transforms/TransformInternals.cpp')
0 files changed, 0 insertions, 0 deletions

