1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/lib/Target/AMDGPU
Marek Olsak bb1829874b AMDGPU/SI: Don't reserve FLAT_SCR on non-HSA targets & without stack objects
Summary: This frees 2 scalar registers.

Reviewers: tstellarAMD

Subscribers: qcolombet, arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye

Differential Revision: https://reviews.llvm.org/D27150

llvm-svn: 289261
2016-12-09 19:49:48 +00:00
..
AsmParser AMDGPU: Consolidate inline immediate predicate functions 2016-12-05 22:26:17 +00:00
Disassembler AMDGPU: Disallow exec as SMEM instruction operand 2016-11-29 19:39:53 +00:00
InstPrinter AMDGPU: Change how exp is printed 2016-12-05 20:31:49 +00:00
MCTargetDesc Check that emitted instructions meet their predicates on all targets except ARM, Mips, and X86. 2016-11-19 13:05:44 +00:00
TargetInfo Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
Utils AMDGPU: Consolidate inline immediate predicate functions 2016-12-05 22:26:17 +00:00
AMDGPU.h [AMDGPU] Add amdgpu-unify-metadata pass 2016-12-08 19:46:04 +00:00
AMDGPU.td [AMDGPU] Add f16 support (VI+) 2016-11-13 07:01:11 +00:00
AMDGPUAlwaysInlinePass.cpp
AMDGPUAnnotateKernelFeatures.cpp
AMDGPUAnnotateUniformValues.cpp [AMDGPU] Scalarization of global uniform loads. 2016-12-08 17:28:47 +00:00
AMDGPUAsmPrinter.cpp AMDGPU/SI: Don't reserve FLAT_SCR on non-HSA targets & without stack objects 2016-12-09 19:49:48 +00:00
AMDGPUAsmPrinter.h AMDGPU: Emit runtime metadata as a note element in .note section 2016-11-10 21:18:49 +00:00
AMDGPUCallingConv.td
AMDGPUCallLowering.cpp
AMDGPUCallLowering.h
AMDGPUCodeGenPrepare.cpp AMDGPU: Fix crash on i16 constant expression 2016-12-06 23:18:06 +00:00
AMDGPUFrameLowering.cpp
AMDGPUFrameLowering.h
AMDGPUInstrInfo.cpp MachineScheduler: Export function to construct "default" scheduler. 2016-11-28 20:11:54 +00:00
AMDGPUInstrInfo.h MachineScheduler: Export function to construct "default" scheduler. 2016-11-28 20:11:54 +00:00
AMDGPUInstrInfo.td AMDGPU : Add S_SETREG instructions to fix fdiv precision issues. 2016-12-07 02:42:15 +00:00
AMDGPUInstructions.td [AMDGPU] Add f16 support (VI+) 2016-11-13 07:01:11 +00:00
AMDGPUIntrinsicInfo.cpp
AMDGPUIntrinsicInfo.h
AMDGPUIntrinsics.td
AMDGPUISelDAGToDAG.cpp AMDGPU : Add S_SETREG instructions to fix fdiv precision issues. 2016-12-07 02:42:15 +00:00
AMDGPUISelLowering.cpp AMDGPU: Fix i128 mul 2016-12-09 17:49:14 +00:00
AMDGPUISelLowering.h AMDGPU : Add S_SETREG instructions to fix fdiv precision issues. 2016-12-07 02:42:15 +00:00
AMDGPUMachineFunction.cpp
AMDGPUMachineFunction.h AMDGPU/SI: Set correct value for amd_kernel_code_t::kernarg_segment_alignment 2016-12-06 21:53:10 +00:00
AMDGPUMCInstLower.cpp [AMDGPU] Add wave barrier builtin 2016-11-15 19:00:15 +00:00
AMDGPUMCInstLower.h
AMDGPUOpenCLImageTypeLoweringPass.cpp
AMDGPUPromoteAlloca.cpp
AMDGPUPTNote.h AMDGPU: Emit runtime metadata as a note element in .note section 2016-11-10 21:18:49 +00:00
AMDGPURegisterInfo.cpp
AMDGPURegisterInfo.h
AMDGPURegisterInfo.td
AMDGPURuntimeMetadata.h AMDGPU: Attempt to fix build failure on x86-64 selfhost build 2016-11-11 02:48:50 +00:00
AMDGPUSubtarget.cpp [AMDGPU] Scalarization of global uniform loads. 2016-12-08 17:28:47 +00:00
AMDGPUSubtarget.h [AMDGPU] Scalarization of global uniform loads. 2016-12-08 17:28:47 +00:00
AMDGPUTargetMachine.cpp [AMDGPU] Add amdgpu-unify-metadata pass 2016-12-08 19:46:04 +00:00
AMDGPUTargetMachine.h [AMDGPU] Add amdgpu-unify-metadata pass 2016-12-08 19:46:04 +00:00
AMDGPUTargetObjectFile.cpp Target: Change various section classifiers in TargetLoweringObjectFile to take a GlobalObject. 2016-10-24 19:23:39 +00:00
AMDGPUTargetObjectFile.h Target: Change various section classifiers in TargetLoweringObjectFile to take a GlobalObject. 2016-10-24 19:23:39 +00:00
AMDGPUTargetTransformInfo.cpp
AMDGPUTargetTransformInfo.h Do a sweep over move ctors and remove those that are identical to the default. 2016-10-20 12:20:28 +00:00
AMDGPUUnifyMetadata.cpp [AMDGPU] Add amdgpu-unify-metadata pass 2016-12-08 19:46:04 +00:00
AMDILCFGStructurizer.cpp
AMDKernelCodeT.h
BUFInstructions.td AMDGPU: Add VI i16 support 2016-11-10 16:02:37 +00:00
CaymanInstructions.td
CIInstructions.td
CMakeLists.txt [AMDGPU] Add amdgpu-unify-metadata pass 2016-12-08 19:46:04 +00:00
DSInstructions.td AMDGPU: Add VI i16 support 2016-11-10 16:02:37 +00:00
EvergreenInstructions.td
FLATInstructions.td AMDGPU: Rename flat operands to match mubuf 2016-11-29 19:30:44 +00:00
GCNHazardRecognizer.cpp AMDGPU: Rename flat operands to match mubuf 2016-11-29 19:30:44 +00:00
GCNHazardRecognizer.h AMDGPU/SI: Handle hazard with s_rfe_b64 2016-10-27 23:50:21 +00:00
GCNSchedStrategy.cpp AMDGPU/SI: Allow using SGPRs 96-101 on VI 2016-12-09 19:49:40 +00:00
GCNSchedStrategy.h
LLVMBuild.txt
MIMGInstructions.td [AMDGPU] TableGen: change individual instruction flags to bit type from bits<1> 2016-11-15 13:39:07 +00:00
Processors.td AMDGPU: Refactor processor definition to use ISA version features 2016-10-26 16:37:56 +00:00
R600ClauseMergePass.cpp
R600ControlFlowFinalizer.cpp
R600Defines.h
R600EmitClauseMarkers.cpp
R600ExpandSpecialInstrs.cpp
R600FrameLowering.cpp
R600FrameLowering.h
R600InstrFormats.td
R600InstrInfo.cpp
R600InstrInfo.h
R600Instructions.td AMDGPU: Refactor exp instructions 2016-12-05 20:23:10 +00:00
R600Intrinsics.td
R600ISelLowering.cpp AMDGPU: Refactor exp instructions 2016-12-05 20:23:10 +00:00
R600ISelLowering.h
R600MachineFunctionInfo.cpp
R600MachineFunctionInfo.h
R600MachineScheduler.cpp
R600MachineScheduler.h
R600OptimizeVectorRegisters.cpp
R600Packetizer.cpp Fix spelling mistakes in AMDGPU target comments. NFC. 2016-11-18 11:04:02 +00:00
R600RegisterInfo.cpp
R600RegisterInfo.h
R600RegisterInfo.td
R600Schedule.td
R700Instructions.td
SIAnnotateControlFlow.cpp
SIDebuggerInsertNops.cpp
SIDefines.h AMDGPU: Clean up instruction bits 2016-12-09 17:49:08 +00:00
SIFixControlFlowLiveIntervals.cpp
SIFixSGPRCopies.cpp AMDGPU/SI: Don't move copies of immediates to the VALU 2016-12-06 21:13:30 +00:00
SIFoldOperands.cpp AMDGPU : Add S_SETREG instructions to fix fdiv precision issues. 2016-12-07 02:42:15 +00:00
SIFrameLowering.cpp AMDGPU: Fix using incorrect private resource with no allocation 2016-10-28 19:43:31 +00:00
SIFrameLowering.h
SIInsertSkips.cpp AMDGPU: Refactor exp instructions 2016-12-05 20:23:10 +00:00
SIInsertWaits.cpp AMDGPU: Refactor exp instructions 2016-12-05 20:23:10 +00:00
SIInstrFormats.td AMDGPU: Clean up instruction bits 2016-12-09 17:49:08 +00:00
SIInstrInfo.cpp AMDGPU : Add S_SETREG instructions to fix fdiv precision issues. 2016-12-07 02:42:15 +00:00
SIInstrInfo.h AMDGPU: Refactor exp instructions 2016-12-05 20:23:10 +00:00
SIInstrInfo.td AMDGPU: Assembler support for exp 2016-12-05 20:42:41 +00:00
SIInstructions.td AMDGPU: Make f16 ConstantFP legal 2016-12-08 20:14:46 +00:00
SIIntrinsics.td AMDGPU: Refactor exp instructions 2016-12-05 20:23:10 +00:00
SIISelLowering.cpp AMDGPU: Fix isTypeDesirableForOp for i16 2016-12-09 17:57:43 +00:00
SIISelLowering.h AMDGPU: Make f16 ConstantFP legal 2016-12-08 20:14:46 +00:00
SILoadStoreOptimizer.cpp [AMDGPU][CodeGen] To improve CGEMM performance: combine LDS reads. 2016-11-03 14:37:13 +00:00
SILowerControlFlow.cpp [AMDGPU] Allow hoisting of comparisons out of a loop and eliminate condition copies 2016-11-28 18:58:49 +00:00
SILowerI1Copies.cpp [AMDGPU] Allow hoisting of comparisons out of a loop and eliminate condition copies 2016-11-28 18:58:49 +00:00
SIMachineFunctionInfo.cpp
SIMachineFunctionInfo.h
SIMachineScheduler.cpp Fix spelling mistakes in AMDGPU target comments. NFC. 2016-11-18 11:04:02 +00:00
SIMachineScheduler.h
SIOptimizeExecMasking.cpp
SIRegisterInfo.cpp AMDGPU/SI: Don't reserve FLAT_SCR on non-HSA targets & without stack objects 2016-12-09 19:49:48 +00:00
SIRegisterInfo.h AMDGPU/SI: Don't reserve FLAT_SCR on non-HSA targets & without stack objects 2016-12-09 19:49:48 +00:00
SIRegisterInfo.td AMDGPU: Allow TBA, TMA, TTMP* registers with SMEM instructions 2016-12-09 17:49:11 +00:00
SISchedule.td
SIShrinkInstructions.cpp [AMDGPU] Add f16 support (VI+) 2016-11-13 07:01:11 +00:00
SITypeRewriter.cpp
SIWholeQuadMode.cpp AMDGPU/SI: Add back reverted SGPR spilling code, but disable it 2016-11-25 17:37:09 +00:00
SMInstructions.td [AMDGPU] Scalarization of global uniform loads. 2016-12-08 17:28:47 +00:00
SOPInstructions.td AMDGPU : Add S_SETREG instructions to fix fdiv precision issues. 2016-12-07 02:42:15 +00:00
VIInstrFormats.td
VIInstructions.td AMDGPU: Add VI i16 support 2016-11-10 16:02:37 +00:00
VOP1Instructions.td Check that emitted instructions meet their predicates on all targets except ARM, Mips, and X86. 2016-11-19 13:05:44 +00:00
VOP2Instructions.td AMDGPU: Select i16 instructions to VOP3 forms 2016-12-09 06:19:12 +00:00
VOP3Instructions.td [AMDGPU] Handle f16 select{_cc} 2016-11-16 03:16:26 +00:00
VOPCInstructions.td [AMDGPU] Add f16 support (VI+) 2016-11-13 07:01:11 +00:00
VOPInstructions.td Fix spelling mistakes in AMDGPU target comments. NFC. 2016-11-18 11:04:02 +00:00