summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add lengthof and endof templates that hide a lot of sizeof computations.Owen Anderson2007-09-071-1/+2
| | | | | | Patch by Sterling Stein! llvm-svn: 41758
* 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
* BlockHasNoFallThrough() now returns true if block ends with a return ↵Evan Cheng2007-05-211-0/+1
| | | | | | instruction. llvm-svn: 37266
* RemoveBranch() and InsertBranch() now returns number of instructions deleted ↵Evan Cheng2007-05-181-9/+12
| | | | | | / inserted. llvm-svn: 37192
* Relex assertions to account for additional implicit def / use operands.Evan Cheng2007-04-251-5/+5
| | | | llvm-svn: 36430
* What should be the last unnecessary <iostream>s in the library.Bill Wendling2006-12-071-1/+0
| | | | llvm-svn: 32333
* Change MachineInstr ctor's to take a TargetInstrDescriptor reference insteadEvan Cheng2006-11-271-5/+5
| | | | | | of opcode and number of operands. llvm-svn: 31947
* convert PPC::BCC to use the 'pred' operand instead of separate predicateChris Lattner2006-11-171-3/+3
| | | | | | | | value and CR reg #. This requires swapping the order of these everywhere that touches BCC and requires us to write custom matching logic for PPCcondbranch :( llvm-svn: 31835
* rename PPC::COND_BRANCH to PPC::BCCChris Lattner2006-11-171-7/+7
| | | | llvm-svn: 31834
* start using PPC predicates more consistently.Chris Lattner2006-11-171-1/+2
| | | | llvm-svn: 31833
* Properly transfer kill / dead info.Evan Cheng2006-11-151-0/+10
| | | | llvm-svn: 31765
* Matches MachineInstr changes.Evan Cheng2006-11-131-1/+1
| | | | llvm-svn: 31712
* implement the BlockHasNoFallThrough hookChris Lattner2006-10-281-0/+11
| | | | llvm-svn: 31264
* Implement support for branch reversal, fix a bug in branch analysis.Chris Lattner2006-10-211-2/+5
| | | | | | | | | | | | | | | | This provides stuff like: cmpw cr0, r15, r29 mr r14, r15 - bge cr0, LBB3_111 ;bb656 - b LBB3_90 ;bb501 + blt cr0, LBB3_90 ;bb501 LBB3_111: ;bb656 lwz r18, 68(r1) which is particularly good for dispatch group formation. llvm-svn: 31101
* Simplify code, no functionality changeChris Lattner2006-10-211-4/+2
| | | | llvm-svn: 31097
* implement support for inserting a cond branchChris Lattner2006-10-211-4/+8
| | | | llvm-svn: 31096
* add support for inserting an uncond branchChris Lattner2006-10-171-2/+8
| | | | llvm-svn: 31003
* implement branch inspection/modification methods.Chris Lattner2006-10-131-0/+93
| | | | llvm-svn: 30946
* In 64-bit mode, 64-bit GPRs are callee saved, not 32-bit ones.Chris Lattner2006-07-111-1/+2
| | | | llvm-svn: 29096
* Rename OR4 -> OR. Move some PPC64-specific stuff to the 64-bit fileChris Lattner2006-06-201-1/+1
| | | | llvm-svn: 28889
* Implement the getPointerRegClass method, which is required for the ptr_rcChris Lattner2006-06-171-3/+13
| | | | | | magic to work. llvm-svn: 28847
* Move some methods out of MachineInstr into MachineOperandChris Lattner2006-05-041-2/+2
| | | | llvm-svn: 28102
* teach the ppc backend how to spill/reload vector regsChris Lattner2006-03-161-1/+1
| | | | llvm-svn: 26806
* Add support for copying registers. still needed: spilling and reloading themChris Lattner2006-03-161-1/+1
| | | | llvm-svn: 26800
* implement TII::insertNoopChris Lattner2006-03-051-0/+5
| | | | llvm-svn: 26562
* add 64b gpr store to the possible list of isStoreToStackSlot opcodes.Nate Begeman2006-02-021-1/+1
| | | | llvm-svn: 25916
* implement isStoreToStackSlot for PPCChris Lattner2006-02-021-1/+18
| | | | llvm-svn: 25914
* Move isLoadFrom/StoreToStackSlot from MRegisterInfo to TargetInstrInfo,a far ↵Chris Lattner2006-02-021-0/+19
| | | | | | more logical place. Other methods should also be moved if anyoneis interested. :) llvm-svn: 25913
* teach ppc backend these are copiesChris Lattner2005-10-191-1/+2
| | | | llvm-svn: 23813
* First bits of 64 bit PowerPC stuff, currently disabled. A lot of this isNate Begeman2005-10-181-1/+1
| | | | | | purely mechanical. llvm-svn: 23778
* More PPC32 -> PPC changes, as well as merging some classes that wereNate Begeman2005-10-161-6/+6
| | | | | | redundant after the change. llvm-svn: 23759
* Rename PPC32*.h to PPC*.hChris Lattner2005-10-141-0/+111
This completes the grand PPC file renaming llvm-svn: 23745
OpenPOWER on IntegriCloud