| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Check in code to scalarize arbitrarily wide packed types for some simple | Nate Begeman | 2005-11-22 | 3 | -5/+81 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vector operations (load, add, sub, mul). This allows us to codegen: void %foo(<4 x float> * %a) { entry: %tmp1 = load <4 x float> * %a; %tmp2 = add <4 x float> %tmp1, %tmp1 store <4 x float> %tmp2, <4 x float> *%a ret void } on ppc as: _foo: lfs f0, 12(r3) lfs f1, 8(r3) lfs f2, 4(r3) lfs f3, 0(r3) fadds f0, f0, f0 fadds f1, f1, f1 fadds f2, f2, f2 fadds f3, f3, f3 stfs f0, 12(r3) stfs f1, 8(r3) stfs f2, 4(r3) stfs f3, 0(r3) blr llvm-svn: 24484 | |||||
| * | massive DAGISel patch. lots and lots more stuff compiles now | Andrew Lenharth | 2005-11-22 | 5 | -52/+207 | |
| | | | | | llvm-svn: 24483 | |||||
| * | Rather than attempting to legalize 1 x float, make sure the SD ISel never | Nate Begeman | 2005-11-22 | 3 | -49/+29 | |
| | | | | | | | | | | | | generates it. Make MVT::Vector expand-only, and remove the code in Legalize that attempts to legalize it. The plan for supporting N x Type is to continually epxand it in ExpandOp until it gets down to 2 x Type, where it will be scalarized into a pair of scalars. llvm-svn: 24482 | |||||
| * | Use HasDotTypeDotSizeDirective instead of forELF | Chris Lattner | 2005-11-21 | 4 | -18/+10 | |
| | | | | | llvm-svn: 24481 | |||||
| * | Remove a level of indentation by using a continue. | Chris Lattner | 2005-11-21 | 1 | -55/+55 | |
| | | | | | llvm-svn: 24479 | |||||
| * | Simplify the subtarget info, allow the asmwriter to do some target sensing | Chris Lattner | 2005-11-21 | 2 | -22/+2 | |
| | | | | | | | based on TargetType. llvm-svn: 24478 | |||||
| * | Use subtarget information computed by X86Subtarget instead of rolling our own. | Chris Lattner | 2005-11-21 | 3 | -29/+22 | |
| | | | | | llvm-svn: 24477 | |||||
| * | Make the X86 subtarget compute the basic target type: ELF, Cygwin, Darwin, | Chris Lattner | 2005-11-21 | 2 | -15/+24 | |
| | | | | | | | or native Win32 llvm-svn: 24476 | |||||
| * | Add a forELF flag, allowing the removal of forCygwin and simplification of | Chris Lattner | 2005-11-21 | 4 | -7/+12 | |
| | | | | | | | conditionals. llvm-svn: 24475 | |||||
| * | simplify and genericize this code | Chris Lattner | 2005-11-21 | 1 | -55/+69 | |
| | | | | | llvm-svn: 24473 | |||||
| * | add support for div/rem to the dag->dag isel. yay. | Duraid Madina | 2005-11-21 | 1 | -0/+180 | |
| | | | | | llvm-svn: 24472 | |||||
| * | I think I know what you meant here, but just to be safe I'll let you | Duraid Madina | 2005-11-21 | 1 | -1/+1 | |
| | | | | | | | | | do it. :) <_sabre_> excuses excuses llvm-svn: 24471 | |||||
| * | Eliminate unneeded intermediate class. Move doFinalizeMethod to bottom of | Chris Lattner | 2005-11-21 | 1 | -99/+88 | |
| | | | | | | | file. llvm-svn: 24470 | |||||
| * | Start using shared asmprinter Constant Pool emitter, use shorter cpi names. | Chris Lattner | 2005-11-21 | 1 | -26/+5 | |
| | | | | | llvm-svn: 24469 | |||||
| * | prune #include | Chris Lattner | 2005-11-21 | 1 | -1/+0 | |
| | | | | | llvm-svn: 24468 | |||||
| * | Switch to using the shared constant pool printer, along with using shorter | Chris Lattner | 2005-11-21 | 4 | -31/+5 | |
| | | | | | | | CPI ids llvm-svn: 24467 | |||||
| * | Switch to using the generic constant pool emitter impl, use shorter | Chris Lattner | 2005-11-21 | 1 | -25/+2 | |
| | | | | | | | CPI names llvm-svn: 24466 | |||||
| * | Use generic constant pool emission code in the AsmPrinter class. | Chris Lattner | 2005-11-21 | 1 | -30/+4 | |
| | | | | | llvm-svn: 24465 | |||||
| * | Allow target to customize directive used to switch to arbitrary section in ↵ | Chris Lattner | 2005-11-21 | 1 | -1/+28 | |
| | | | | | | | | | SwitchSection, add generic constant pool emitter llvm-svn: 24464 | |||||
| * | Use the FunctionNumber provided by the AsmPrinter class | Chris Lattner | 2005-11-21 | 1 | -19/+15 | |
| | | | | | llvm-svn: 24462 | |||||
| * | increment the function number in SetupMachineFunction | Chris Lattner | 2005-11-21 | 1 | -0/+1 | |
| | | | | | llvm-svn: 24461 | |||||
| * | Use CommentString where possible, fix a bug where aix mode wouldn't assemble | Chris Lattner | 2005-11-21 | 1 | -4/+4 | |
| | | | | | | | due to basic blocks being misnamed. llvm-svn: 24459 | |||||
| * | unify the darwin and aix constant pool printers | Chris Lattner | 2005-11-21 | 1 | -48/+28 | |
| | | | | | llvm-svn: 24458 | |||||
| * | Adjust to capitalized asmprinter method names | Chris Lattner | 2005-11-21 | 1 | -18/+18 | |
| | | | | | llvm-svn: 24457 | |||||
| * | Adjust to capitalized AsmPrinter method names | Chris Lattner | 2005-11-21 | 6 | -32/+32 | |
| | | | | | llvm-svn: 24456 | |||||
| * | Use PrivateGlobalPrefix for basic block labels. This allows the x86 darwin | Chris Lattner | 2005-11-21 | 2 | -5/+9 | |
| | | | | | | | port to properly use L for the bb prefix instead of . llvm-svn: 24454 | |||||
| * | use PrivateGlobalPrefix for basic blocks | Chris Lattner | 2005-11-21 | 1 | -5/+6 | |
| | | | | | llvm-svn: 24453 | |||||
| * | Use PrivateGlobalPrefix for basic block labels | Chris Lattner | 2005-11-21 | 1 | -2/+4 | |
| | | | | | llvm-svn: 24452 | |||||
| * | Use PrivateGlobalPrefix for basic blocks | Chris Lattner | 2005-11-21 | 1 | -6/+6 | |
| | | | | | llvm-svn: 24451 | |||||
| * | Switch to the new shared SwitchSection | Chris Lattner | 2005-11-21 | 1 | -26/+6 | |
| | | | | | llvm-svn: 24450 | |||||
| * | Start using SwitchSection, allowing globals and functions to be emitted | Chris Lattner | 2005-11-21 | 1 | -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 SwitchSection | Chris Lattner | 2005-11-21 | 3 | -7/+4 | |
| | | | | | llvm-svn: 24448 | |||||
| * | Start using the AsmPrinter shared SwitchSection code. This allows the X86 | Chris Lattner | 2005-11-21 | 2 | -18/+3 | |
| | | | | | | | backend to implement global variables in sections. llvm-svn: 24447 | |||||
| * | This is now implemented in common codegen code | Chris Lattner | 2005-11-21 | 1 | -20/+0 | |
| | | | | | llvm-svn: 24446 | |||||
| * | Add section switching to common code generator code. Add a couple of | Chris Lattner | 2005-11-21 | 3 | -2/+23 | |
| | | | | | | | asserts. llvm-svn: 24445 | |||||
| * | Rename SwitchSection -> switchSection to avoid conflicting with a future | Chris Lattner | 2005-11-21 | 4 | -22/+22 | |
| | | | | | | | change. llvm-svn: 24443 | |||||
| * | Start using PrivateGlobalPrefix correctly | Chris Lattner | 2005-11-21 | 2 | -6/+8 | |
| | | | | | llvm-svn: 24442 | |||||
| * | set PrivateGlobalPrefix on darwin, use it when printing out CP references | Chris Lattner | 2005-11-21 | 1 | -7/+9 | |
| | | | | | llvm-svn: 24441 | |||||
| * | Naturally align doubles in the constant pool, set PrivateGlobalPrefix on | Chris Lattner | 2005-11-21 | 3 | -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 | |||||
| * | Lower READCYCLECOUNTER correctly, preserving the chain result | Chris Lattner | 2005-11-20 | 1 | -4/+8 | |
| | | | | | llvm-svn: 24438 | |||||
| * | Legalize MERGE_VALUES, expand READCYCLECOUNTER correctly, so it doesn't | Chris Lattner | 2005-11-20 | 1 | -8/+13 | |
| | | | | | | | break control dependence. llvm-svn: 24437 | |||||
| * | encode rdtsc correctly | Chris Lattner | 2005-11-20 | 1 | -4/+7 | |
| | | | | | llvm-svn: 24435 | |||||
| * | use chain operands to ensure the copies don't wander from the rdtsc instruction. | Chris Lattner | 2005-11-20 | 1 | -3/+9 | |
| | | | | | llvm-svn: 24434 | |||||
| * | The second patch of X86 support for read cycle counter. | Andrew Lenharth | 2005-11-20 | 4 | -0/+20 | |
| | | | | | llvm-svn: 24430 | |||||
| * | The first patch of X86 support for read cycle counter | Andrew Lenharth | 2005-11-20 | 1 | -0/+12 | |
| | | | | | llvm-svn: 24429 | |||||
| * | more progress towards bug 291 being finished. Patch by Owen Anderson, | Chris Lattner | 2005-11-20 | 1 | -12/+17 | |
| | | | | | | | HAVE_GV case fixed up by me. llvm-svn: 24428 | |||||
| * | Unbreak codegen of bools. This should fix the llc/jit/llc-beta failures | Chris Lattner | 2005-11-19 | 1 | -1/+1 | |
| | | | | | | | from last night. llvm-svn: 24427 | |||||
| * | Improve Selection DAG printer portability. Patch by Owen Anderson! | Chris Lattner | 2005-11-19 | 1 | -4/+6 | |
| | | | | | llvm-svn: 24425 | |||||
| * | Teach the x86 backend about the register constraints of its addressing mode. | Chris Lattner | 2005-11-19 | 1 | -1/+2 | |
| | | | | | | | Patch by Evan Cheng llvm-svn: 24423 | |||||
| * | Capture more operand info, patch by Evan Cheng | Chris Lattner | 2005-11-19 | 1 | -1/+2 | |
| | | | | | llvm-svn: 24422 | |||||

