| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Document this class a bit :-) | Alkis Evlogimenos | 2004-10-01 | 1 | -0/+34 | |
| | | | | | llvm-svn: 16626 | |||||
| * | Use more efficient map operations. Fix a bug that would affect hypothetical | Chris Lattner | 2004-09-30 | 1 | -6/+8 | |
| | | | | | | | targets that supported multiple memory operands. llvm-svn: 16614 | |||||
| * | There is no need to call MachineInstr::print directly, just send the MI& to ↵ | Chris Lattner | 2004-09-30 | 2 | -18/+18 | |
| | | | | | | | an ostream. llvm-svn: 16613 | |||||
| * | * Wrap some comments to 80 cols | Chris Lattner | 2004-09-30 | 2 | -31/+38 | |
| | | | | | | | | | * Add const_iterator stuff * Add a print method, which means that I can now call dump() from the debugger. llvm-svn: 16612 | |||||
| * | Simplify the logic in the simple spiller and capitalize some variables | Chris Lattner | 2004-09-30 | 1 | -86/+90 | |
| | | | | | llvm-svn: 16609 | |||||
| * | Switch from defaulting to the 'local' spiller to the 'simple' spiller. The | Chris Lattner | 2004-09-30 | 1 | -2/+2 | |
| | | | | | | | | | | | two spillers produce perfectly identical code (at least on povray and eon), but the simple spiller is substantially faster than the local spiller. Once the local spiller is improved, we can switch back. Switching cuts 5.2% off of the llc time for povray (about 1.3s). llvm-svn: 16608 | |||||
| * | Don't use a densemap for keeping track of which vregs are already loaded, just | Chris Lattner | 2004-09-30 | 1 | -6/+10 | |
| | | | | | | | | use a simple vector. This speeds up -spiller=simple from taking 22s to taking .1s on povray (debug build). This change does not modify the generated code. llvm-svn: 16607 | |||||
| * | Use longer and more explicit names for instance vars (particularly important | Chris Lattner | 2004-09-30 | 2 | -50/+46 | |
| | | | | | | | | data structures). Fix the print method to send to the right ostream, not always cerr. Delete typedefs that are only used once. llvm-svn: 16606 | |||||
| * | Free the VirtRegMap at the end of MachineFunction processing instead of at | Chris Lattner | 2004-09-30 | 1 | -1/+1 | |
| | | | | | | | the beginning of processing the next one. llvm-svn: 16605 | |||||
| * | Reindent code, improve comments, move huge nested methods out of classes, | Chris Lattner | 2004-09-30 | 2 | -407/+417 | |
| | | | | | | | prune #includes, add print/dump methods, etc. No functionality changes. llvm-svn: 16604 | |||||
| * | Add includes and use std:: for standard library calls to make code | Alkis Evlogimenos | 2004-09-28 | 3 | -22/+25 | |
| | | | | | | | compile on windows. This patch was contributed by Paolo Invernizzi. llvm-svn: 16539 | |||||
| * | Fix includes. Patch contributed by Paolo Invernizzi! | Alkis Evlogimenos | 2004-09-28 | 1 | -0/+1 | |
| | | | | | llvm-svn: 16533 | |||||
| * | Grow the map on entry so that we don't crash if joinIntervals never | Alkis Evlogimenos | 2004-09-09 | 1 | -2/+1 | |
| | | | | | | | runs (if coalescing is disabled for example). llvm-svn: 16259 | |||||
| * | Use a DenseMap for mapping reg->reg. This improves the LiveInterval | Alkis Evlogimenos | 2004-09-08 | 2 | -9/+12 | |
| | | | | | | | analysis running time from 2.7869secs to 2.5226secs on 176.gcc. llvm-svn: 16244 | |||||
| * | Indent to 2 spaces and cleanup excess whitespace. | Alkis Evlogimenos | 2004-09-05 | 1 | -48/+47 | |
| | | | | | llvm-svn: 16188 | |||||
| * | Indent to 2 spaces. | Alkis Evlogimenos | 2004-09-05 | 1 | -26/+27 | |
| | | | | | llvm-svn: 16187 | |||||
| * | Order #includes alphabetically, local .h files first. | Misha Brukman | 2004-09-03 | 1 | -3/+2 | |
| | | | | | llvm-svn: 16153 | |||||
| * | Fixes to make LLVM compile with vc7.1. | Alkis Evlogimenos | 2004-09-03 | 2 | -2/+3 | |
| | | | | | | | Patch contributed by Paolo Invernizzi! llvm-svn: 16152 | |||||
| * | Change the way we choose a free register: instead of picking the first | Alkis Evlogimenos | 2004-09-02 | 1 | -4/+15 | |
| | | | | | | | | free allocatable register, we prefer the a free one with the most uses of inactive intervals. llvm-svn: 16148 | |||||
| * | Change the way we choose a free register: instead of picking the first | Alkis Evlogimenos | 2004-09-02 | 1 | -3/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | free allocatable register, we prefer the a free one with the most uses of inactive intervals. This causes less spills and performes a bit better compared to gcc: Program | GCC/LLC (Before)| GCC/LLC (After) 164.gzip/164.gzip | 0.59 | 0.60 175.vpr/175.vpr | 0.57 | 0.58 176.gcc/176.gcc | 0.59 | 0.61 181.mcf/181.mcf | 0.94 | 0.95 186.crafty/186.crafty | 0.62 | 0.62 197.parser/197.parser | 0.89 | 0.88 252.eon/252.eon | 0.61 | 0.66 253.perlbmk/253.perlbmk | 0.79 | 0.84 254.gap/254.gap | 0.81 | 0.81 255.vortex/255.vortex | 0.92 | 0.93 256.bzip2/256.bzip2 | 0.69 | 0.69 300.twolf/300.twolf | 0.91 | 0.90 llvm-svn: 16147 | |||||
| * | We don't need to sort the added vector as unhandled intervals are | Alkis Evlogimenos | 2004-09-02 | 1 | -1/+0 | |
| | | | | | | | stored in a binary heap. llvm-svn: 16143 | |||||
| * | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 27 | -53/+53 | |
| | | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | |||||
| * | Be a bit more efficient when processing the active and inactive | Alkis Evlogimenos | 2004-09-01 | 2 | -52/+62 | |
| | | | | | | | | | | lists. Instead of scanning the vector backwards, scan it forward and swap each element we want to erase. Then at the end erase all removed intervals at once. This doesn't save much: 0.08s out of 4s when compiling 176.gcc. llvm-svn: 16136 | |||||
| * | Give a better assertion if we see a use before a def. | Alkis Evlogimenos | 2004-09-01 | 1 | -0/+2 | |
| | | | | | llvm-svn: 16135 | |||||
| * | Minor code clarity changes. | Alkis Evlogimenos | 2004-08-31 | 1 | -4/+6 | |
| | | | | | llvm-svn: 16123 | |||||
| * | Put this change back in after testing from Reid proved its innocence. ↵ | Nate Begeman | 2004-08-29 | 1 | -2/+2 | |
| | | | | | | | getSpillSize now returns value in bits llvm-svn: 16102 | |||||
| * | Remove dead code. | Alkis Evlogimenos | 2004-08-28 | 1 | -1/+0 | |
| | | | | | llvm-svn: 16077 | |||||
| * | Now that LiveIntervals::addIntervalsForSpills is fixed, do not require | Alkis Evlogimenos | 2004-08-27 | 2 | -4/+0 | |
| | | | | | | | LiveVariables. llvm-svn: 16076 | |||||
| * | Only update LiveVariables if it is available. addIntervalsForSpills | Alkis Evlogimenos | 2004-08-27 | 1 | -9/+12 | |
| | | | | | | | runs after the initial run of the live interval analysis. llvm-svn: 16075 | |||||
| * | Back out this change as it broke the build last night. This should be | Alkis Evlogimenos | 2004-08-27 | 2 | -0/+4 | |
| | | | | | | | | investicated further as the linearscan variants don't really need LiveVariables... llvm-svn: 16074 | |||||
| * | Back out change to divide getSpillSize by 8 until I figure out why it breaks ↵ | Nate Begeman | 2004-08-27 | 1 | -2/+2 | |
| | | | | | | | x86, which has register sizes in bits. llvm-svn: 16073 | |||||
| * | The linear scan variants do not require the LiveVariables analysis. | Alkis Evlogimenos | 2004-08-27 | 2 | -4/+0 | |
| | | | | | llvm-svn: 16071 | |||||
| * | Register sizes are in bits, not bytes | Nate Begeman | 2004-08-27 | 1 | -2/+2 | |
| | | | | | llvm-svn: 16070 | |||||
| * | Use newly added API in MRegisterInfo and don't expose the allocatable | Alkis Evlogimenos | 2004-08-26 | 1 | -13/+1 | |
| | | | | | | | register set anymore. Its users now use the MRegisterInfo API. llvm-svn: 16061 | |||||
| * | Use newly added API in MRegisterInfo. | Alkis Evlogimenos | 2004-08-26 | 2 | -5/+6 | |
| | | | | | llvm-svn: 16060 | |||||
| * | Fix a bug in a previous checkin of mine, correcting | Chris Lattner | 2004-08-24 | 1 | -1/+1 | |
| | | | | | | | | | | Regression.CodeGen.Generic.2004-04-09-SameValueCoalescing.llx and the code size problem. This bug prevented us from doing most register coallesces. llvm-svn: 16031 | |||||
| * | Do not use .xword and friends to emit zeros on V9. Apparently there are issues | Chris Lattner | 2004-08-24 | 1 | -6/+0 | |
| | | | | | | | | | with emitting .xwords when not on an 8-byte boundary (.xword 0 is not the same as 8 .byte 0's). Because we do not know when or when we are not aligned, just emit bytes like the old V9 asmprinter did. llvm-svn: 16006 | |||||
| * | Register info alignment is in bits, frame object alignment is (currently) in | Chris Lattner | 2004-08-21 | 1 | -1/+1 | |
| | | | | | | | bytes. llvm-svn: 15970 | |||||
| * | Now that we have per-register spill size/alignment info, remove more uses | Chris Lattner | 2004-08-21 | 1 | -4/+5 | |
| | | | | | | | of getRegClass llvm-svn: 15967 | |||||
| * | Instead of using isDummyPhiInstr, we just compare the opcode with V9::PHI. | Brian Gaeke | 2004-08-18 | 2 | -5/+4 | |
| | | | | | llvm-svn: 15906 | |||||
| * | Instead of using isDummyPhiInstr, we just compare the opcode with V9::PHI. | Brian Gaeke | 2004-08-18 | 1 | -3/+3 | |
| | | | | | | | Also, squash a use of TargetInstrInfo::isNop(). llvm-svn: 15905 | |||||
| * | Rename var | Chris Lattner | 2004-08-18 | 1 | -10/+10 | |
| | | | | | llvm-svn: 15897 | |||||
| * | Add support for targets without a .zero directive | Chris Lattner | 2004-08-17 | 1 | -4/+23 | |
| | | | | | llvm-svn: 15894 | |||||
| * | Add support for alignment | Chris Lattner | 2004-08-17 | 1 | -0/+6 | |
| | | | | | llvm-svn: 15888 | |||||
| * | Use a designated comment character when printing comments. | Chris Lattner | 2004-08-17 | 1 | -9/+18 | |
| | | | | | llvm-svn: 15880 | |||||
| * | Add support for targets that have .quad, drop extra tab inserted | Chris Lattner | 2004-08-17 | 1 | -6/+6 | |
| | | | | | llvm-svn: 15870 | |||||
| * | Implement emitGlobalConstant | Chris Lattner | 2004-08-17 | 1 | -0/+161 | |
| | | | | | llvm-svn: 15868 | |||||
| * | We now allow targets to use any prefix they want for global symbols. Lets | Chris Lattner | 2004-08-17 | 1 | -1/+1 | |
| | | | | | | | hear it for ".". llvm-svn: 15863 | |||||
| * | Some asmwriters want an _ prefix | Chris Lattner | 2004-08-17 | 1 | -1/+1 | |
| | | | | | llvm-svn: 15845 | |||||
| * | Initial implementation of the asmprinter base class | Chris Lattner | 2004-08-16 | 1 | -0/+110 | |
| | | | | | llvm-svn: 15838 | |||||

