llvm-6502/lib
Reid Spencer a16d5a5185 This is a cleanup commit:
* Correct stale documentation in a few places
* Re-order the file to better associate things and reduce line count
* Make the pass thread safe by caching the Function* objects needed by the
  optimizers in the pass object instead of globally.
* Provide the SimplifyLibCalls pass object to the optimizer classes so they
  can access cached Function* objects and TargetData info
* Make sure the pass resets its cache if the Module passed to runOnModule
  changes
* Rename CallOptimizer LibCallOptimization. All the classes are named
  *Optimization while the objects are *Optimizer.
* Don't cache Function* in the optimizer objects because they could be used
  by multiple PassManager's running in multiple threads
* Add an optimization for strcpy which is similar to strcat
* Add a "TODO" list at the end of the file for ideas on additional libcall
  optimizations that could be added (get ideas from other compilers).

Sorry for the huge diff. Its mostly reorganization of code. That won't
happen again as I believe the design and infrastructure for this pass is
now done or close to it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21589 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-27 07:54:40 +00:00
..
Analysis Make interval partition print correctly, patch contributed by 2005-04-26 14:48:28 +00:00
Archive Remove trailing whitespace 2005-04-21 21:13:18 +00:00
AsmParser * Remove trailing whitespace 2005-04-21 21:10:11 +00:00
Bytecode Convert tabs to spaces 2005-04-22 04:01:18 +00:00
CodeGen Fold (X > -1) | (Y > -1) --> (X&Y > -1) 2005-04-26 01:18:33 +00:00
Debugger Remove trailing whitespace 2005-04-21 22:36:52 +00:00
ExecutionEngine Convert tabs to spaces 2005-04-22 04:08:30 +00:00
Linker Remove trailing whitespace 2005-04-21 22:55:34 +00:00
Support * Order #includes as per style guide 2005-04-22 19:13:22 +00:00
System Silence gcc-4.0.0 warnings. 2005-04-22 17:56:01 +00:00
Target constmul bugfix: multiply by 27611 was broken 2005-04-26 09:42:50 +00:00
Transforms This is a cleanup commit: 2005-04-27 07:54:40 +00:00
VMCore don't let Reid build void*'s :) 2005-04-26 20:03:33 +00:00
Makefile Add the Linker library 2004-11-14 21:54:41 +00:00