aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* New testcase for cbeChris Lattner2002-09-202-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3868 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for broken type printing for the cwriterNick Hildenbrandt2002-09-202-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3867 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed uchar to unsigned char in function ParseBytecodeBuffer, because ↵Anand Shukla2002-09-201-1/+1
| | | | | | seemingly it affects opt in uncertain ways :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3866 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix yet another profile linking issue.Vikram S. Adve2002-09-202-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3865 91177308-0d34-0410-b5e6-96231b3b80d8
* Added checking thresholdAnand Shukla2002-09-205-90/+185
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3864 91177308-0d34-0410-b5e6-96231b3b80d8
* Peephole optimization pass on final machine code.Vikram S. Adve2002-09-201-0/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3863 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix link error for profile version. Also, build Burg differentlyVikram S. Adve2002-09-202-8/+8
| | | | | | | for different architectures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3862 91177308-0d34-0410-b5e6-96231b3b80d8
* Build burg separately for different architectures.Vikram S. Adve2002-09-202-24/+44
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3861 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix output of typedefs to avoid syntax errors.Chris Lattner2002-09-202-2/+2
| | | | | | | * We now can correctly Cify the Olden-power benchmark git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3860 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add a couple of comments to the output c codeChris Lattner2002-09-202-28/+42
| | | | | | | | * _FIX_ infinite recursion problem, due to typedefs of a structure being printed before the structure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3859 91177308-0d34-0410-b5e6-96231b3b80d8
* Another change that doesn't affect functionality. Since we are only lookingChris Lattner2002-09-202-58/+54
| | | | | | | at types in the symbol table, only traverse the type plane, saving a loop nest. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3858 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the StructPrinted set only take memory when it's being used.Chris Lattner2002-09-202-24/+30
| | | | | | | rename parseStruct to printContainedStructs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3857 91177308-0d34-0410-b5e6-96231b3b80d8
* No functionality changes, primarily just changing tab indentation to spaceChris Lattner2002-09-202-58/+56
| | | | | | | indentation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3856 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin old testcaseChris Lattner2002-09-202-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3855 91177308-0d34-0410-b5e6-96231b3b80d8
* The ENABLE_PROFILING flag now builds the profiled libraries and executablesVikram S. Adve2002-09-202-44/+148
| | | | | | | | into a Profile/ directory to keep them separate from the Debug/ and Release/ versions. Also, it turns on ENABLE_OPTIMIZED automatically. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3854 91177308-0d34-0410-b5e6-96231b3b80d8
* Let CC invoke gcc and not cc. The latter doesn't work with either ourVikram S. Adve2002-09-201-1/+1
| | | | | | | source or some of our tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3853 91177308-0d34-0410-b5e6-96231b3b80d8
* Include our config and system-specific Makefiles to get theVikram S. Adve2002-09-202-0/+10
| | | | | | | right compilers and paths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3852 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix data types header file and declarations to work on Linux.Vikram S. Adve2002-09-201-20/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3851 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix to avoid addition on pointers, which is no longer legal.Vikram S. Adve2002-09-202-6/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3850 91177308-0d34-0410-b5e6-96231b3b80d8
* Add erase() method for a single element.Vikram S. Adve2002-09-202-4/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3849 91177308-0d34-0410-b5e6-96231b3b80d8
* Add method IGNode::getCombinedDegree to count the sum of the degreesVikram S. Adve2002-09-202-0/+6
| | | | | | | of two nodes, excluding duplicates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3848 91177308-0d34-0410-b5e6-96231b3b80d8
* Add PostOpts/ and rename PreSelection/ to PreOpts/.Vikram S. Adve2002-09-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3847 91177308-0d34-0410-b5e6-96231b3b80d8
* Add peephole optimization pass at the end of code generation.Vikram S. Adve2002-09-201-5/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3846 91177308-0d34-0410-b5e6-96231b3b80d8
* Added class MachineOptInfo as interface to target-specificVikram S. Adve2002-09-205-8/+47
| | | | | | | | routines supporting machine code optimization. Also added method MachineInstrInfo::getNOPOpCode(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3845 91177308-0d34-0410-b5e6-96231b3b80d8
* Interface to target-specific routines that support machine code optimization.Vikram S. Adve2002-09-201-0/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3844 91177308-0d34-0410-b5e6-96231b3b80d8
* Add method MachineInstr::replace to rewrite a machine instruction in place.Vikram S. Adve2002-09-202-0/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3843 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow copy coalescing in more cases: if sum of node degrees is more thanVikram S. Adve2002-09-204-2/+52
| | | | | | | | | than #available regs, compute the sum excluding duplicates and if that is less than #regs, go ahead and coalesce. Add method IGNode::getCombinedDegree to count excluding duplicates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3842 91177308-0d34-0410-b5e6-96231b3b80d8
* Renamed library preselect to preopts.Vikram S. Adve2002-09-202-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3841 91177308-0d34-0410-b5e6-96231b3b80d8
* Peephole optimization pass on final machine code.Vikram S. Adve2002-09-202-0/+145
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3840 91177308-0d34-0410-b5e6-96231b3b80d8
* Files moved to CodeGen/PreOpts.Vikram S. Adve2002-09-202-294/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3839 91177308-0d34-0410-b5e6-96231b3b80d8
* Moving these files from Code/PreSelection to here.Vikram S. Adve2002-09-202-0/+294
| | | | | | | | | | | | | | | | | Original logs for PreSelection.cpp: revision 1.2 date: 2002/09/17 23:50:32; author: lattner; state: Exp; lines: +1 -3 Don't put default parameter values into .cpp files, it breaks 3.x compilers revision 1.1 date: 2002/09/16 15:31:13; author: vadve; state: Exp; New preselection pass that specializes LLVM code for a target machine, while remaining in legal portable LLVM form and preserving type information and type safety. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3838 91177308-0d34-0410-b5e6-96231b3b80d8
* Reenable these options because they break testing on sparc without them.Chris Lattner2002-09-191-4/+7
| | | | | | | Conditionalizing them on DISABLE_LLC means they aren't enabled under linux. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3837 91177308-0d34-0410-b5e6-96231b3b80d8
* Native CC compiler has the same problem as CXX compiler.Chris Lattner2002-09-191-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3836 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't run llc tests on linux, they won't work.Chris Lattner2002-09-191-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3835 91177308-0d34-0410-b5e6-96231b3b80d8
* Workaround for bug in GCC 3.1.1 iostreams library on sparc. It apprarentlyChris Lattner2002-09-191-1/+1
| | | | | | | isn't flushing an ostream when it is deleted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3834 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor non-functionality changing changes.Chris Lattner2002-09-193-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3833 91177308-0d34-0410-b5e6-96231b3b80d8
* Reorder options to be sorted basically by how important they are.Chris Lattner2002-09-191-12/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3832 91177308-0d34-0410-b5e6-96231b3b80d8
* * Burg is no longer configured in Makefile.configChris Lattner2002-09-191-27/+26
| | | | | | | | | * CXX now is configured in Makefile.config (optionally) * The GCC command is now no longer bin/gcc, it's bin/llvm-gcc * Minor cleanups git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3831 91177308-0d34-0410-b5e6-96231b3b80d8
* Platform specific makefiles specify where to find the GCC frontend for theirChris Lattner2002-09-192-2/+12
| | | | | | | | architecture. The location of the GCC frontend may be overridden by the Makefile.config file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3830 91177308-0d34-0410-b5e6-96231b3b80d8
* * Move the burg option into Makefile.common, since it is no longer configurableChris Lattner2002-09-191-8/+6
| | | | | | | | * Makefile.config now should only specify the location of the gcc frontend if it is not in the place specified by the platform makefile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3829 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the burg option out of Makefile.config into Makefile.common sinceChris Lattner2002-09-192-8/+16
| | | | | | | it no longer needs to be configured. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3828 91177308-0d34-0410-b5e6-96231b3b80d8
* Point gccld to the correct library directory.Chris Lattner2002-09-191-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3827 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an optimization to support the most common access pattern for theChris Lattner2002-09-193-15/+66
| | | | | | | library. This speeds debug builds up significantly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3826 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch over to using the x86 version of the C frontend, by default.Chris Lattner2002-09-191-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3825 91177308-0d34-0410-b5e6-96231b3b80d8
* It turns out that the cannonical name for the llvm-gcc compiler is, wellChris Lattner2002-09-191-1/+1
| | | | | | | llvm-gcc, not gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3824 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid Solaris-specific defines.Vikram S. Adve2002-09-191-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3823 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase that breaks the CFE.Chris Lattner2002-09-191-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3821 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that we abort if an error happens as early as neccesary. BeforeChris Lattner2002-09-191-5/+27
| | | | | | | | it was possible for the passmanager to continue running passes after the verifier even if the module was not well formed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3820 91177308-0d34-0410-b5e6-96231b3b80d8
* Indent a comment right, add a new oneChris Lattner2002-09-191-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3819 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for passing in arbitrary flags to gmake (except -n and -hVikram S. Adve2002-09-191-5/+35
| | | | | | | which are interpreted by this script). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3818 91177308-0d34-0410-b5e6-96231b3b80d8