summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Switch to the new shared SwitchSectionChris Lattner2005-11-211-26/+6
| | | | llvm-svn: 24450
* Start using SwitchSection, allowing globals and functions to be emittedChris Lattner2005-11-211-39/+7
| | | | | | to specific sections. Delete some dead functions copied from the X86 backend. llvm-svn: 24449
* convert the rest of this over to use SwitchSectionChris Lattner2005-11-213-7/+4
| | | | llvm-svn: 24448
* Start using the AsmPrinter shared SwitchSection code. This allows the X86Chris Lattner2005-11-212-18/+3
| | | | | | backend to implement global variables in sections. llvm-svn: 24447
* This is now implemented in common codegen codeChris Lattner2005-11-211-20/+0
| | | | llvm-svn: 24446
* Add section switching to common code generator code. Add a couple ofChris Lattner2005-11-213-2/+23
| | | | | | asserts. llvm-svn: 24445
* Add section switching to to common AsmPrinter code.Chris Lattner2005-11-211-0/+13
| | | | llvm-svn: 24444
* Rename SwitchSection -> switchSection to avoid conflicting with a futureChris Lattner2005-11-214-22/+22
| | | | | | change. llvm-svn: 24443
* Start using PrivateGlobalPrefix correctlyChris Lattner2005-11-212-6/+8
| | | | llvm-svn: 24442
* set PrivateGlobalPrefix on darwin, use it when printing out CP referencesChris Lattner2005-11-211-7/+9
| | | | llvm-svn: 24441
* Naturally align doubles in the constant pool, set PrivateGlobalPrefix onChris Lattner2005-11-213-8/+17
| | | | | | | | | darwin, use it when printing the constant pool indices so the labels are appropriately private, emit cp entries to .const instead of .data on darwin and only emit a single .section for the constant pool, not one for each entry. llvm-svn: 24440
* Add a new option.Chris Lattner2005-11-211-0/+6
| | | | llvm-svn: 24439
* Lower READCYCLECOUNTER correctly, preserving the chain resultChris Lattner2005-11-201-4/+8
| | | | llvm-svn: 24438
* Legalize MERGE_VALUES, expand READCYCLECOUNTER correctly, so it doesn'tChris Lattner2005-11-201-8/+13
| | | | | | break control dependence. llvm-svn: 24437
* add a new node typeChris Lattner2005-11-201-0/+7
| | | | llvm-svn: 24436
* encode rdtsc correctlyChris Lattner2005-11-201-4/+7
| | | | llvm-svn: 24435
* use chain operands to ensure the copies don't wander from the rdtsc instruction.Chris Lattner2005-11-201-3/+9
| | | | llvm-svn: 24434
* This should not be dce'dChris Lattner2005-11-201-3/+2
| | | | llvm-svn: 24433
* oopsAndrew Lenharth2005-11-201-1/+1
| | | | llvm-svn: 24432
* check that rdtsc is generated from readcyclecounterAndrew Lenharth2005-11-201-0/+10
| | | | llvm-svn: 24431
* The second patch of X86 support for read cycle counter.Andrew Lenharth2005-11-204-0/+20
| | | | llvm-svn: 24430
* The first patch of X86 support for read cycle counterAndrew Lenharth2005-11-201-0/+12
| | | | llvm-svn: 24429
* more progress towards bug 291 being finished. Patch by Owen Anderson,Chris Lattner2005-11-201-12/+17
| | | | | | HAVE_GV case fixed up by me. llvm-svn: 24428
* Unbreak codegen of bools. This should fix the llc/jit/llc-beta failuresChris Lattner2005-11-191-1/+1
| | | | | | from last night. llvm-svn: 24427
* Initialize this variable on all paths, fixing a crasher in windows. ThanksChris Lattner2005-11-191-1/+1
| | | | | | to JeffC for pointing this out. llvm-svn: 24426
* Improve Selection DAG printer portability. Patch by Owen Anderson!Chris Lattner2005-11-191-4/+6
| | | | llvm-svn: 24425
* Teach tblgen about instruction operands that have multiple MachineInstrChris Lattner2005-11-193-9/+29
| | | | | | | operands, digging into them to find register values (used on X86). Patch by Evan Cheng! llvm-svn: 24424
* Teach the x86 backend about the register constraints of its addressing mode.Chris Lattner2005-11-191-1/+2
| | | | | | Patch by Evan Cheng llvm-svn: 24423
* Capture more operand info, patch by Evan ChengChris Lattner2005-11-191-1/+2
| | | | llvm-svn: 24422
* Teach the graph viewer to handle register operands that are zero.Chris Lattner2005-11-191-1/+1
| | | | llvm-svn: 24421
* Silence a bogus warningChris Lattner2005-11-191-3/+2
| | | | llvm-svn: 24420
* Add load and other support to the dag-dag isel. Patch contributed by EvanChris Lattner2005-11-191-2/+225
| | | | | | Cheng! llvm-svn: 24419
* Add some method variants, patch by Evan ChengChris Lattner2005-11-191-15/+41
| | | | llvm-svn: 24418
* Add two new construction methods, patch by Evan ChengChris Lattner2005-11-191-0/+6
| | | | llvm-svn: 24417
* Teach LLVM how to scalarize packed types. Currently, this only works onNate Begeman2005-11-196-34/+124
| | | | | | | | | | | | | | | | | | | | | | | packed types with an element count of 1, although more generic support is coming. This allows LLVM to turn the following code: void %foo(<1 x float> * %a) { entry: %tmp1 = load <1 x float> * %a; %tmp2 = add <1 x float> %tmp1, %tmp1 store <1 x float> %tmp2, <1 x float> *%a ret void } Into: _foo: lfs f0, 0(r3) fadds f0, f0, f0 stfs f0, 0(r3) blr llvm-svn: 24416
* testcase for recent indvars patchesChris Lattner2005-11-181-0/+18
| | | | llvm-svn: 24415
* Fix a crash building 176.gcc due to my recent patch, which only fixedChris Lattner2005-11-181-1/+1
| | | | | | half the problem. llvm-svn: 24414
* prevent latent switch creationAndrew Lenharth2005-11-181-2/+2
| | | | llvm-svn: 24413
* Split out the shift code from visitBinary.Nate Begeman2005-11-181-7/+14
| | | | llvm-svn: 24412
* Implement a refinement to the mem2reg algorithm for cases where an allocaChris Lattner2005-11-181-0/+55
| | | | | | | | | | has a single def. In this case, look for uses that are dominated by the def and attempt to rewrite them to directly use the stored value. This speeds up mem2reg on these values and reduces the number of phi nodes inserted. This should address PR665. llvm-svn: 24411
* This needs proper dominanceChris Lattner2005-11-181-5/+14
| | | | llvm-svn: 24410
* post-dom-frontiers requires proper post-dominanceChris Lattner2005-11-181-1/+1
| | | | llvm-svn: 24409
* This requires proper dominanceChris Lattner2005-11-181-1/+1
| | | | llvm-svn: 24408
* Fix the dominates method to return true if the two nodes are the same. AddChris Lattner2005-11-181-4/+12
| | | | | | a new properlyDominates method to do what the old one did. llvm-svn: 24407
* add more patterns, patch by Evan Cheng.Chris Lattner2005-11-181-108/+156
| | | | llvm-svn: 24406
* Also add the new vector value type here, for completeness.Nate Begeman2005-11-181-0/+1
| | | | llvm-svn: 24405
* Teach the type lowering code about turning packed types into vector types.Nate Begeman2005-11-172-5/+10
| | | | | | | Next step: generating vector dag nodes, and legalizing them into scalar code. llvm-svn: 24404
* only use dyld stubs if not in ppc-static mode. This completes support forChris Lattner2005-11-171-15/+21
| | | | | | non-static codegen. llvm-svn: 24403
* This was checking the wrong GEP expression. Fixing this fixes a gccas crashChris Lattner2005-11-171-1/+1
| | | | | | compiling mysql reported by Ted Kremenek. llvm-svn: 24402
* refactor call operand handling to eliminate special cases from printOp.Chris Lattner2005-11-171-19/+17
| | | | llvm-svn: 24401
OpenPOWER on IntegriCloud