summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix fallout in CodeGenPrepare from 56526. Will likely need more work.Eric Christopher2008-09-241-119/+136
| | | | llvm-svn: 56546
* Fix fallout from revision r56535.Eric Christopher2008-09-244-740/+740
| | | | llvm-svn: 56545
* CMake: Lists of source files updated. Removed bogus dependency fromOscar Fuentes2008-09-241-3/+1
| | | | | | lib/VMCore/CMakeLists.txt llvm-svn: 56541
* Next round of earlyclobber handling. Approach theDale Johannesen2008-09-249-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/gDevang Patel2008-09-2410-50/+50
| | | | llvm-svn: 56535
* s/ParamAttributeListImpl/AttributeListImpl/gDevang Patel2008-09-241-12/+12
| | | | llvm-svn: 56532
* Refactor the logic for testing if an instruction is dead into aDan Gohman2008-09-241-37/+48
| | | | | | separate method. llvm-svn: 56531
* Set SetStore to false, to allow this pass to deleteDan Gohman2008-09-241-1/+2
| | | | | | dead loads. llvm-svn: 56529
* Add a method to MachineInstr for testing whether it makesDan Gohman2008-09-241-9/+30
| | | | | | any volatile memory references. llvm-svn: 56528
* Put FN_NOTE_AlwaysInline and others in FnAttr namespace.Devang Patel2008-09-2411-34/+34
| | | | llvm-svn: 56527
* Properly handle 'm' inline asm constraints. If a GV is being selected for ↵Evan Cheng2008-09-249-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 Patel2008-09-2311-34/+34
| | | | | | Do not check isDeclaration() in hasNote(). It is clients' responsibility. llvm-svn: 56524
* 80 colsDevang Patel2008-09-231-1/+1
| | | | llvm-svn: 56521
* s/ParameterAttributes/Attributes/gDevang Patel2008-09-234-359/+357
| | | | llvm-svn: 56520
* s/ParameterAttributes/Attributes/gDevang Patel2008-09-2323-81/+74
| | | | llvm-svn: 56513
* Use parameter attribute store (soon to be renamed) forDevang Patel2008-09-2316-42/+52
| | | | | | Function Notes also. Function notes are stored at index ~0. llvm-svn: 56511
* Now that DeadMachineInstructionElim is basically workingDan Gohman2008-09-231-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 MachineModuleInfoDan Gohman2008-09-235-8/+18
| | | | | | object. This will be needed to support debug info. llvm-svn: 56508
* Track local physical register liveness. This is not the mostDan Gohman2008-09-231-3/+53
| | | | | | | efficient implementation possible, but it's pretty simple and good enough for the time being. llvm-svn: 56504
* regenerateChris Lattner2008-09-233-1284/+1286
| | | | llvm-svn: 56502
* allow inreg on the result of a functionChris Lattner2008-09-231-0/+1
| | | | llvm-svn: 56501
* Replace the LiveRegs SmallSet with a simple counter that keepsDan Gohman2008-09-232-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 thatDan Gohman2008-09-239-9/+9
| | | | | | instruction opcodes are now numbered. No functionality change. llvm-svn: 56497
* Delete an unused function.Dan Gohman2008-09-231-10/+0
| | | | llvm-svn: 56495
* Move the code for initializing the global base reg out ofDan Gohman2008-09-233-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 Sands2008-09-233-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 Kooijman2008-09-231-4/+4
| | | | llvm-svn: 56486
* Add initial support for inserting last minute copies.Owen Anderson2008-09-231-28/+53
| | | | llvm-svn: 56485
* Support x86 specific inline asm modifier 'J'.Evan Cheng2008-09-221-0/+8
| | | | llvm-svn: 56483
* Fix the alignment of loads from constant pool entries when theDan Gohman2008-09-222-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 Patel2008-09-228-22/+31
| | | | llvm-svn: 56477
* Livestacks really does preserve everything.Evan Cheng2008-09-221-2/+1
| | | | llvm-svn: 56476
* Instead of setPreservesAll, just mark them preseving machine loop info and ↵Evan Cheng2008-09-227-7/+14
| | | | | | machine dominators. llvm-svn: 56475
* Significant improvements to the logic for merging live intervals. This code ↵Owen Anderson2008-09-221-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 byDale Johannesen2008-09-228-71/+12
| | | | | | default. llvm-svn: 56471
* Mark several codegen passes as preserving all analysis.Evan Cheng2008-09-229-8/+31
| | | | llvm-svn: 56469
* More refactoring. Yawn.Dale Johannesen2008-09-221-126/+43
| | | | llvm-svn: 56468
* Refactor FP intrinisic setup. Per review feedback.Dale Johannesen2008-09-221-117/+28
| | | | llvm-svn: 56456
* CMake build system: support for parallel builds.Oscar Fuentes2008-09-222-1/+6
| | | | llvm-svn: 56453
* Per review feedback: Only performEvan Cheng2008-09-221-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 Schwaighofer2008-09-223-22/+2
| | | | | | from CC_X86_32_TailCall to CC_X86_32_FastCC. llvm-svn: 56436
* Initial support for the CMake build system.Oscar Fuentes2008-09-2225-0/+427
| | | | llvm-svn: 56419
* Add helper function to get a 32-bit floating point constant. No ↵Bill Wendling2008-09-221-189/+106
| | | | | | functionality change. llvm-svn: 56418
* Fold immediates into X86 shifts with fast isel. This generates:Chris Lattner2008-09-211-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 withDan Gohman2008-09-211-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 Gohman2008-09-211-26/+9
| | | | | | compute the maximum element directly. llvm-svn: 56411
* Fetch the starting index of the block when assigning intervals. This gets ↵Owen Anderson2008-09-211-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 Lattner2008-09-211-5/+6
| | | | llvm-svn: 56399
* add a noteChris Lattner2008-09-201-1/+32
| | | | llvm-svn: 56391
* Implement review feedback from Devang: make useDuncan Sands2008-09-201-26/+11
| | | | | | of mayReadFromMemory and mayWriteToMemory. llvm-svn: 56387
OpenPOWER on IntegriCloud