Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix fallout in CodeGenPrepare from 56526. Will likely need more work. | Eric Christopher | 2008-09-24 | 1 | -119/+136 |
| | | | | llvm-svn: 56546 | ||||
* | Fix fallout from revision r56535. | Eric Christopher | 2008-09-24 | 4 | -740/+740 |
| | | | | llvm-svn: 56545 | ||||
* | CMake: Lists of source files updated. Removed bogus dependency from | Oscar Fuentes | 2008-09-24 | 1 | -3/+1 |
| | | | | | | lib/VMCore/CMakeLists.txt llvm-svn: 56541 | ||||
* | Next round of earlyclobber handling. Approach the | Dale Johannesen | 2008-09-24 | 9 | -176/+38 |
| | | | | | | | | | | RA problem by expanding the live interval of an earlyclobber def back one slot. Remove overlap-earlyclobber throughout. Remove earlyclobber bits and their handling from live internals. llvm-svn: 56539 | ||||
* | s/ParamAttrsWithIndex/FnAttributeWithIndex/g | Devang Patel | 2008-09-24 | 10 | -50/+50 |
| | | | | llvm-svn: 56535 | ||||
* | s/ParamAttributeListImpl/AttributeListImpl/g | Devang Patel | 2008-09-24 | 1 | -12/+12 |
| | | | | llvm-svn: 56532 | ||||
* | Refactor the logic for testing if an instruction is dead into a | Dan Gohman | 2008-09-24 | 1 | -37/+48 |
| | | | | | | separate method. llvm-svn: 56531 | ||||
* | Set SetStore to false, to allow this pass to delete | Dan Gohman | 2008-09-24 | 1 | -1/+2 |
| | | | | | | dead loads. llvm-svn: 56529 | ||||
* | Add a method to MachineInstr for testing whether it makes | Dan Gohman | 2008-09-24 | 1 | -9/+30 |
| | | | | | | any volatile memory references. llvm-svn: 56528 | ||||
* | Put FN_NOTE_AlwaysInline and others in FnAttr namespace. | Devang Patel | 2008-09-24 | 11 | -34/+34 |
| | | | | llvm-svn: 56527 | ||||
* | Properly handle 'm' inline asm constraints. If a GV is being selected for ↵ | Evan Cheng | 2008-09-24 | 9 | -23/+61 |
| | | | | | | the addressing mode, it requires the same logic for PIC relative addressing, etc. llvm-svn: 56526 | ||||
* | Move FN_NOTE_AlwaysInline and other out of ParamAttrs namespace. | Devang Patel | 2008-09-23 | 11 | -34/+34 |
| | | | | | | Do not check isDeclaration() in hasNote(). It is clients' responsibility. llvm-svn: 56524 | ||||
* | 80 cols | Devang Patel | 2008-09-23 | 1 | -1/+1 |
| | | | | llvm-svn: 56521 | ||||
* | s/ParameterAttributes/Attributes/g | Devang Patel | 2008-09-23 | 4 | -359/+357 |
| | | | | llvm-svn: 56520 | ||||
* | s/ParameterAttributes/Attributes/g | Devang Patel | 2008-09-23 | 23 | -81/+74 |
| | | | | llvm-svn: 56513 | ||||
* | Use parameter attribute store (soon to be renamed) for | Devang Patel | 2008-09-23 | 16 | -42/+52 |
| | | | | | | Function Notes also. Function notes are stored at index ~0. llvm-svn: 56511 | ||||
* | Now that DeadMachineInstructionElim is basically working | Dan Gohman | 2008-09-23 | 1 | -6/+0 |
| | | | | | | | correctly, it's not necessary to explicitly remove registers from their use-def lists. llvm-svn: 56509 | ||||
* | Arrange for FastISel code to have access to the MachineModuleInfo | Dan Gohman | 2008-09-23 | 5 | -8/+18 |
| | | | | | | object. This will be needed to support debug info. llvm-svn: 56508 | ||||
* | Track local physical register liveness. This is not the most | Dan Gohman | 2008-09-23 | 1 | -3/+53 |
| | | | | | | | efficient implementation possible, but it's pretty simple and good enough for the time being. llvm-svn: 56504 | ||||
* | regenerate | Chris Lattner | 2008-09-23 | 3 | -1284/+1286 |
| | | | | llvm-svn: 56502 | ||||
* | allow inreg on the result of a function | Chris Lattner | 2008-09-23 | 1 | -0/+1 |
| | | | | llvm-svn: 56501 | ||||
* | Replace the LiveRegs SmallSet with a simple counter that keeps | Dan Gohman | 2008-09-23 | 2 | -23/+29 |
| | | | | | | | track of the number of live registers, which is all the set was being used for. llvm-svn: 56498 | ||||
* | Fix these enums' starting values to reflect the way that | Dan Gohman | 2008-09-23 | 9 | -9/+9 |
| | | | | | | instruction opcodes are now numbered. No functionality change. llvm-svn: 56497 | ||||
* | Delete an unused function. | Dan Gohman | 2008-09-23 | 1 | -10/+0 |
| | | | | llvm-svn: 56495 | ||||
* | Move the code for initializing the global base reg out of | Dan Gohman | 2008-09-23 | 3 | -29/+43 |
| | | | | | | | X86ISelDAGToDAG.cpp and into X86InstrInfo.cpp. This will allow it to be reused by FastISel. llvm-svn: 56494 | ||||
* | Rationalize the names of passes that print information: | Duncan Sands | 2008-09-23 | 3 | -6/+6 |
| | | | | | | | | | | | | | | | | | -callgraph => print-callgraph -callscc => print-callgraph-sccs -cfgscc => print-cfg-sccs -externalfnconstants => print-externalfnconstants -print => print-function -print-alias-sets (no change) -print-callgraph => dot-callgraph -print-cfg => dot-cfg -print-cfg-only => dot-cfg-only -print-dom-info (no change) -printm => print-module -printusedtypes => print-used-types llvm-svn: 56487 | ||||
* | Fix indendation. | Matthijs Kooijman | 2008-09-23 | 1 | -4/+4 |
| | | | | llvm-svn: 56486 | ||||
* | Add initial support for inserting last minute copies. | Owen Anderson | 2008-09-23 | 1 | -28/+53 |
| | | | | llvm-svn: 56485 | ||||
* | Support x86 specific inline asm modifier 'J'. | Evan Cheng | 2008-09-22 | 1 | -0/+8 |
| | | | | llvm-svn: 56483 | ||||
* | Fix the alignment of loads from constant pool entries when the | Dan Gohman | 2008-09-22 | 2 | -1/+7 |
| | | | | | | | load address has an offset from the base of the constant pool entry. llvm-svn: 56479 | ||||
* | Add hasNote() to check note associated with a function. | Devang Patel | 2008-09-22 | 8 | -22/+31 |
| | | | | llvm-svn: 56477 | ||||
* | Livestacks really does preserve everything. | Evan Cheng | 2008-09-22 | 1 | -2/+1 |
| | | | | llvm-svn: 56476 | ||||
* | Instead of setPreservesAll, just mark them preseving machine loop info and ↵ | Evan Cheng | 2008-09-22 | 7 | -7/+14 |
| | | | | | | machine dominators. llvm-svn: 56475 | ||||
* | Significant improvements to the logic for merging live intervals. This code ↵ | Owen Anderson | 2008-09-22 | 1 | -15/+53 |
| | | | | | | | | | can't just use LI::MergeValueAsValue, as its behavior in the presence of overlapping ranges isn't what StrongPHIElimination wants. llvm-svn: 56472 | ||||
* | Make log, log2, log10, exp, exp2 use Expand by | Dale Johannesen | 2008-09-22 | 8 | -71/+12 |
| | | | | | | default. llvm-svn: 56471 | ||||
* | Mark several codegen passes as preserving all analysis. | Evan Cheng | 2008-09-22 | 9 | -8/+31 |
| | | | | llvm-svn: 56469 | ||||
* | More refactoring. Yawn. | Dale Johannesen | 2008-09-22 | 1 | -126/+43 |
| | | | | llvm-svn: 56468 | ||||
* | Refactor FP intrinisic setup. Per review feedback. | Dale Johannesen | 2008-09-22 | 1 | -117/+28 |
| | | | | llvm-svn: 56456 | ||||
* | CMake build system: support for parallel builds. | Oscar Fuentes | 2008-09-22 | 2 | -1/+6 |
| | | | | llvm-svn: 56453 | ||||
* | Per review feedback: Only perform | Evan Cheng | 2008-09-22 | 1 | -39/+27 |
| | | | | | | | (srl x, (trunc (and y, c))) -> (srl x, (and (trunc y), c)) etc. when both "trunc" and "and" have single uses. llvm-svn: 56452 | ||||
* | Change the calling convention used when tail call optimization is enabled ↵ | Arnold Schwaighofer | 2008-09-22 | 3 | -22/+2 |
| | | | | | | from CC_X86_32_TailCall to CC_X86_32_FastCC. llvm-svn: 56436 | ||||
* | Initial support for the CMake build system. | Oscar Fuentes | 2008-09-22 | 25 | -0/+427 |
| | | | | llvm-svn: 56419 | ||||
* | Add helper function to get a 32-bit floating point constant. No ↵ | Bill Wendling | 2008-09-22 | 1 | -189/+106 |
| | | | | | | functionality change. llvm-svn: 56418 | ||||
* | Fold immediates into X86 shifts with fast isel. This generates: | Chris Lattner | 2008-09-21 | 1 | -15/+24 |
| | | | | | | | | | | | | | sarl $3, %ecx instead of: movl $3, %ecx sarl %cl, %edx This shrinks fast isel 176.gcc by about 2000 instructions (.3%) llvm-svn: 56413 | ||||
* | Factor out code into HandleVirtRegDef, for consistency with | Dan Gohman | 2008-09-21 | 1 | -13/+12 |
| | | | | | | | Handle{Virt,Phys}Reg{Def,Use}. Remove a redundant check for register zero, and redundant checks for isPhysicalRegister. llvm-svn: 56412 | ||||
* | Instead of building a list and sorting it just to find a maximum element, | Dan Gohman | 2008-09-21 | 1 | -26/+9 |
| | | | | | | compute the maximum element directly. llvm-svn: 56411 | ||||
* | Fetch the starting index of the block when assigning intervals. This gets ↵ | Owen Anderson | 2008-09-21 | 1 | -2/+2 |
| | | | | | | | | live-in indices correct in the presence of things like EH labels. llvm-svn: 56410 | ||||
* | don't print GlobalAddressSDNode's with an offset of zero as "foo0". | Chris Lattner | 2008-09-21 | 1 | -5/+6 |
| | | | | llvm-svn: 56399 | ||||
* | add a note | Chris Lattner | 2008-09-20 | 1 | -1/+32 |
| | | | | llvm-svn: 56391 | ||||
* | Implement review feedback from Devang: make use | Duncan Sands | 2008-09-20 | 1 | -26/+11 |
| | | | | | | of mayReadFromMemory and mayWriteToMemory. llvm-svn: 56387 |