| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Implement ComputeLatency for MachineInstr ScheduleDAGs. Factor | Dan Gohman | 2008-11-21 | 2 | -8/+19 |
| | | | | | | | | | some of the latency computation logic out of the SDNode ScheduleDAG code into a TargetInstrItineraries helper method to help with this. llvm-svn: 59761 | ||||
| * | Add UADDO and SADDO nodes. These will be used for determining an overflow | Bill Wendling | 2008-11-21 | 1 | -0/+2 |
| | | | | | | | condition in an addition operation. llvm-svn: 59760 | ||||
| * | Change these schedulers to not emit no-ops. It turns out that | Dan Gohman | 2008-11-21 | 2 | -9/+3 |
| | | | | | | | | | | the RR scheduler actually does look at latency values, but it doesn't use a hazard recognizer so it has no way to know when a no-op is needed, as opposed to just stalling and incrementing the cycle count. llvm-svn: 59759 | ||||
| * | Fix error where it wasn't getting the correct caller function. | Bill Wendling | 2008-11-21 | 1 | -1/+2 |
| | | | | | llvm-svn: 59758 | ||||
| * | If the function being inlined has a higher stack protection level than the | Bill Wendling | 2008-11-21 | 1 | -0/+9 |
| | | | | | | | | inlining function, then increase the stack protection level on the inlining function. llvm-svn: 59757 | ||||
| * | Treat mid-block labels the same as terminators when building the | Dan Gohman | 2008-11-20 | 1 | -1/+1 |
| | | | | | | | | | | | MachineInstr scheduling DAG, meaning they implicitly depend on all preceding defs. This fixes Benchmarks/Shootout-C++/except and Regression/C++/EH/simple_rethrow in -relocation-model=pic -disable-post-RA-scheduler=false mode. llvm-svn: 59747 | ||||
| * | Add another machine-code printing pass when post-pass scheduling is run. | Dan Gohman | 2008-11-20 | 1 | -1/+5 |
| | | | | | llvm-svn: 59746 | ||||
| * | Don't forget arguments! | Devang Patel | 2008-11-20 | 1 | -1/+6 |
| | | | | | llvm-svn: 59745 | ||||
| * | CellSPU: | Scott Michel | 2008-11-20 | 2 | -6/+5 |
| | | | | | | | | | (a) Remove moved file (SPUAsmPrinter.cpp) to make svn happy. (b) Remove truncated stores that will never be used. (c) Add initial support for __muldi3 as a libcall. llvm-svn: 59734 | ||||
| * | Add some documentation. | Duncan Sands | 2008-11-20 | 1 | -1/+28 |
| | | | | | llvm-svn: 59727 | ||||
| * | Allow XMM2 and XMM3 to be used for non ABI compliant code. | Mon P Wang | 2008-11-20 | 1 | -3/+4 |
| | | | | | llvm-svn: 59720 | ||||
| * | 80-column violation. | Bill Wendling | 2008-11-20 | 1 | -2/+4 |
| | | | | | llvm-svn: 59718 | ||||
| * | CellSPU: Custom lower truncating stores of i8 to i1 (should not have been | Scott Michel | 2008-11-20 | 2 | -3/+4 |
| | | | | | | | promote), fix signed conversion of indexed offsets. llvm-svn: 59707 | ||||
| * | undef beats zero. Fix this missed optimization opportunity. Patch by Matt Elder! | Nick Lewycky | 2008-11-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 59705 | ||||
| * | CellSPU: Adjust spacing/tabulation | Scott Michel | 2008-11-20 | 1 | -8/+8 |
| | | | | | llvm-svn: 59703 | ||||
| * | Remove a remnant of list-burr's fast mode. | Dan Gohman | 2008-11-20 | 1 | -20/+0 |
| | | | | | llvm-svn: 59702 | ||||
| * | Factor out the SethiUllman numbering logic from the list-burr and | Dan Gohman | 2008-11-20 | 1 | -159/+47 |
| | | | | | | | list-tdrr schedulers into a common base class. llvm-svn: 59701 | ||||
| * | Remove the "fast" form of the list-burr scheduler, and use the | Dan Gohman | 2008-11-20 | 2 | -74/+15 |
| | | | | | | | | | | dedicated "fast" scheduler in -fast mode instead, which is faster. This speeds up llc -fast by a few percent on some testcases -- the speedup only happens for code not handled by fast-isel. llvm-svn: 59700 | ||||
| * | Facter AddPseudoTwoAddrDeps and associated infrasructure out of | Dan Gohman | 2008-11-20 | 1 | -43/+60 |
| | | | | | | | | the list-burr scheduler so that it can be used by the list-tdrr scheduler too. llvm-svn: 59698 | ||||
| * | - Register scavenger should use MachineRegisterInfo and internal map to find ↵ | Evan Cheng | 2008-11-20 | 1 | -32/+62 |
| | | | | | | | | | | the first use of a register after a given machine instruction. - When scavenging a register, in addition to the spill, insert a restore before the first use. - Abort if client is looking to scavenge a register even when a previously scavenged register is still live. llvm-svn: 59697 | ||||
| * | Fix a thinko. MO is getOperand(i-1) so we don't have to adjust e. | Evan Cheng | 2008-11-20 | 1 | -3/+1 |
| | | | | | llvm-svn: 59696 | ||||
| * | Add #include <climits> to get the definition of INT_MAX. | Dan Gohman | 2008-11-20 | 1 | -0/+1 |
| | | | | | llvm-svn: 59692 | ||||
| * | Factor out the code for verifying the work of the scheduler, | Dan Gohman | 2008-11-20 | 4 | -87/+58 |
| | | | | | | | | extend it a bit, and make use of it in all schedulers, to ensure consistent checking. llvm-svn: 59689 | ||||
| * | Do not forget llvm.dbg.declare's first argument while removing debugging ↵ | Devang Patel | 2008-11-20 | 1 | -4/+12 |
| | | | | | | | information. llvm-svn: 59688 | ||||
| * | Simplify this code a little. In the fast scheduler, CreateNewSUnit | Dan Gohman | 2008-11-19 | 1 | -17/+5 |
| | | | | | | | and CreateClone don't add any extra value. llvm-svn: 59679 | ||||
| * | Eliminate a compile time warning. | Evan Cheng | 2008-11-19 | 1 | -4/+6 |
| | | | | | llvm-svn: 59678 | ||||
| * | Eliminate a compile time warning. | Evan Cheng | 2008-11-19 | 1 | -4/+6 |
| | | | | | llvm-svn: 59677 | ||||
| * | Experimental post-pass scheduling support. Post-pass scheduling | Dan Gohman | 2008-11-19 | 19 | -826/+1014 |
| | | | | | | | | | | | | | | | | | | is currently off by default, and can be enabled with -disable-post-RA-scheduler=false. This doesn't have a significant impact on most code yet because it doesn't yet do anything to address anti-dependencies and it doesn't attempt to disambiguate memory references. Also, several popular targets don't have pipeline descriptions yet. The majority of the changes here are splitting the SelectionDAG-specific code out of ScheduleDAG, so that ScheduleDAG can be moved to libLLVMCodeGen.a. The interface between ScheduleDAG-using code and the rest of the scheduling code is somewhat rough and will evolve. llvm-svn: 59676 | ||||
| * | Move the code for printing a graph node label for an SUnit into | Dan Gohman | 2008-11-19 | 2 | -22/+19 |
| | | | | | | | a virtual method of SelectionDAG. llvm-svn: 59667 | ||||
| * | Convert SUnit's dump method into a print method and implement | Dan Gohman | 2008-11-19 | 1 | -6/+10 |
| | | | | | | | dump in terms of it. llvm-svn: 59665 | ||||
| * | CMake: Removed source file. | Oscar Fuentes | 2008-11-19 | 1 | -1/+0 |
| | | | | | llvm-svn: 59662 | ||||
| * | Do not use separate utility to walk all instructions and remove dead dbg ↵ | Devang Patel | 2008-11-19 | 1 | -60/+0 |
| | | | | | | | intrinsics. Let instcombiner do this job. llvm-svn: 59659 | ||||
| * | Let instcombiner remove redundant dbg intrinsics. | Devang Patel | 2008-11-19 | 1 | -7/+1 |
| | | | | | llvm-svn: 59658 | ||||
| * | If there are two consecutive llvm.dbg.stoppoint calls then | Devang Patel | 2008-11-19 | 1 | -1/+16 |
| | | | | | | | | it is likely that the optimizer deleted code in between these two intrinsics. Keep only the last llvm.dbg.stoppoint in this case. llvm-svn: 59657 | ||||
| * | CMake: Removed source file from lib/Target/PIC16/CMakeLists.txt. | Oscar Fuentes | 2008-11-19 | 1 | -1/+0 |
| | | | | | llvm-svn: 59655 | ||||
| * | CellSPU: Do not custom lower i1 stores, rely on type legalization to do the | Scott Michel | 2008-11-19 | 1 | -34/+11 |
| | | | | | | | right thing and promote the store to i8. llvm-svn: 59648 | ||||
| * | <rdar://problem/6351057> | Stuart Hastings | 2008-11-19 | 1 | -10/+12 |
| | | | | | | | | Discourage (allocate last) use of x86_64 R12 and R13 due to their longer instruction encodings. llvm-svn: 59644 | ||||
| * | Temporary check-in for Duncan to demonstrate CellSPU store problem. | Scott Michel | 2008-11-19 | 1 | -8/+41 |
| | | | | | llvm-svn: 59637 | ||||
| * | Fix compilation error on MSVC. | Argyrios Kyrtzidis | 2008-11-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 59629 | ||||
| * | Forgot to add this in the previous commit. | Sanjiv Gupta | 2008-11-19 | 1 | -0/+62 |
| | | | | | llvm-svn: 59623 | ||||
| * | Fixed build warnings. | Sanjiv Gupta | 2008-11-19 | 2 | -4/+6 |
| | | | | | llvm-svn: 59621 | ||||
| * | Added a more function PIC16 backend. However to get this working a patch in | Sanjiv Gupta | 2008-11-19 | 23 | -2307/+1579 |
| | | | | | | | ExpandIntegerOperand (LegalizeIntegerTypes.cpp) is needed which is yet to be reworked and submitted. llvm-svn: 59617 | ||||
| * | Use stripPointerCasts when checking for AllocaInsts for the stackprotector ↵ | Bill Wendling | 2008-11-19 | 1 | -1/+1 |
| | | | | | | | intrinsic. llvm-svn: 59614 | ||||
| * | Add support for rematerialization in pre-alloc-splitting. | Owen Anderson | 2008-11-19 | 1 | -3/+95 |
| | | | | | llvm-svn: 59587 | ||||
| * | Rearrange code to reduce the nesting level. No functionality change. | Dan Gohman | 2008-11-19 | 1 | -36/+36 |
| | | | | | llvm-svn: 59580 | ||||
| * | Use dyn_cast instead of cast. | Bill Wendling | 2008-11-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 59577 | ||||
| * | Match an element of the return type if it returns a structure. | Bill Wendling | 2008-11-19 | 1 | -2/+12 |
| | | | | | llvm-svn: 59576 | ||||
| * | Remove unused variables. | Devang Patel | 2008-11-19 | 1 | -12/+9 |
| | | | | | llvm-svn: 59570 | ||||
| * | Fix typo. | Devang Patel | 2008-11-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 59569 | ||||
| * | Fix debug printing of flagged SDNodes in SUnits so that they | Dan Gohman | 2008-11-19 | 1 | -12/+12 |
| | | | | | | | print in the correct order. llvm-svn: 59567 | ||||

