Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Calling InvalidateEntry during the refinement was breaking the bootstrap. | Bill Wendling | 2009-12-05 | 1 | -2/+12 |
| | | | | llvm-svn: 90656 | ||||
* | Final cleanups: | Bill Wendling | 2009-12-05 | 1 | -14/+2 |
| | | | | | | | - Privatize a typedef. - Call the InvalidateEntry when refining a type. llvm-svn: 90655 | ||||
* | Temporarily revert r90502. It was causing the llvm-gcc bootstrap on PPC to fail. | Bill Wendling | 2009-12-05 | 2 | -95/+51 |
| | | | | llvm-svn: 90653 | ||||
* | Fix indentation in switch statement. | Nick Lewycky | 2009-12-05 | 1 | -15/+16 |
| | | | | llvm-svn: 90650 | ||||
* | Generalize this optimization to work on equality comparisons between any two | Nick Lewycky | 2009-12-05 | 1 | -16/+27 |
| | | | | | | integers that are constant except for a single bit (the same n-th bit in each). llvm-svn: 90646 | ||||
* | Don't print a space before the : between the file name and line number. | Dan Gohman | 2009-12-05 | 1 | -2/+2 |
| | | | | | | And separate the directory and file name with a '/'. llvm-svn: 90641 | ||||
* | Inline methods which are called only once. | Bill Wendling | 2009-12-05 | 1 | -15/+3 |
| | | | | llvm-svn: 90640 | ||||
* | Refactor some code. No functionality change. | Bill Wendling | 2009-12-05 | 1 | -9/+13 |
| | | | | llvm-svn: 90639 | ||||
* | Print newlines after printing labels for debug info, so that the output | Dan Gohman | 2009-12-05 | 2 | -0/+2 |
| | | | | | | isn't cluttered with things like "Llabel47:Llabel48: movq (%rsi), %xmm3" llvm-svn: 90638 | ||||
* | Don't blindly set the debug location for PHI node copies. | Dan Gohman | 2009-12-05 | 1 | -3/+3 |
| | | | | llvm-svn: 90637 | ||||
* | Make TargetSelectInstruction protected and called from FastISel.cpp | Dan Gohman | 2009-12-05 | 2 | -7/+9 |
| | | | | | | instead of SelectionDAGISel.cpp. llvm-svn: 90636 | ||||
* | Remove the target hook TargetInstrInfo::BlockHasNoFallThrough in favor of | Dan Gohman | 2009-12-05 | 25 | -203/+1 |
| | | | | | | | MachineBasicBlock::canFallThrough(), which is target-independent and more thorough. llvm-svn: 90634 | ||||
* | Simplify this code: don't call AnalyzeBranch before doing simpler checks. | Dan Gohman | 2009-12-05 | 1 | -13/+13 |
| | | | | llvm-svn: 90633 | ||||
* | The debug information for an LLVM Instruction applies to that Instruction | Dan Gohman | 2009-12-05 | 1 | -33/+57 |
| | | | | | | | and that Instruction only. Implement this by setting the "current debug position" back to Unknown after processing each instruction. llvm-svn: 90632 | ||||
* | Fix this code to use DIScope instead of DICompileUnit, as in r90181. | Dan Gohman | 2009-12-05 | 1 | -8/+9 |
| | | | | | | | Don't print "SrcLine"; just print the filename and line number, which is obvious enough and more informative. llvm-svn: 90631 | ||||
* | Don't print the debug directory; it's often long and uninteresting. Omit | Dan Gohman | 2009-12-05 | 1 | -2/+7 |
| | | | | | | | the column number if it is not known. Handle the case of a missing filename better. llvm-svn: 90630 | ||||
* | Remove an unneeded include. | David Greene | 2009-12-04 | 1 | -1/+0 |
| | | | | llvm-svn: 90625 | ||||
* | Print a space between the comment character and the text. | Dan Gohman | 2009-12-04 | 1 | -4/+6 |
| | | | | llvm-svn: 90621 | ||||
* | In TAG_subrange_type, uppder bound is zero indexed. | Devang Patel | 2009-12-04 | 1 | -2/+1 |
| | | | | llvm-svn: 90617 | ||||
* | Use new interfaces to print spill size. | David Greene | 2009-12-04 | 1 | -6/+9 |
| | | | | llvm-svn: 90611 | ||||
* | Have hasLoad/StoreFrom/ToStackSlot return the relevant MachineMemOperand. | David Greene | 2009-12-04 | 2 | -9/+21 |
| | | | | llvm-svn: 90608 | ||||
* | Fix up some comments. | Bob Wilson | 2009-12-04 | 1 | -12/+5 |
| | | | | llvm-svn: 90603 | ||||
* | Fix 80-column violations. | Bob Wilson | 2009-12-04 | 1 | -4/+5 |
| | | | | llvm-svn: 90601 | ||||
* | Some code cleanup. No functionality change. | Bill Wendling | 2009-12-04 | 1 | -15/+10 |
| | | | | llvm-svn: 90588 | ||||
* | Avoid creating a metadata slot for all metadata that contains an instruction | Victor Hernandez | 2009-12-04 | 1 | -6/+6 |
| | | | | llvm-svn: 90581 | ||||
* | Handle recursive PHI's. | Evan Cheng | 2009-12-04 | 1 | -18/+18 |
| | | | | llvm-svn: 90575 | ||||
* | Fix crasher when N->getElement(n) is NULL | Victor Hernandez | 2009-12-04 | 1 | -1/+1 |
| | | | | llvm-svn: 90572 | ||||
* | Add a pre-regalloc tail duplication pass. | Evan Cheng | 2009-12-04 | 2 | -99/+226 |
| | | | | llvm-svn: 90567 | ||||
* | Don't try to be cute with undef optimization here. Let ProcessImplicitDefs ↵ | Evan Cheng | 2009-12-04 | 1 | -27/+17 |
| | | | | | | handle it. llvm-svn: 90566 | ||||
* | Add note about a subtle bug in this code. Does not effect the main | Duncan Sands | 2009-12-04 | 1 | -0/+6 |
| | | | | | | architectures that LLVM targets, because they don't use this code. llvm-svn: 90564 | ||||
* | Fix typo and add missing include. | Daniel Dunbar | 2009-12-04 | 1 | -1/+2 |
| | | | | llvm-svn: 90557 | ||||
* | Added debug output for inherited passes that are invalidated. | Andreas Neustifter | 2009-12-04 | 1 | -1/+7 |
| | | | | llvm-svn: 90553 | ||||
* | Fix PR5551 by not ignoring the top level constantexpr when | Chris Lattner | 2009-12-04 | 1 | -1/+1 |
| | | | | | | folding a load from constant. llvm-svn: 90545 | ||||
* | add to cmake | Chris Lattner | 2009-12-04 | 1 | -0/+1 |
| | | | | llvm-svn: 90539 | ||||
* | add the start of a class used to handle phi translation in memdep and | Chris Lattner | 2009-12-04 | 1 | -0/+71 |
| | | | | | | | gvn (this is just a skeleton so far). This will ultimately be used to fix a nasty miscompilation with GVN. llvm-svn: 90518 | ||||
* | Teach AsmWriter to write inline (not via a global metadata slot) metadata ↵ | Victor Hernandez | 2009-12-04 | 1 | -1/+25 |
| | | | | | | that contains an instruction llvm-svn: 90512 | ||||
* | Fix a comment typo. | Bob Wilson | 2009-12-04 | 1 | -1/+1 |
| | | | | llvm-svn: 90511 | ||||
* | add an assert to make it really clear what this is doing. Return singularval as | Chris Lattner | 2009-12-04 | 1 | -1/+5 |
| | | | | | | a compile time perf optimization to avoid a load. llvm-svn: 90507 | ||||
* | Also attempt trivial coalescing for live intervals that end in a copy. | Jakob Stoklund Olesen | 2009-12-04 | 2 | -51/+95 |
| | | | | | | | | | | | | | The coalescer is supposed to clean these up, but when setting up parameters for a function call, there may be copies to physregs. If the defining instruction has been LICM'ed far away, the coalescer won't touch it. The register allocation hint does not always work - when the register allocator is backtracking, it clears the hints. This patch takes care of a few more cases that r90163 missed. llvm-svn: 90502 | ||||
* | - If the reaching definition is an undef and the use is a PHI, add the ↵ | Evan Cheng | 2009-12-04 | 1 | -11/+15 |
| | | | | | | | | implicit_def to the end of the source block. - When reaching value is replaced with another, update the cache as well. llvm-svn: 90501 | ||||
* | Insert composite type DIE into the map before processing type fields. This ↵ | Devang Patel | 2009-12-03 | 1 | -1/+1 |
| | | | | | | allows fields to find their context DIE from the map. llvm-svn: 90498 | ||||
* | Add ParseInlineMetadata() which can parses metadata that refers to an ↵ | Victor Hernandez | 2009-12-03 | 2 | -8/+49 |
| | | | | | | instruction. Extend ParseParameterList() to use this new function so that calls to llvm.dbg.declare can pass inline metadata llvm-svn: 90497 | ||||
* | remove out of date FIXME. | Jim Grosbach | 2009-12-03 | 1 | -1/+0 |
| | | | | llvm-svn: 90490 | ||||
* | Handle undef values properly. | Evan Cheng | 2009-12-03 | 1 | -15/+38 |
| | | | | llvm-svn: 90489 | ||||
* | Watch out for PHI instruction with no source operands. | Evan Cheng | 2009-12-03 | 1 | -0/+2 |
| | | | | llvm-svn: 90488 | ||||
* | Fix a comment typo. | Bob Wilson | 2009-12-03 | 1 | -1/+1 |
| | | | | llvm-svn: 90487 | ||||
* | Fix ExpandShiftWithUnknownAmountBit, which was completely bogus. | Duncan Sands | 2009-12-03 | 1 | -37/+38 |
| | | | | | | | | | | | | Pointed out by Javier Martinez (who also provided a patch). Since this logic is not used on (for example) x86, I guess nobody noticed. Tested by generating SHL, SRL, SRA on various choices of i64 for all possible shift amounts, and comparing with gcc. Since I did this on x86-32, I had to force the use of ExpandShiftWithUnknownAmountBit. What I'm saying here is that I don't have a testcase I can add to the repository. llvm-svn: 90482 | ||||
* | Clean up some loop logic. | Jakob Stoklund Olesen | 2009-12-03 | 1 | -14/+6 |
| | | | | llvm-svn: 90481 | ||||
* | Add support to emit debug info for virtual functions and virtual base classes. | Devang Patel | 2009-12-03 | 3 | -8/+46 |
| | | | | llvm-svn: 90474 | ||||
* | Print a newline after the Args: line so that unrelated errs() output doesn't | Dan Gohman | 2009-12-03 | 1 | -1/+2 |
| | | | | | | end up on the same line. llvm-svn: 90473 |