summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a missed optimizationChris Lattner2005-11-281-0/+9
| | | | llvm-svn: 24495
* Small tweaks noticed while on the plane.Nate Begeman2005-11-263-5/+10
| | | | llvm-svn: 24492
* add support for dynamic_stackalloc to the dag isel (thanks andrew ;)Duraid Madina2005-11-251-3/+31
| | | | | | next up: support argument passing in memory, not just registers llvm-svn: 24490
* Some first bits of AltiVec stuff: Instruction Formats, Encodings, andNate Begeman2005-11-233-1/+123
| | | | | | | | | | Registers. Apologies to Jim if the scheduling info so far isn't accurate. There's a few more things like VRsave support that need to be finished up in my local tree before I can commit code that Does The Right Thing for turning 4 x float into the various altivec packed float instructions. llvm-svn: 24489
* Fix warning, the better way. Really, this is what this instruction is for, ↵Andrew Lenharth2005-11-221-7/+7
| | | | | | so use it llvm-svn: 24486
* Fix warningAndrew Lenharth2005-11-221-3/+3
| | | | llvm-svn: 24485
* massive DAGISel patch. lots and lots more stuff compiles nowAndrew Lenharth2005-11-225-52/+207
| | | | llvm-svn: 24483
* Rather than attempting to legalize 1 x float, make sure the SD ISel neverNate Begeman2005-11-221-1/+5
| | | | | | | | | | | 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 forELFChris Lattner2005-11-214-18/+10
| | | | llvm-svn: 24481
* Remove a level of indentation by using a continue.Chris Lattner2005-11-211-55/+55
| | | | llvm-svn: 24479
* Simplify the subtarget info, allow the asmwriter to do some target sensingChris Lattner2005-11-212-22/+2
| | | | | | based on TargetType. llvm-svn: 24478
* Use subtarget information computed by X86Subtarget instead of rolling our own.Chris Lattner2005-11-213-29/+22
| | | | llvm-svn: 24477
* Make the X86 subtarget compute the basic target type: ELF, Cygwin, Darwin,Chris Lattner2005-11-212-15/+24
| | | | | | or native Win32 llvm-svn: 24476
* Add a forELF flag, allowing the removal of forCygwin and simplification ofChris Lattner2005-11-214-7/+12
| | | | | | conditionals. llvm-svn: 24475
* simplify and genericize this codeChris Lattner2005-11-211-55/+69
| | | | llvm-svn: 24473
* add support for div/rem to the dag->dag isel. yay.Duraid Madina2005-11-211-0/+180
| | | | llvm-svn: 24472
* Eliminate unneeded intermediate class. Move doFinalizeMethod to bottom ofChris Lattner2005-11-211-99/+88
| | | | | | file. llvm-svn: 24470
* Start using shared asmprinter Constant Pool emitter, use shorter cpi names.Chris Lattner2005-11-211-26/+5
| | | | llvm-svn: 24469
* prune #includeChris Lattner2005-11-211-1/+0
| | | | llvm-svn: 24468
* Switch to using the shared constant pool printer, along with using shorterChris Lattner2005-11-214-31/+5
| | | | | | CPI ids llvm-svn: 24467
* Switch to using the generic constant pool emitter impl, use shorterChris Lattner2005-11-211-25/+2
| | | | | | CPI names llvm-svn: 24466
* Use generic constant pool emission code in the AsmPrinter class.Chris Lattner2005-11-211-30/+4
| | | | llvm-svn: 24465
* Use the FunctionNumber provided by the AsmPrinter classChris Lattner2005-11-211-19/+15
| | | | llvm-svn: 24462
* Use CommentString where possible, fix a bug where aix mode wouldn't assembleChris Lattner2005-11-211-4/+4
| | | | | | due to basic blocks being misnamed. llvm-svn: 24459
* unify the darwin and aix constant pool printersChris Lattner2005-11-211-48/+28
| | | | llvm-svn: 24458
* Adjust to capitalized AsmPrinter method namesChris Lattner2005-11-216-32/+32
| | | | llvm-svn: 24456
* Use PrivateGlobalPrefix for basic block labels. This allows the x86 darwinChris Lattner2005-11-212-5/+9
| | | | | | port to properly use L for the bb prefix instead of . llvm-svn: 24454
* use PrivateGlobalPrefix for basic blocksChris Lattner2005-11-211-5/+6
| | | | llvm-svn: 24453
* Use PrivateGlobalPrefix for basic block labelsChris Lattner2005-11-211-2/+4
| | | | llvm-svn: 24452
* Use PrivateGlobalPrefix for basic blocksChris Lattner2005-11-211-6/+6
| | | | llvm-svn: 24451
* 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
* 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
* Lower READCYCLECOUNTER correctly, preserving the chain resultChris Lattner2005-11-201-4/+8
| | | | llvm-svn: 24438
* 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
* The second patch of X86 support for read cycle counter.Andrew Lenharth2005-11-204-0/+20
| | | | llvm-svn: 24430
* 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
* Add load and other support to the dag-dag isel. Patch contributed by EvanChris Lattner2005-11-191-2/+225
| | | | | | Cheng! llvm-svn: 24419
* prevent latent switch creationAndrew Lenharth2005-11-181-2/+2
| | | | llvm-svn: 24413
* 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
* 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
OpenPOWER on IntegriCloud