summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/SIShrinkInstructions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* R600/SI: Move continue after checking s_mov_b32.Matt Arsenault2014-12-081-3/+3
| | | | | | There's nothing else to bother trying to shrink these. llvm-svn: 223686
* R600/SI: Use s_movk_i32Matt Arsenault2014-11-131-0/+13
| | | | llvm-svn: 221922
* R600/SI: Also check for FPImm literal constantsMatt Arsenault2014-10-171-1/+1
| | | | llvm-svn: 220067
* R600/SI: Simplify code with hasModifiersSetMatt Arsenault2014-10-171-9/+8
| | | | llvm-svn: 220065
* R600/SI: Cleanup code with ChangeToFPImmediateMatt Arsenault2014-10-171-4/+3
| | | | llvm-svn: 220063
* Fix typoMatt Arsenault2014-09-211-4/+3
| | | | llvm-svn: 218223
* Fix typoMatt Arsenault2014-09-161-1/+1
| | | | llvm-svn: 217892
* Fix typoMatt Arsenault2014-09-131-4/+4
| | | | llvm-svn: 217730
* Remove 'virtual' keyword from methods markedwith 'override' keyword.Craig Topper2014-08-301-3/+3
| | | | llvm-svn: 216823
* Have MachineFunction cache a pointer to the subtarget to make lookupsEric Christopher2014-08-051-2/+2
| | | | | | | | | | | shorter/easier and have the DAG use that to do the same lookup. This can be used in the future for TargetMachine based caching lookups from the MachineFunction easily. Update the MIPS subtarget switching machinery to update this pointer at the same time it runs. llvm-svn: 214838
* Remove the TargetMachine forwards for TargetSubtargetInfo basedEric Christopher2014-08-041-1/+2
| | | | | | information and update all callers. No functional change. llvm-svn: 214781
* R600/SI: Remove leftover debugging codeTom Stellard2014-08-011-2/+0
| | | | llvm-svn: 214569
* R600/SI: Do abs/neg folding with ComplexPatternsTom Stellard2014-08-011-1/+1
| | | | | | | | | | Abs/neg folding has moved out of foldOperands and into the instruction selection phase using complex patterns. As a consequence of this change, we now prefer to select the 64-bit encoding for most instructions and the modifier operands have been dropped from integer VOP3 instructions. llvm-svn: 214467
* R600/SI: Fold immediates when shrinking instructionsTom Stellard2014-08-011-9/+77
| | | | | | | This will prevent us from using extra MOV instructions once we prefer selecting 64-bit instructions. llvm-svn: 214464
* R600/SI: Fix incorrect commute operation in shrink instructions passTom Stellard2014-08-011-3/+8
| | | | | | | | We were commuting the instruction by still shrinking it using the original opcode. NOTE: This is a candidate for the 3.5 branch. llvm-svn: 214463
* R600/SI: Add instruction shrinking passTom Stellard2014-07-211-0/+189
This pass converts 64-bit instructions to 32-bit when possible. llvm-svn: 213561
OpenPOWER on IntegriCloud