summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* We no longer care whether something is an opt vs analysis pass, only whetherChris Lattner2006-08-27
| | | | | | | something is a pass vs an analysis group now. Simplify interfaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29920 91177308-0d34-0410-b5e6-96231b3b80d8
* analyze no longer exists, don't offer to run it :)Chris Lattner2006-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29919 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a dead class.Chris Lattner2006-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29918 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor code cleanupsChris Lattner2006-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29917 91177308-0d34-0410-b5e6-96231b3b80d8
* eliminate only use of FilteredPassNameParserChris Lattner2006-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29916 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge the 'analyze' mode code with the 'opt' mode code. Eliminate theChris Lattner2006-08-27
| | | | | | | 'autodetect .ll files' functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29915 91177308-0d34-0410-b5e6-96231b3b80d8
* Move this test from Codegen/PowerPC to CodeGen/Generic. It fails on ia64,Chris Lattner2006-08-27
| | | | | | | but that's not the ppc backend's fault. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29914 91177308-0d34-0410-b5e6-96231b3b80d8
* Use compiler.h instead of hand rolling our own macroChris Lattner2006-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29913 91177308-0d34-0410-b5e6-96231b3b80d8
* add directive to disable inliningChris Lattner2006-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29912 91177308-0d34-0410-b5e6-96231b3b80d8
* s|llvm/Support/Visibility.h|llvm/Support/Compiler.h|Chris Lattner2006-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29911 91177308-0d34-0410-b5e6-96231b3b80d8
* typo fixChris Lattner2006-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29910 91177308-0d34-0410-b5e6-96231b3b80d8
* Add external definitions for commonly-used template specializations and addChris Lattner2006-08-27
| | | | | | | | | anchor methods to others. This eliminates the vtable/template method bloat in .o files that defining a cl::opt used to impose (~4K per .o file for one cp::opt<unsigned>). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29909 91177308-0d34-0410-b5e6-96231b3b80d8
* New place to put compiler-specific functionality. This replaces Visibility.h,Chris Lattner2006-08-27
| | | | | | | | and provides macros that can be used to make explicit instantiations of template specializations, which is a gcc-specific feature. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29908 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not use getTargetNode() and SelectNodeTo() which takes more than 3Evan Cheng2006-08-27
| | | | | | | SDOperand arguments. Use the variants which take an array and number instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29907 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not emit getTargetNode() and SelectNodeTo() which takes more than 3Evan Cheng2006-08-27
| | | | | | | SDOperand arguments. Use the variants which take an array and number instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29906 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate SelectNodeTo() and getTargetNode() variants which take more thanEvan Cheng2006-08-27
| | | | | | | | 3 SDOperand operands. They are replaced by versions which take an array of SDOperand and the number of operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29905 91177308-0d34-0410-b5e6-96231b3b80d8
* make optional pointer really optionalChris Lattner2006-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29904 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix target matching weights, so that ppc-darwin modules are codegen with theChris Lattner2006-08-26
| | | | | | | | ppc target, not the itanium target, when run on an itanium machine. This should fix the CodeGen/PowerPC regtest failures on itanium. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29903 91177308-0d34-0410-b5e6-96231b3b80d8
* Properly size the string table, and emit symbol table and string tableNate Begeman2006-08-26
| | | | | | | entries in the correct order, fixing several fixmes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29902 91177308-0d34-0410-b5e6-96231b3b80d8
* SelectNodeTo now returns a SDNode*.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29901 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor getCopyToReg() call change.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29900 91177308-0d34-0410-b5e6-96231b3b80d8
* Improved codegen due to Chris' live interval joining changes.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29899 91177308-0d34-0410-b5e6-96231b3b80d8
* Select() no longer require Result operand by reference.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29898 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead code.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29897 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplifications to liveinterval analysis, no functionality change.Chris Lattner2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29896 91177308-0d34-0410-b5e6-96231b3b80d8
* Match tblgen changes.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29895 91177308-0d34-0410-b5e6-96231b3b80d8
* Match tblgen changes; clean up.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29894 91177308-0d34-0410-b5e6-96231b3b80d8
* A bit more clean up.Evan Cheng2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29893 91177308-0d34-0410-b5e6-96231b3b80d8
* - Clean up tablegen dag isel generator code.Evan Cheng2006-08-26
| | | | | | | | | | | | | | - Clean up the code generated by tablegen: * AddToISelQueue now takes one argument. * ComplexPattern matching condition can now be shared. * Eliminate passing unnecessary arguments to emit routines. * Eliminate some unneeded SDOperand declarations in select routines. * Other minor clean ups. - This reduces foot print slightly: X86ISelDAGToDAG.o is reduced from 971k to 823k. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29892 91177308-0d34-0410-b5e6-96231b3b80d8
* Give a good error message when we try to jit inline asm.Chris Lattner2006-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29891 91177308-0d34-0410-b5e6-96231b3b80d8
* Completely change the way that joining with physregs is implemented. ThisChris Lattner2006-08-25
| | | | | | | | | paves the way for future changes, increases coallescing opportunities (in theory, not witnessed in practice), and eliminates the really expensive LiveIntervals::overlapsAliases method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29890 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a comment.Evan Cheng2006-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29889 91177308-0d34-0410-b5e6-96231b3b80d8
* Tidy up.Jim Laskey2006-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29888 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a crash related to updating Phi nodes in the original header block. ↵Owen Anderson2006-08-25
| | | | | | | | | This was causing a crash in 175.vpr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29887 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an assertion to check that we're really preserving LCSSA.Owen Anderson2006-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29886 91177308-0d34-0410-b5e6-96231b3b80d8
* Encode pc-relative conditional branch offset as pc+(num of bytes / 4). TheEvan Cheng2006-08-25
| | | | | | | | | | asm printer will print it as offset*4. e.g. bne cr0, $+8. The PPC code emitter was expecting the offset to be number of instructions, not number of bytes. This fixes a whole bunch of JIT failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29885 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR797:Reid Spencer2006-08-25
| | | | | | | | Make the Win32 code exception free (untested/uncompiled) which forced some interface changes which had ripple effect. This should be the last of 797. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29884 91177308-0d34-0410-b5e6-96231b3b80d8
* Doh! Commit the change that turns ON -fno-exceptions.Reid Spencer2006-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29883 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR797:Reid Spencer2006-08-25
| | | | | | | | | | | | | | | | Final commit for this bug. This removes the last EH holdouts in LLVM and turns off exception support by using the -fno-exceptions option. This leads to the following reduction in library and executable sizes: DEBUG BUILD RELEASE BUILD before after delta before after delta lib 162,328K 157,616K 4,712 17,864K 16,416K 1,448K bin 571,444K 557,156K 14,288 63,296K 56,996K 6,300K Debug Improvement: 19,000K (2.59%) Release Improvement: 7,748K (9.55%) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29882 91177308-0d34-0410-b5e6-96231b3b80d8
* Consolidate callee saved register information so that it can me used by debugJim Laskey2006-08-25
| | | | | | | information and exception handling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29881 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some comments.Jim Laskey2006-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29880 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow for register numbers > 31.Jim Laskey2006-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29879 91177308-0d34-0410-b5e6-96231b3b80d8
* test case for varargs functionsRafael Espindola2006-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29877 91177308-0d34-0410-b5e6-96231b3b80d8
* use @ for commentsRafael Espindola2006-08-25
| | | | | | | | store LR in an arbitrary stack slot add support for writing varargs functions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29876 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR797:Reid Spencer2006-08-25
| | | | | | | | Remove exception throwing/handling from lib/Bytecode, and adjust its users to compensate for changes in the interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29875 91177308-0d34-0410-b5e6-96231b3b80d8
* Reapply the indvars patch, since nothing blew up last night.Owen Anderson2006-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29874 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a race condition in the makefile that broke grawp's tester last night.Chris Lattner2006-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29873 91177308-0d34-0410-b5e6-96231b3b80d8
* Bring Xcode project up to date.Jim Laskey2006-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29872 91177308-0d34-0410-b5e6-96231b3b80d8
* Get closer to handling globals correctly. We now generally get them in theNate Begeman2006-08-25
| | | | | | | right section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29871 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug introduced by a change in the Archive::writeToDisk interface.Reid Spencer2006-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29870 91177308-0d34-0410-b5e6-96231b3b80d8