Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement the high level interface to make (de)compression easier. | Reid Spencer | 2004-11-14 | 1 | -9/+181 |
| | | | | llvm-svn: 17775 | ||||
* | Implement the MoreHelp utility that calls a function to printmore help ↵ | Reid Spencer | 2004-11-14 | 1 | -0/+10 |
| | | | | | | information if the MoreHelp global is not null. llvm-svn: 17774 | ||||
* | Don't bother with a re-linked library, ensure archive library is built. | Reid Spencer | 2004-11-14 | 1 | -0/+2 |
| | | | | llvm-svn: 17773 | ||||
* | *Adjust prototypes for public interface. *Rewrite LinkInArchive to use ↵ | Reid Spencer | 2004-11-14 | 1 | -65/+41 |
| | | | | | | symbol tables. llvm-svn: 17772 | ||||
* | Simplify compression code by using the high level interface to the Compressor | Reid Spencer | 2004-11-14 | 1 | -73/+4 |
| | | | | llvm-svn: 17771 | ||||
* | Add wrappers to get defined symbols from bytecode | Reid Spencer | 2004-11-14 | 1 | -19/+48 |
| | | | | llvm-svn: 17770 | ||||
* | Simplify handling of decompression | Reid Spencer | 2004-11-14 | 1 | -15/+4 |
| | | | | llvm-svn: 17769 | ||||
* | Simplify decompression code by using the high level interface to the Compressor | Reid Spencer | 2004-11-14 | 1 | -57/+11 |
| | | | | llvm-svn: 17768 | ||||
* | Completely rewritten to allow reading of archives and symbol table lookup in ↵ | Reid Spencer | 2004-11-14 | 1 | -160/+369 |
| | | | | | | a more efficient manner. llvm-svn: 17767 | ||||
* | Implementation declarations for Archive | Reid Spencer | 2004-11-14 | 1 | -108/+24 |
| | | | | llvm-svn: 17766 | ||||
* | First working version | Reid Spencer | 2004-11-14 | 2 | -224/+492 |
| | | | | llvm-svn: 17765 | ||||
* | Add the Archive library | Reid Spencer | 2004-11-14 | 1 | -1/+1 |
| | | | | llvm-svn: 17764 | ||||
* | Add the Linker library | Reid Spencer | 2004-11-14 | 1 | -1/+1 |
| | | | | llvm-svn: 17763 | ||||
* | *Make naming convention consistent.*Add convertion to/from Unix Epoch ↵ | Reid Spencer | 2004-11-14 | 1 | -4/+16 |
| | | | | | | time.*Add ability to convert to readable string. llvm-svn: 17762 | ||||
* | Make the remove*OnSignal functions deal with Paths not strings | Reid Spencer | 2004-11-14 | 1 | -2/+2 |
| | | | | llvm-svn: 17761 | ||||
* | *Put the StatusInfo type in the right section. *Provide the ability to ↵ | Reid Spencer | 2004-11-14 | 1 | -19/+72 |
| | | | | | | rename a file.*Provide the ability to get/set stat(2) information.*Provide the ability to identify LLVM file types. llvm-svn: 17760 | ||||
* | Allow explicit closing of the MappedFile, before destruction | Reid Spencer | 2004-11-14 | 1 | -0/+2 |
| | | | | llvm-svn: 17759 | ||||
* | Linker is its own module now. Moved to include/llvm/Linker.h | Reid Spencer | 2004-11-14 | 1 | -33/+0 |
| | | | | llvm-svn: 17758 | ||||
* | Add higher level interface to simplify use of Compressor | Reid Spencer | 2004-11-14 | 1 | -13/+88 |
| | | | | llvm-svn: 17757 | ||||
* | Add the MoreHelp function pointer. If non-null, this specifies a function to ↵ | Reid Spencer | 2004-11-14 | 1 | -0/+8 |
| | | | | | | be called to print out additional help information llvm-svn: 17756 | ||||
* | Remove ReadArchiveFile (functionality moved to Archive.h). Add an alternate ↵ | Reid Spencer | 2004-11-14 | 1 | -9/+10 |
| | | | | | | form for GetBytecodeSymbols. llvm-svn: 17755 | ||||
* | Complete rewrite to get first working version. | Reid Spencer | 2004-11-14 | 1 | -192/+410 |
| | | | | llvm-svn: 17754 | ||||
* | Add a command for using llvm-ar correctly. | Reid Spencer | 2004-11-14 | 1 | -0/+1 |
| | | | | llvm-svn: 17753 | ||||
* | Interface to Linker (revised/expanded from Support/Linker.h) | Reid Spencer | 2004-11-14 | 1 | -10/+70 |
| | | | | llvm-svn: 17752 | ||||
* | GhostLinkage not allowed in LLVM AsmWriter, either | Misha Brukman | 2004-11-14 | 1 | -0/+6 |
| | | | | llvm-svn: 17751 | ||||
* | GhostLinkage should not reach asm printing stage | Misha Brukman | 2004-11-14 | 1 | -0/+3 |
| | | | | llvm-svn: 17750 | ||||
* | Handle GhostLinkage (should not ever reach the assembly printing stage!) | Misha Brukman | 2004-11-14 | 1 | -0/+3 |
| | | | | llvm-svn: 17749 | ||||
* | Mark an unmaterialized function as having GhostLinkage | Misha Brukman | 2004-11-14 | 1 | -0/+4 |
| | | | | llvm-svn: 17748 | ||||
* | Add GhostLinkage for marking functions before they're fully materialized | Misha Brukman | 2004-11-14 | 1 | -1/+2 |
| | | | | llvm-svn: 17747 | ||||
* | If a global is just loaded and restored, realize that it is not changing | Chris Lattner | 2004-11-14 | 1 | -3/+9 |
| | | | | | | | | | | | | | | | | | | | value. This allows us to turn more globals into constants and eliminate them. This patch implements GlobalOpt/load-store-global.llx. Note that this patch speeds up 255.vortex from: Output/255.vortex.out-cbe.time:program 7.640000 Output/255.vortex.out-llc.time:program 9.810000 to: Output/255.vortex.out-cbe.time:program 7.250000 Output/255.vortex.out-llc.time:program 9.490000 Which isn't bad at all! llvm-svn: 17746 | ||||
* | New testcase. Believe it or not, this happens a LOT in vortex | Chris Lattner | 2004-11-14 | 1 | -0/+14 |
| | | | | llvm-svn: 17745 | ||||
* | Fix build on Linux/PowerPC64 using SuSE GCC (#undef PPC) | Misha Brukman | 2004-11-14 | 1 | -0/+3 |
| | | | | llvm-svn: 17744 | ||||
* | Moved from include/llvm/Support/Linker.h | Reid Spencer | 2004-11-14 | 1 | -0/+33 |
| | | | | llvm-svn: 17743 | ||||
* | Moved to lib/Bytecode/Archive in preparation for re-write. | Reid Spencer | 2004-11-14 | 1 | -0/+194 |
| | | | | llvm-svn: 17742 | ||||
* | This optimization makes MANY phi nodes that all have the same incoming value. | Chris Lattner | 2004-11-14 | 1 | -7/+23 |
| | | | | | | | | If this happens, detect it early instead of relying on instcombine to notice it later. This can be a big speedup, because PHI nodes can have many incoming values. llvm-svn: 17741 | ||||
* | Implement instcombine/phi.ll:test6 - pulling operations through PHI nodes. | Chris Lattner | 2004-11-14 | 1 | -6/+85 |
| | | | | | | | This exposes subsequent optimization possiblities and reduces code size. This triggers 1423 times in spec. llvm-svn: 17740 | ||||
* | New testcase: the phi can be eliminated if the casts are sucked into it. | Chris Lattner | 2004-11-14 | 1 | -0/+12 |
| | | | | | | | Note that this reduces code size anyway (as well as making further optimizations simpler) so it's always a win. llvm-svn: 17739 | ||||
* | Fix typo | Chris Lattner | 2004-11-14 | 1 | -1/+1 |
| | | | | llvm-svn: 17738 | ||||
* | add a testcase, which we already handle | Chris Lattner | 2004-11-14 | 1 | -1/+11 |
| | | | | llvm-svn: 17737 | ||||
* | Transform this: | Chris Lattner | 2004-11-14 | 1 | -4/+6 |
| | | | | | | | | | | | | %X = alloca ... %Y = alloca ... X == Y into false. This allows us to simplify some stuff in eon (and probably many other C++ programs) where operator= was checking for self assignment. Folding this allows us to SROA several additional structs. llvm-svn: 17735 | ||||
* | Remove note to self | Chris Lattner | 2004-11-14 | 1 | -4/+0 |
| | | | | llvm-svn: 17734 | ||||
* | Fix problem with insertion point for ADJCALLSTACKDOWN. | Brian Gaeke | 2004-11-14 | 1 | -2/+1 |
| | | | | llvm-svn: 17733 | ||||
* | Update lists of failing unit tests. | Brian Gaeke | 2004-11-14 | 1 | -4/+5 |
| | | | | | | | Exclude bigfib, so that we effectively exclude all C++ benchmarks. Update to-do list: mention va_start. llvm-svn: 17732 | ||||
* | Oops, make this test the right thing. | Chris Lattner | 2004-11-14 | 1 | -1/+1 |
| | | | | llvm-svn: 17731 | ||||
* | If a function always returns a constant, replace all calls sites with that | Chris Lattner | 2004-11-14 | 1 | -11/+80 |
| | | | | | | | | | | | constant value. This makes the return value dead and allows for simplification in the caller. This implements IPConstantProp/return-constant.ll This triggers several dozen times throughout SPEC. llvm-svn: 17730 | ||||
* | New testcase | Chris Lattner | 2004-11-14 | 1 | -0/+16 |
| | | | | llvm-svn: 17729 | ||||
* | Fix NotTest - round up extraStack to the nearest doubleword, if it is | Brian Gaeke | 2004-11-14 | 2 | -1/+3 |
| | | | | | | not zero. llvm-svn: 17728 | ||||
* | Teach SROA how to promote an array index that is variable, if the dimension | Chris Lattner | 2004-11-14 | 1 | -40/+98 |
| | | | | | | | | | of the array is just two. This occurs 8 times in gcc, 6 times in crafty, and 12 times in 099.go. This implements ScalarRepl/sroa_two.ll llvm-svn: 17727 | ||||
* | New testcase, SROA with variable array index | Chris Lattner | 2004-11-14 | 1 | -0/+16 |
| | | | | llvm-svn: 17726 | ||||
* | Update failing Benchmarks; point out that I'm skipping Shootout-C++. | Brian Gaeke | 2004-11-14 | 1 | -2/+2 |
| | | | | llvm-svn: 17725 |