diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-04-25 02:53:12 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-04-25 02:53:12 +0000 |
commit | 39a762d149fc6616ec5ae1a139df1e59e49b70ab (patch) | |
tree | c4c6b4a95d00f517a185da9ca08c332d16315c6b /llvm/lib/Analysis/DataStructure/DataStructure.cpp | |
parent | 985f484263f910913e88dd27f8d646fcb7fa6d03 (diff) | |
download | llvm-39a762d149fc6616ec5ae1a139df1e59e49b70ab.zip llvm-39a762d149fc6616ec5ae1a139df1e59e49b70ab.tar.gz llvm-39a762d149fc6616ec5ae1a139df1e59e49b70ab.tar.bz2 |
A new pass to provide specific optimizations for certain well-known library
calls. The pass visits all external functions in the module and determines
if such function calls can be optimized. The optimizations are specific to
the library calls involved. This initial version only optimizes calls to
exit(3) when they occur in main(): it changes them to ret instructions.
llvm-svn: 21522
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/DataStructure.cpp')
0 files changed, 0 insertions, 0 deletions