summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Implement the high level interface to make (de)compression easier.Reid Spencer2004-11-141-9/+181
| | | | llvm-svn: 17775
* Implement the MoreHelp utility that calls a function to printmore help ↵Reid Spencer2004-11-141-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 Spencer2004-11-141-0/+2
| | | | llvm-svn: 17773
* *Adjust prototypes for public interface. *Rewrite LinkInArchive to use ↵Reid Spencer2004-11-141-65/+41
| | | | | | symbol tables. llvm-svn: 17772
* Simplify compression code by using the high level interface to the CompressorReid Spencer2004-11-141-73/+4
| | | | llvm-svn: 17771
* Add wrappers to get defined symbols from bytecodeReid Spencer2004-11-141-19/+48
| | | | llvm-svn: 17770
* Simplify handling of decompressionReid Spencer2004-11-141-15/+4
| | | | llvm-svn: 17769
* Simplify decompression code by using the high level interface to the CompressorReid Spencer2004-11-141-57/+11
| | | | llvm-svn: 17768
* Completely rewritten to allow reading of archives and symbol table lookup in ↵Reid Spencer2004-11-141-160/+369
| | | | | | a more efficient manner. llvm-svn: 17767
* Implementation declarations for ArchiveReid Spencer2004-11-141-108/+24
| | | | llvm-svn: 17766
* First working versionReid Spencer2004-11-142-224/+492
| | | | llvm-svn: 17765
* Add the Archive libraryReid Spencer2004-11-141-1/+1
| | | | llvm-svn: 17764
* Add the Linker libraryReid Spencer2004-11-141-1/+1
| | | | llvm-svn: 17763
* *Make naming convention consistent.*Add convertion to/from Unix Epoch ↵Reid Spencer2004-11-141-4/+16
| | | | | | time.*Add ability to convert to readable string. llvm-svn: 17762
* Make the remove*OnSignal functions deal with Paths not stringsReid Spencer2004-11-141-2/+2
| | | | llvm-svn: 17761
* *Put the StatusInfo type in the right section. *Provide the ability to ↵Reid Spencer2004-11-141-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 destructionReid Spencer2004-11-141-0/+2
| | | | llvm-svn: 17759
* Linker is its own module now. Moved to include/llvm/Linker.hReid Spencer2004-11-141-33/+0
| | | | llvm-svn: 17758
* Add higher level interface to simplify use of CompressorReid Spencer2004-11-141-13/+88
| | | | llvm-svn: 17757
* Add the MoreHelp function pointer. If non-null, this specifies a function to ↵Reid Spencer2004-11-141-0/+8
| | | | | | be called to print out additional help information llvm-svn: 17756
* Remove ReadArchiveFile (functionality moved to Archive.h). Add an alternate ↵Reid Spencer2004-11-141-9/+10
| | | | | | form for GetBytecodeSymbols. llvm-svn: 17755
* Complete rewrite to get first working version.Reid Spencer2004-11-141-192/+410
| | | | llvm-svn: 17754
* Add a command for using llvm-ar correctly.Reid Spencer2004-11-141-0/+1
| | | | llvm-svn: 17753
* Interface to Linker (revised/expanded from Support/Linker.h)Reid Spencer2004-11-141-10/+70
| | | | llvm-svn: 17752
* GhostLinkage not allowed in LLVM AsmWriter, eitherMisha Brukman2004-11-141-0/+6
| | | | llvm-svn: 17751
* GhostLinkage should not reach asm printing stageMisha Brukman2004-11-141-0/+3
| | | | llvm-svn: 17750
* Handle GhostLinkage (should not ever reach the assembly printing stage!)Misha Brukman2004-11-141-0/+3
| | | | llvm-svn: 17749
* Mark an unmaterialized function as having GhostLinkageMisha Brukman2004-11-141-0/+4
| | | | llvm-svn: 17748
* Add GhostLinkage for marking functions before they're fully materializedMisha Brukman2004-11-141-1/+2
| | | | llvm-svn: 17747
* If a global is just loaded and restored, realize that it is not changingChris Lattner2004-11-141-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 vortexChris Lattner2004-11-141-0/+14
| | | | llvm-svn: 17745
* Fix build on Linux/PowerPC64 using SuSE GCC (#undef PPC)Misha Brukman2004-11-141-0/+3
| | | | llvm-svn: 17744
* Moved from include/llvm/Support/Linker.hReid Spencer2004-11-141-0/+33
| | | | llvm-svn: 17743
* Moved to lib/Bytecode/Archive in preparation for re-write.Reid Spencer2004-11-141-0/+194
| | | | llvm-svn: 17742
* This optimization makes MANY phi nodes that all have the same incoming value.Chris Lattner2004-11-141-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 Lattner2004-11-141-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 Lattner2004-11-141-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 typoChris Lattner2004-11-141-1/+1
| | | | llvm-svn: 17738
* add a testcase, which we already handleChris Lattner2004-11-141-1/+11
| | | | llvm-svn: 17737
* Transform this:Chris Lattner2004-11-141-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 selfChris Lattner2004-11-141-4/+0
| | | | llvm-svn: 17734
* Fix problem with insertion point for ADJCALLSTACKDOWN.Brian Gaeke2004-11-141-2/+1
| | | | llvm-svn: 17733
* Update lists of failing unit tests.Brian Gaeke2004-11-141-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 Lattner2004-11-141-1/+1
| | | | llvm-svn: 17731
* If a function always returns a constant, replace all calls sites with thatChris Lattner2004-11-141-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 testcaseChris Lattner2004-11-141-0/+16
| | | | llvm-svn: 17729
* Fix NotTest - round up extraStack to the nearest doubleword, if it isBrian Gaeke2004-11-142-1/+3
| | | | | | not zero. llvm-svn: 17728
* Teach SROA how to promote an array index that is variable, if the dimensionChris Lattner2004-11-141-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 indexChris Lattner2004-11-141-0/+16
| | | | llvm-svn: 17726
* Update failing Benchmarks; point out that I'm skipping Shootout-C++.Brian Gaeke2004-11-141-2/+2
| | | | llvm-svn: 17725
OpenPOWER on IntegriCloud