summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* We no longer care whether something is an opt vs analysis pass, only whetherChris Lattner2006-08-271-3/+3
| | | | | | something is a pass vs an analysis group now. Simplify interfaces. llvm-svn: 29920
* Minor code cleanupsChris Lattner2006-08-271-11/+10
| | | | llvm-svn: 29917
* s|llvm/Support/Visibility.h|llvm/Support/Compiler.h|Chris Lattner2006-08-2743-43/+43
| | | | llvm-svn: 29911
* typo fixChris Lattner2006-08-271-3/+4
| | | | llvm-svn: 29910
* Add external definitions for commonly-used template specializations and addChris Lattner2006-08-271-7/+28
| | | | | | | | 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>). llvm-svn: 29909
* Do not use getTargetNode() and SelectNodeTo() which takes more than 3Evan Cheng2006-08-274-66/+77
| | | | | | SDOperand arguments. Use the variants which take an array and number instead. llvm-svn: 29907
* Eliminate SelectNodeTo() and getTargetNode() variants which take more thanEvan Cheng2006-08-271-254/+12
| | | | | | | 3 SDOperand operands. They are replaced by versions which take an array of SDOperand and the number of operands. llvm-svn: 29905
* Fix target matching weights, so that ppc-darwin modules are codegen with theChris Lattner2006-08-262-13/+7
| | | | | | | ppc target, not the itanium target, when run on an itanium machine. This should fix the CodeGen/PowerPC regtest failures on itanium. llvm-svn: 29903
* Properly size the string table, and emit symbol table and string tableNate Begeman2006-08-261-59/+81
| | | | | | entries in the correct order, fixing several fixmes. llvm-svn: 29902
* SelectNodeTo now returns a SDNode*.Evan Cheng2006-08-266-112/+112
| | | | llvm-svn: 29901
* Select() no longer require Result operand by reference.Evan Cheng2006-08-266-82/+68
| | | | llvm-svn: 29898
* Simplifications to liveinterval analysis, no functionality change.Chris Lattner2006-08-262-37/+36
| | | | llvm-svn: 29896
* Match tblgen changes.Evan Cheng2006-08-264-112/+143
| | | | llvm-svn: 29895
* Match tblgen changes; clean up.Evan Cheng2006-08-261-79/+34
| | | | llvm-svn: 29894
* Give a good error message when we try to jit inline asm.Chris Lattner2006-08-261-0/+3
| | | | llvm-svn: 29891
* Completely change the way that joining with physregs is implemented. ThisChris Lattner2006-08-252-35/+72
| | | | | | | | paves the way for future changes, increases coallescing opportunities (in theory, not witnessed in practice), and eliminates the really expensive LiveIntervals::overlapsAliases method. llvm-svn: 29890
* Add a comment.Evan Cheng2006-08-251-0/+1
| | | | llvm-svn: 29889
* Tidy up.Jim Laskey2006-08-251-2/+4
| | | | llvm-svn: 29888
* Fix a crash related to updating Phi nodes in the original header block. ↵Owen Anderson2006-08-251-1/+2
| | | | | | | | This was causing a crash in 175.vpr llvm-svn: 29887
* Add an assertion to check that we're really preserving LCSSA.Owen Anderson2006-08-251-0/+2
| | | | llvm-svn: 29886
* Encode pc-relative conditional branch offset as pc+(num of bytes / 4). TheEvan Cheng2006-08-252-2/+2
| | | | | | | | | 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. llvm-svn: 29885
* For PR797:Reid Spencer2006-08-259-76/+67
| | | | | | | Make the Win32 code exception free (untested/uncompiled) which forced some interface changes which had ripple effect. This should be the last of 797. llvm-svn: 29884
* For PR797:Reid Spencer2006-08-256-33/+27
| | | | | | | | | | | | | | | 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%) llvm-svn: 29882
* Consolidate callee saved register information so that it can me used by debugJim Laskey2006-08-251-20/+21
| | | | | | information and exception handling. llvm-svn: 29881
* Fix some comments.Jim Laskey2006-08-251-1/+4
| | | | llvm-svn: 29880
* Allow for register numbers > 31.Jim Laskey2006-08-251-4/+14
| | | | llvm-svn: 29879
* use @ for commentsRafael Espindola2006-08-253-14/+61
| | | | | | | store LR in an arbitrary stack slot add support for writing varargs functions llvm-svn: 29876
* For PR797:Reid Spencer2006-08-254-118/+144
| | | | | | | Remove exception throwing/handling from lib/Bytecode, and adjust its users to compensate for changes in the interface. llvm-svn: 29875
* Reapply the indvars patch, since nothing blew up last night.Owen Anderson2006-08-251-0/+1
| | | | llvm-svn: 29874
* Get closer to handling globals correctly. We now generally get them in theNate Begeman2006-08-251-5/+70
| | | | | | right section. llvm-svn: 29871
* Revert my previous patch. Since there are some major changes that went in ↵Owen Anderson2006-08-251-3/+0
| | | | | | | | | today, I'm going to wait to put this in HEAD until tomorrow, so as not to clutter the nightly tester. llvm-svn: 29868
* Specify that indvars actually preserve LCSSA. This has been done for a ↵Owen Anderson2006-08-251-0/+3
| | | | | | | | while, but I forgot to put in the analysis usage. llvm-svn: 29867
* For PR797:Reid Spencer2006-08-243-57/+65
| | | | | | | Remove exception handling from the bytecode archiver and adjust the llvm-ar tool to accommodate the new interfaces. llvm-svn: 29866
* When replacing value numbers, make sure to compactify the value # space.Chris Lattner2006-08-241-0/+12
| | | | llvm-svn: 29865
* We compile this into:Chris Lattner2006-08-241-18/+0
| | | | | | | | | | | | _swap_16: slwi r2, r3, 24 rlwimi r2, r3, 8, 8, 15 srwi r3, r2, 16 blr now. llvm-svn: 29864
* Owen implemented this.Chris Lattner2006-08-241-11/+0
| | | | llvm-svn: 29863
* Take advantage of the recent improvements to the liveintervals set (trackingChris Lattner2006-08-243-221/+330
| | | | | | | | | | | | | | | | | | | instructions which define each value#) to simplify and improve the coallescer. In particular, this patch: 1. Implements iterative coallescing. 2. Reverts an unsafe hack from handlePhysRegDef, superceeding it with a better solution. 3. Implements PR865, "coallescing" away the second copy in code like: A = B ... B = A This also includes changes to symbolically print registers in intervals when possible. llvm-svn: 29862
* Remove a character to avoid line exceeding 80 cols.Reid Spencer2006-08-241-1/+1
| | | | llvm-svn: 29860
* Implement unrolling of multiblock loops. This significantly improves theOwen Anderson2006-08-241-127/+125
| | | | | | | | utility of the LoopUnroll pass. Also, add a testcase for multiblock-loop unrolling. llvm-svn: 29859
* For PR797:Reid Spencer2006-08-241-42/+37
| | | | | | | Adjust implementation to match the new interface after exception handling was removed in the Unix verison. NOTE: this hasn't been compiled yet! llvm-svn: 29858
* add the "eq" condition codeRafael Espindola2006-08-243-8/+13
| | | | | | implement a movcond instruction llvm-svn: 29857
* create a generic bcond instruction that has a conditional code argumentRafael Espindola2006-08-244-8/+34
| | | | llvm-svn: 29856
* initial support for branchesRafael Espindola2006-08-243-3/+30
| | | | llvm-svn: 29854
* Initial checkin of the Mach-O emitter. There's plenty of fixmes, but itNate Begeman2006-08-236-44/+518
| | | | | | does emit linkable .o files in very simple cases. llvm-svn: 29850
* For PR797:Reid Spencer2006-08-231-1/+0
| | | | | | | This library no longer throws nor handles exceptions, so turn off the REQUIRES_EH flag. llvm-svn: 29849
* For PR797:Reid Spencer2006-08-231-83/+75
| | | | | | | Final remove of exception handling from this file. lib/System can no longer throw exceptions so there's no need for try/catch blocks here. llvm-svn: 29848
* Turn off exception handling for this library. It no longer throws norReid Spencer2006-08-231-1/+0
| | | | | | handles exceptions. llvm-svn: 29847
* For PR797:Reid Spencer2006-08-233-109/+63
| | | | | | | Final removal of exceptions from lib/System and adjustment of users to accommodate. llvm-svn: 29846
* For PR797:Reid Spencer2006-08-235-43/+34
| | | | | | | Eliminate exception throwing from Path::renamePathOnDisk and adjust its users correspondingly. llvm-svn: 29843
* Make the ProgramName variable a std::string so we can eliminate the pathReid Spencer2006-08-231-26/+14
| | | | | | | | | | | | | | portion fo the program name via sys::Path().getLast(). This makes error messages more readable since this is invariably used only in error messages. Instead of: /path/to/llvm/bin/directory/toolname: error message we will now get: toolname: error message Also, since we always have a program name (even if its defaulted), don't check to see if it is set or not when generating error messages. This eliminates a bunch of constant strings, saving a little under 1K of data. llvm-svn: 29842
OpenPOWER on IntegriCloud