Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | It looks like physref->virtreg joining is working fine. Enable it by default | Chris Lattner | 2004-07-17 | 1 | -10/+19 | |
| | | | | | | but make virtreg->virtreg joining stay off by default llvm-svn: 14916 | |||||
* | Fix IA64 compatibility | Chris Lattner | 2004-07-16 | 2 | -2/+2 | |
| | | | | llvm-svn: 14866 | |||||
* | Use new macro | Chris Lattner | 2004-07-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 14865 | |||||
* | Fix for PR341 | Chris Lattner | 2004-07-15 | 1 | -2/+2 | |
| | | | | llvm-svn: 14845 | |||||
* | Add checks to ensure that there are no unreachable blocks in the function | Chris Lattner | 2004-07-09 | 1 | -0/+8 | |
| | | | | llvm-svn: 14725 | |||||
* | * Doxygenify comments | Misha Brukman | 2004-07-09 | 1 | -104/+96 | |
| | | | | | | | | | | | * Fix spacing, grammar in comment * Make code layout consistent * Wrap code at 80 cols * Delete spurious blank lines No functional changes. llvm-svn: 14721 | |||||
* | Fix typo. | Alkis Evlogimenos | 2004-07-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 14720 | |||||
* | Improve code comments. | Alkis Evlogimenos | 2004-07-09 | 1 | -5/+11 | |
| | | | | llvm-svn: 14719 | |||||
* | Add viewCFG() and viewCFGOnly() APIs. | Alkis Evlogimenos | 2004-07-08 | 1 | -1/+77 | |
| | | | | llvm-svn: 14679 | |||||
* | Disable coalescing. | Alkis Evlogimenos | 2004-07-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 14655 | |||||
* | Do not crash when joining two intervals of registers of different | Alkis Evlogimenos | 2004-07-06 | 1 | -1/+10 | |
| | | | | | | | classes: just ignore that move. Thanks to Vladimir Prus who found the bug! llvm-svn: 14644 | |||||
* | Fix a bug in the unreachable block elim pass. Dropping all references on a | Chris Lattner | 2004-07-06 | 1 | -4/+11 | |
| | | | | | | | | basic block clear()'s all of the operands lists, including phis. This caused removePredecessor to get confused later. Because of this, we just nuke (without prejudice) PHI nodes in unreachable blocks. llvm-svn: 14635 | |||||
* | Correctly compute the ration of iterations/#intervals. | Alkis Evlogimenos | 2004-07-04 | 1 | -2/+6 | |
| | | | | llvm-svn: 14626 | |||||
* | Add #include <iostream> since Value.h does not #include it any more. | Reid Spencer | 2004-07-04 | 11 | -0/+16 | |
| | | | | llvm-svn: 14622 | |||||
* | Add efficiency statistic. | Alkis Evlogimenos | 2004-07-04 | 1 | -1/+7 | |
| | | | | llvm-svn: 14590 | |||||
* | Revert patches 1.79 and 1.80 which had to do with dead MBB's. Now that they | Chris Lattner | 2004-07-02 | 1 | -6/+4 | |
| | | | | | | don't exist, we don't have to pretend to handle them. llvm-svn: 14567 | |||||
* | Add a trivially simple pass to delete unreachable blocks from the CFG. This | Chris Lattner | 2004-07-02 | 1 | -0/+68 | |
| | | | | | | | | | | | | | pass is required to paper over problems in the code generator (primarily live variables and its clients) which doesn't really have any well defined semantics for unreachable code. The proper solution to this problem is to have instruction selectors not select blocks that are unreachable. Until we have a instruction selection framework available for use, however, we can't expect all instruction selector writers to do this. Until then, this pass should be used. llvm-svn: 14563 | |||||
* | Make sure that we destroy the MBB's, with all of their instructions, before | Chris Lattner | 2004-07-01 | 1 | -0/+1 | |
| | | | | | | any other data structures llvm-svn: 14524 | |||||
* | Now that MachineFunction/MachineBasicBlock keep a mapping of blocks to ID #'s | Chris Lattner | 2004-07-01 | 2 | -21/+1 | |
| | | | | | | use them instead of a local LiveVariables numbering llvm-svn: 14523 | |||||
* | Change MBB autonumber a bit to get the reverse mapping as well as a forward | Chris Lattner | 2004-07-01 | 1 | -10/+6 | |
| | | | | | | mapping llvm-svn: 14521 | |||||
* | Instance var no longer exists | Chris Lattner | 2004-07-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 14520 | |||||
* | Start using MBB numbers directly instead of going through the live variables | Chris Lattner | 2004-07-01 | 3 | -4/+4 | |
| | | | | | | map. llvm-svn: 14518 | |||||
* | Instead of building a private numbering of MBB's use brg's nifty auto-numbering. | Chris Lattner | 2004-07-01 | 1 | -5/+5 | |
| | | | | | | Also convert df_iterator -> df_ext_iterator for subsequent stuff I'm doing. llvm-svn: 14517 | |||||
* | In line with the previous patch, do not assert out if analyzing a dead basic ↵ | Chris Lattner | 2004-06-29 | 1 | -1/+4 | |
| | | | | | | block. llvm-svn: 14475 | |||||
* | Do not dereference end iterators. It hurts when you do that. | Chris Lattner | 2004-06-29 | 1 | -3/+2 | |
| | | | | llvm-svn: 14474 | |||||
* | Do not find these ugly sparc-specific objects by using the annotation API on | Chris Lattner | 2004-06-27 | 1 | -21/+7 | |
| | | | | | | | | instructions. Instead, keep a map of instructions -> MCFI objects in the already sparc-specific class MachineFunctionInfo. This will slow down the sparc backend a bit, but it does not penalize the rest of LLVM! llvm-svn: 14438 | |||||
* | Made a fix so that you can print out MachineInstrs that belong to a ↵ | Tanya Lattner | 2004-06-25 | 6 | -19/+32 | |
| | | | | | | MachineBasicBlock that is not yet attached to a MachineFunction. This change includes changing the third operand (TargetMachine) to a pointer for the MachineInstr::print function. llvm-svn: 14389 | |||||
* | Convert tabs to spaces. | Misha Brukman | 2004-06-24 | 1 | -45/+44 | |
| | | | | llvm-svn: 14373 | |||||
* | Making an archive version of the CodeGen library is unnecessary if we just | Misha Brukman | 2004-06-22 | 1 | -1/+0 | |
| | | | | | | move InstructionLowering itself. llvm-svn: 14324 | |||||
* | Provide archive version of CodeGen library (for those tools that only need | Misha Brukman | 2004-06-22 | 1 | -0/+1 | |
| | | | | | | IntrinsicLowering, for instance). llvm-svn: 14323 | |||||
* | Rename Interval class to LiveInterval to avoid conflicting with the already | Chris Lattner | 2004-06-21 | 3 | -50/+54 | |
| | | | | | | | | | existing llvm::Interval class. Patch contributed by Vladimir Prus! http://mail.cs.uiuc.edu/pipermail/llvmbugs/2004-June/000710.html llvm-svn: 14281 | |||||
* | Move the IntrinsicLowering header into the CodeGen directory, as per PR346 | Chris Lattner | 2004-06-20 | 1 | -0/+214 | |
| | | | | llvm-svn: 14266 | |||||
* | Make debugging dumps w/ multiple MachineBBs for a given LLVM BB readable. | Brian Gaeke | 2004-06-17 | 2 | -5/+6 | |
| | | | | llvm-svn: 14205 | |||||
* | Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID() | Chris Lattner | 2004-06-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 14201 | |||||
* | Fix a recent regression in Applications/sgefa that Alkis pointed out to me. | Chris Lattner | 2004-06-16 | 1 | -2/+2 | |
| | | | | | | | | The vector may actually be empty if the register that we are marking as recently used is not actually allocatable. This happens for physical registers that are not allocatable, like the ST(x) registers on X86. llvm-svn: 14195 | |||||
* | Fix fallout from getOffsetOfLocalArea() being negated. Debugging dumps were ↵ | Chris Lattner | 2004-06-11 | 2 | -3/+3 | |
| | | | | | | | | | being printed incorrectly, and we were reserving 8 extra bytes of stack space for functions on X86. llvm-svn: 14152 | |||||
* | Fix the prolog epilog code inserter to match the documentation and support | Chris Lattner | 2004-06-10 | 1 | -9/+33 | |
| | | | | | | | | targets whose stack grows up. Patch contributed by Vladimir Prus llvm-svn: 14111 | |||||
* | Oops, this was not to go in | Chris Lattner | 2004-06-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 13958 | |||||
* | Adjust to the new TargetMachine interface | Chris Lattner | 2004-06-02 | 2 | -16/+16 | |
| | | | | llvm-svn: 13957 | |||||
* | Adjust to new TargetMachine interface | Chris Lattner | 2004-06-02 | 11 | -19/+18 | |
| | | | | llvm-svn: 13956 | |||||
* | Inline findOptimalStorageSize into it's caller, both of which are sparc specific | Chris Lattner | 2004-06-02 | 1 | -12/+18 | |
| | | | | llvm-svn: 13955 | |||||
* | Finegrainify namespacification | Chris Lattner | 2004-06-02 | 2 | -6/+3 | |
| | | | | llvm-svn: 13948 | |||||
* | Fix a trivial but blatant bug | Chris Lattner | 2004-06-02 | 1 | -4/+4 | |
| | | | | llvm-svn: 13947 | |||||
* | Pull Interval class out of LiveIntervals. | Alkis Evlogimenos | 2004-05-30 | 3 | -80/+67 | |
| | | | | llvm-svn: 13910 | |||||
* | When spilling an register, introduce a new temporary for each of its | Alkis Evlogimenos | 2004-05-30 | 3 | -57/+84 | |
| | | | | | | | spills. This allows for more flexibility when allocating registers for spill code. llvm-svn: 13907 | |||||
* | Fix typo in head-of-file comment. | Brian Gaeke | 2004-05-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 13903 | |||||
* | Add method to assign stack slot to virtual register without creating a | Alkis Evlogimenos | 2004-05-29 | 2 | -0/+9 | |
| | | | | | | new one. llvm-svn: 13895 | |||||
* | Add grow() member that grows the maps when the number of virtual | Alkis Evlogimenos | 2004-05-29 | 1 | -2/+6 | |
| | | | | | | registers in the function has changed. llvm-svn: 13893 | |||||
* | Remove defs vector from live intervals. | Alkis Evlogimenos | 2004-05-29 | 2 | -20/+0 | |
| | | | | llvm-svn: 13892 | |||||
* | updates to ModuloSched | Tanya Lattner | 2004-05-28 | 2 | -10/+91 | |
| | | | | llvm-svn: 13881 |