summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC
Commit message (Collapse)AuthorAgeFilesLines
* Fix arguments for some Altivec instructions. From SWB.Dale Johannesen2007-08-091-9/+15
| | | | llvm-svn: 40957
* Fix spelling of mtvscr and mfvscr.Dale Johannesen2007-08-071-2/+2
| | | | llvm-svn: 40908
* long double patch 2 of N. Handle it in TargetData.Dale Johannesen2007-08-031-2/+2
| | | | | | | (I've tried to get the info right for all targets, but I'm not expert on all of them - check yours.) llvm-svn: 40792
* More explicit keywords.Dan Gohman2007-08-021-1/+1
| | | | llvm-svn: 40757
* Some out operands were incorrectly specified as input operands.Evan Cheng2007-08-012-17/+17
| | | | llvm-svn: 40697
* Vector fneg must be expanded into fsub -0.0, X.Evan Cheng2007-07-303-2/+21
| | | | llvm-svn: 40586
* Support for trampolines, except for X86 codegen which isDuncan Sands2007-07-271-1/+4
| | | | | | still under discussion. llvm-svn: 40549
* Don't ignore the return value of AsmPrinter::doInitialization andDan Gohman2007-07-251-8/+6
| | | | | | AsmPrinter::doFinalization. llvm-svn: 40487
* Fix debug info and globals filled with zeros.Nick Lewycky2007-07-252-13/+26
| | | | llvm-svn: 40483
* No more noResults.Evan Cheng2007-07-213-14/+11
| | | | llvm-svn: 40132
* Added -print-emitted-asm to print out JIT generated asm to cerr.Evan Cheng2007-07-202-4/+8
| | | | llvm-svn: 40123
* Oops. These stores actually produce results.Evan Cheng2007-07-202-9/+9
| | | | llvm-svn: 40074
* Change instruction description to split OperandList into OutOperandList andEvan Cheng2007-07-196-463/+479
| | | | | | | | | | | | | | | InOperandList. This gives one piece of important information: # of results produced by an instruction. An example of the change: def ADD32rr : I<0x01, MRMDestReg, (ops GR32:$dst, GR32:$src1, GR32:$src2), "add{l} {$src2, $dst|$dst, $src2}", [(set GR32:$dst, (add GR32:$src1, GR32:$src2))]>; => def ADD32rr : I<0x01, MRMDestReg, (outs GR32:$dst), (ins GR32:$src1, GR32:$src2), "add{l} {$src2, $dst|$dst, $src2}", [(set GR32:$dst, (add GR32:$src1, GR32:$src2))]>; llvm-svn: 40033
* Long live the exception handling!Anton Korobeynikov2007-07-142-4/+6
| | | | | | | | | | | | | | | This patch fills the last necessary bits to enable exceptions handling in LLVM. Currently only on x86-32/linux. In fact, this patch adds necessary intrinsics (and their lowering) which represent really weird target-specific gcc builtins used inside unwinder. After corresponding llvm-gcc patch will land (easy) exceptions should be more or less workable. However, exceptions handling support should not be thought as 'finished': I expect many small and not so small glitches everywhere. llvm-svn: 39855
* Skeleton of post-RA scheduler; doesn't do anything yet.Dale Johannesen2007-07-131-1/+1
| | | | | | | Change name of -sched option and DEBUG_TYPE to pre-RA-sched; adjust testcases. llvm-svn: 39816
* Assert when TLS is not implemented.Lauro Ramos Venancio2007-07-111-0/+7
| | | | llvm-svn: 39737
* Change getCopyToParts and getCopyFromParts to always use target-endianDan Gohman2007-07-091-2/+2
| | | | | | | | register ordering, for both physical and virtual registers. Update the PPC target lowering for calls to expect registers for the call result to already be in target order. llvm-svn: 38471
* The various "getModuleMatchQuality" implementations should returnChris Lattner2007-07-091-0/+3
| | | | | | zero if they see a target triple they don't understand. llvm-svn: 38463
* Do away with ImmutablePredicateOperand.Evan Cheng2007-07-061-2/+2
| | | | llvm-svn: 37961
* Here is the bulk of the sanitizing.Gabor Greif2007-07-052-2/+2
| | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
* PPC conditional branch predicate does not change after isel.Evan Cheng2007-07-051-1/+2
| | | | llvm-svn: 37893
* Convert .cvsignore filesJohn Criswell2007-06-291-2/+0
| | | | llvm-svn: 37801
* Prevent PPC::BCC first operand, the PRED number, from being isel'd into a LI ↵Evan Cheng2007-06-291-1/+4
| | | | | | instruction. llvm-svn: 37790
* Move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits fromDan Gohman2007-06-223-6/+8
| | | | | | | | | TargetLowering to SelectionDAG so that they have more convenient access to the current DAG, in preparation for the ValueType routines being changed from standalone functions to members of SelectionDAG for the pre-legalize vector type changes. llvm-svn: 37704
* describe an argument, hide it.Chris Lattner2007-06-191-1/+3
| | | | llvm-svn: 37650
* If a function is vararg, never pass inreg arguments in registers. Thanks toChris Lattner2007-06-191-1/+2
| | | | | | Anton for half of this patch. llvm-svn: 37641
* Rename MVT::getVectorBaseType to MVT::getVectorElementType.Dan Gohman2007-06-141-2/+2
| | | | llvm-svn: 37579
* Handle blocks with 2 unconditional branches in AnalyzeBranch.Dale Johannesen2007-06-131-0/+10
| | | | llvm-svn: 37571
* Add a utility routine to check for unpredicated terminator instruction.Evan Cheng2007-06-081-3/+3
| | | | llvm-svn: 37528
* Implementation of compilation callback in PPC ELF32Nicolas Geoffray2007-05-291-31/+32
| | | | llvm-svn: 37340
* name change requested by review of previous patchDale Johannesen2007-05-222-2/+2
| | | | llvm-svn: 37289
* Make tail merging the default, except on powerPC. There was no prior artDale Johannesen2007-05-222-0/+5
| | | | | | | for a target-dependent default with a command-line override; this way should be generally usable. llvm-svn: 37285
* BlockHasNoFallThrough() now returns true if block ends with a return ↵Evan Cheng2007-05-211-0/+1
| | | | | | instruction. llvm-svn: 37266
* Apply this patch:Dan Gohman2007-05-181-1/+1
| | | | | | http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070514/049845.html llvm-svn: 37240
* RemoveBranch() and InsertBranch() now returns number of instructions deleted ↵Evan Cheng2007-05-182-13/+16
| | | | | | / inserted. llvm-svn: 37192
* add support for 128-bit add/sub on ppc64Chris Lattner2007-05-171-0/+34
| | | | llvm-svn: 37158
* fix some subtle inline asm selection issuesChris Lattner2007-05-151-9/+17
| | | | llvm-svn: 37067
* PredicateOperand can be used as a normal operand for isel.Evan Cheng2007-05-081-1/+1
| | | | llvm-svn: 36947
* R0 is a sub-register of X0, etc.Evan Cheng2007-05-081-3/+3
| | | | llvm-svn: 36939
* revert accidental commitChris Lattner2007-05-031-1/+3
| | | | llvm-svn: 36668
* add support for printing offset of globalChris Lattner2007-05-032-3/+6
| | | | llvm-svn: 36667
* Drop 'const'Devang Patel2007-05-032-4/+4
| | | | llvm-svn: 36662
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-022-4/+4
| | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
* Do not use typeinfo to identify pass in pass manager.Devang Patel2007-05-012-1/+7
| | | | llvm-svn: 36632
* eliminateFrameIndex() change.Evan Cheng2007-05-012-2/+4
| | | | llvm-svn: 36626
* llvm bug #1350, parts 1, 2, and 3.Nate Begeman2007-05-011-1/+50
| | | | llvm-svn: 36618
* Match MachineFunction::UsedPhysRegs changes.Evan Cheng2007-04-251-7/+6
| | | | llvm-svn: 36452
* Relex assertions to account for additional implicit def / use operands.Evan Cheng2007-04-251-5/+5
| | | | llvm-svn: 36430
* Fix PR1351 and CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.llChris Lattner2007-04-241-0/+6
| | | | llvm-svn: 36410
* Fix a bug in PPCTargetLowering::isLegalAddressingMode, scales other than 0/1/2Chris Lattner2007-04-091-0/+3
| | | | | | are always unsupported. llvm-svn: 35835
OpenPOWER on IntegriCloud