1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/lib/Target/AMDGPU
Matt Arsenault 38a71294db AMDGPU: Rename OpenCL lowering pass to be R600 specific.
This pass is
  a) broken.
  b) r600 specific.

Fixing (a) is a bit more non-trivial, but fixing (b)
is easy. Move this pass to being R600 only for now.

This pass does pass all the unit tests, however clang
no longer generates code that looks like the unit test
input, so fixing the pass requires fixing the tests and
the pass as one, and checking it works with clang still.

Patch by Dave Airlie

llvm-svn: 332196
2018-05-13 10:04:48 +00:00
..
AsmParser [AMDGPU] Added checks for dpp_ctrl value 2018-05-08 16:53:02 +00:00
Disassembler AMDGPU: Add Vega12 and Vega20 2018-04-30 19:08:16 +00:00
InstPrinter [AMDGPU] Added checks for dpp_ctrl value 2018-05-08 16:53:02 +00:00
MCTargetDesc [AMDGPU] Provide machine -> name mapping 2018-05-08 18:53:04 +00:00
TargetInfo Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
Utils Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPU.h AMDGPU: Rename OpenCL lowering pass to be R600 specific. 2018-05-13 10:04:48 +00:00
AMDGPU.td AMDGPU/NFC: Update D16PreservesUnusedBits description based Tony Tye's comments 2018-05-04 22:53:55 +00:00
AMDGPUAliasAnalysis.cpp [AMDGPU] Change constant addr space to 4 2018-02-13 18:00:25 +00:00
AMDGPUAliasAnalysis.h
AMDGPUAlwaysInlinePass.cpp
AMDGPUAnnotateKernelFeatures.cpp
AMDGPUAnnotateUniformValues.cpp
AMDGPUArgumentUsageInfo.cpp
AMDGPUArgumentUsageInfo.h
AMDGPUAsmPrinter.cpp [AMDGPU] Fix compilation failure when IR contains comdat 2018-05-11 20:40:14 +00:00
AMDGPUAsmPrinter.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUCallingConv.td
AMDGPUCallLowering.cpp AMDGPU/GlobalISel: Don't try to lower hull shaders 2018-05-07 22:17:54 +00:00
AMDGPUCallLowering.h
AMDGPUCodeGenPrepare.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUFrameLowering.cpp
AMDGPUFrameLowering.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUGenRegisterBankInfo.def AMDGPU/GlobalISel: Use a more correct getValueMapping 2018-03-01 21:08:51 +00:00
AMDGPUGISel.td AMDGPU/GlobalISel: Implement select() for 32-bit G_FPTOUI 2018-05-11 05:44:16 +00:00
AMDGPUInline.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUInstrInfo.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUInstrInfo.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUInstrInfo.td
AMDGPUInstructions.td [AMDGPU] Supported ds_write_b128 generation. 2018-03-16 18:12:00 +00:00
AMDGPUInstructionSelector.cpp AMDGPU/GlobalISel: Implement select() for >32-bit G_STORE 2018-05-11 23:12:49 +00:00
AMDGPUInstructionSelector.h AMDGPU/GlobalISel: Implement select() for 32-bit G_FPTOUI 2018-05-11 05:44:16 +00:00
AMDGPUIntrinsicInfo.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUIntrinsicInfo.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUIntrinsics.td AMDGPU: Remove deprecated llvm.AMDGPU.kilp intrinsic 2018-04-24 21:37:57 +00:00
AMDGPUISelDAGToDAG.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUISelLowering.cpp AMDGPU: Ignore any_extend in mul24 combine 2018-05-09 21:11:35 +00:00
AMDGPUISelLowering.h AMDGPU: Add combine for trunc of bitcast from build_vector 2018-05-09 18:37:39 +00:00
AMDGPULegalizerInfo.cpp [IR][CodeGen] Remove dependency on EVT from IR/Function.cpp. Move EVT to CodeGen layer. 2018-03-29 17:21:10 +00:00
AMDGPULegalizerInfo.h AMDGPU/GlobalISel: Pass subtarget + TM to LegalizerInfo 2018-03-08 16:24:16 +00:00
AMDGPULibCalls.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPULibFunc.cpp
AMDGPULibFunc.h
AMDGPULowerIntrinsics.cpp
AMDGPUMachineCFGStructurizer.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
AMDGPUMachineFunction.cpp
AMDGPUMachineFunction.h [NFC] fix trivial typos in document and comments 2018-04-14 08:59:00 +00:00
AMDGPUMachineModuleInfo.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUMachineModuleInfo.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUMacroFusion.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUMacroFusion.h
AMDGPUMCInstLower.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUMCInstLower.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUOpenCLEnqueuedBlockLowering.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUPromoteAlloca.cpp AMDGPU/SI: Don't promote alloca to vector for AddrSpaceCast instruction. 2018-05-11 22:17:57 +00:00
AMDGPUPTNote.h
AMDGPURegAsmNames.inc.cpp
AMDGPURegisterBankInfo.cpp AMDGPU/GlobalISel: RegBankSelect for basic int ops 2018-03-19 14:07:23 +00:00
AMDGPURegisterBankInfo.h AMDGPU/GlobalISel: Define instruction mapping for G_OR 2018-03-01 21:25:25 +00:00
AMDGPURegisterBanks.td AMDGPU/GlobalISel: Define InstrMappings for G_ICMP 2018-03-01 19:27:10 +00:00
AMDGPURegisterInfo.cpp AMDGPU: Make getSubRegFromChannel a static member of AMDGPURegisterInfo 2018-05-03 22:38:06 +00:00
AMDGPURegisterInfo.h AMDGPU: Make getSubRegFromChannel a static member of AMDGPURegisterInfo 2018-05-03 22:38:06 +00:00
AMDGPURegisterInfo.td
AMDGPURewriteOutArguments.cpp
AMDGPUSearchableTables.td AMDGPU: Dimension-aware image intrinsics 2018-04-04 10:58:54 +00:00
AMDGPUSubtarget.cpp AMDGPU/GlobalISel: Enable TableGen'd instruction selector 2018-05-10 20:53:06 +00:00
AMDGPUSubtarget.h AMDGPU: Add D16 instructions preserve unused bits feature 2018-05-04 20:06:57 +00:00
AMDGPUTargetMachine.cpp AMDGPU: Rename OpenCL lowering pass to be R600 specific. 2018-05-13 10:04:48 +00:00
AMDGPUTargetMachine.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUTargetObjectFile.cpp
AMDGPUTargetObjectFile.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDGPUTargetTransformInfo.cpp [AMDGPU] Support horizontal vectorization of min/max. 2018-05-09 21:18:34 +00:00
AMDGPUTargetTransformInfo.h [AMDGPU] Support horizontal vectorization of min/max. 2018-05-09 21:18:34 +00:00
AMDGPUUnifyDivergentExitNodes.cpp AMDGPU: Use eraseFromParent to delete am instruction when it is no longer needed. 2018-05-08 18:32:35 +00:00
AMDGPUUnifyMetadata.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
AMDILCFGStructurizer.cpp Fix layering of MachineValueType.h by moving it from CodeGen to Support 2018-03-23 23:58:25 +00:00
AMDKernelCodeT.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
BUFInstructions.td AMDGPU: Add D16 instructions preserve unused bits feature 2018-05-04 20:06:57 +00:00
CaymanInstructions.td
CMakeLists.txt AMDGPU: Rename OpenCL lowering pass to be R600 specific. 2018-05-13 10:04:48 +00:00
DSInstructions.td AMDGPU: Add D16 instructions preserve unused bits feature 2018-05-04 20:06:57 +00:00
EvergreenInstructions.td
FLATInstructions.td AMDGPU: Add D16 instructions preserve unused bits feature 2018-05-04 20:06:57 +00:00
GCNHazardRecognizer.cpp [DebugInfo] Examine all uses of isDebugValue() for debug instructions. 2018-05-09 02:42:00 +00:00
GCNHazardRecognizer.h
GCNILPSched.cpp
GCNIterativeScheduler.cpp [AMDGPU] Fix amdgpu-waves-per-eu accounting in scheduler 2018-05-12 01:41:56 +00:00
GCNIterativeScheduler.h
GCNMinRegStrategy.cpp
GCNProcessors.td AMDGPU: Add Vega12 and Vega20 2018-04-30 19:08:16 +00:00
GCNRegPressure.cpp [DebugInfo] Examine all uses of isDebugValue() for debug instructions. 2018-05-09 02:42:00 +00:00
GCNRegPressure.h
GCNSchedStrategy.cpp [AMDGPU] Fix amdgpu-waves-per-eu accounting in scheduler 2018-05-12 01:41:56 +00:00
GCNSchedStrategy.h
LLVMBuild.txt
MIMGInstructions.td [AMDGPU][MC] Added support of 3-element addresses for MIMG instructions 2018-04-04 13:01:17 +00:00
R600ClauseMergePass.cpp
R600ControlFlowFinalizer.cpp AMDGPU: Make getSubRegFromChannel a static member of AMDGPURegisterInfo 2018-05-03 22:38:06 +00:00
R600Defines.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
R600EmitClauseMarkers.cpp
R600ExpandSpecialInstrs.cpp AMDGPU: Make getSubRegFromChannel a static member of AMDGPURegisterInfo 2018-05-03 22:38:06 +00:00
R600FrameLowering.cpp
R600FrameLowering.h
R600InstrFormats.td
R600InstrInfo.cpp AMDGPU: Make getSubRegFromChannel a static member of AMDGPURegisterInfo 2018-05-03 22:38:06 +00:00
R600InstrInfo.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
R600Instructions.td AMDGPU: Remove deprecated llvm.AMDGPU.kilp intrinsic 2018-04-24 21:37:57 +00:00
R600Intrinsics.td AMDGPU/R600: Move int_r600_store_stream_output to the public intrinsic file 2018-04-25 20:02:53 +00:00
R600ISelLowering.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
R600ISelLowering.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
R600MachineFunctionInfo.cpp
R600MachineFunctionInfo.h
R600MachineScheduler.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
R600MachineScheduler.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
R600OpenCLImageTypeLoweringPass.cpp AMDGPU: Rename OpenCL lowering pass to be R600 specific. 2018-05-13 10:04:48 +00:00
R600OptimizeVectorRegisters.cpp
R600Packetizer.cpp
R600Processors.td
R600RegisterInfo.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
R600RegisterInfo.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
R600RegisterInfo.td
R600Schedule.td
R700Instructions.td
SIAnnotateControlFlow.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SIDebuggerInsertNops.cpp [DebugInfo] Examine all uses of isDebugValue() for debug instructions. 2018-05-09 02:42:00 +00:00
SIDefines.h [AMDGPU] Added checks for dpp_ctrl value 2018-05-08 16:53:02 +00:00
SIFixSGPRCopies.cpp [AMDGPU] Revert b0efc4fd6 (https://reviews.llvm.org/D40556) 2018-04-25 12:32:46 +00:00
SIFixVGPRCopies.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SIFixWWMLiveness.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SIFoldOperands.cpp AMDGPU: Add Vega12 and Vega20 2018-04-30 19:08:16 +00:00
SIFrameLowering.cpp AMDGPU: Assign enum name to stack ID 2018-04-23 15:51:26 +00:00
SIFrameLowering.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SIInsertSkips.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SIInsertWaitcnts.cpp [DebugInfo] Examine all uses of isDebugValue() for debug instructions. 2018-05-09 02:42:00 +00:00
SIInstrFormats.td [MachineOperand][Target] MachineOperand::isRenamable semantics changes 2018-02-23 18:25:08 +00:00
SIInstrInfo.cpp [AMDGPU] Added checks for dpp_ctrl value 2018-05-08 16:53:02 +00:00
SIInstrInfo.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SIInstrInfo.td AMDGPU: Add Vega12 and Vega20 2018-04-30 19:08:16 +00:00
SIInstructions.td AMDGPU: Add Vega12 and Vega20 2018-04-30 19:08:16 +00:00
SIIntrinsics.td
SIISelLowering.cpp AMDGPU: Make undef legal for v2i16/v2f16 2018-05-13 10:04:38 +00:00
SIISelLowering.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SILoadStoreOptimizer.cpp AMDGPU: Track physreg uses in SILoadStoreOptimizer 2018-02-23 10:45:56 +00:00
SILowerControlFlow.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SILowerI1Copies.cpp AMDGPU: Fix copying i1 value out of loop with non-uniform exit 2018-04-04 10:57:58 +00:00
SIMachineFunctionInfo.cpp AMDGPU: Fix not preserving CSR VGPR if used for SGPR spills 2018-03-27 19:42:55 +00:00
SIMachineFunctionInfo.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SIMachineScheduler.cpp [DebugInfo] Examine all uses of isDebugValue() for debug instructions. 2018-05-09 02:42:00 +00:00
SIMachineScheduler.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SIMemoryLegalizer.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SIOptimizeExecMasking.cpp AMDGPU: Fix a corner case crash in SIOptimizeExecMasking 2018-04-23 13:05:50 +00:00
SIOptimizeExecMaskingPreRA.cpp [DebugInfo] Examine all uses of isDebugValue() for debug instructions. 2018-05-09 02:42:00 +00:00
SIPeepholeSDWA.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
SIRegisterInfo.cpp AMDGPU/GlobalISel: Implement select() for >32-bit G_STORE 2018-05-11 23:12:49 +00:00
SIRegisterInfo.h AMDGPU/GlobalISel: Enable TableGen'd instruction selector 2018-05-10 20:53:06 +00:00
SIRegisterInfo.td
SISchedule.td [SchedModel] Complete models shouldn't match against itineraries when they don't use them (PR35639) 2018-04-05 13:11:36 +00:00
SIShrinkInstructions.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
SIWholeQuadMode.cpp [AMDGPU] Don't force WQM for DS op 2018-05-07 13:21:26 +00:00
SMInstructions.td [AMDGPU][MC][VI][GFX9] Added s_atc_probe* instructions 2018-04-06 15:48:39 +00:00
SOPInstructions.td [AMDGPU][MC][GFX9] Added instructions s_mul_hi_*32, s_lshl*_add_u32 2018-04-09 13:10:33 +00:00
VIInstrFormats.td
VIInstructions.td
VOP1Instructions.td [AMDGPU][MC][GFX9] Added v_screen_partition_4se_b32 2018-04-11 13:13:30 +00:00
VOP2Instructions.td AMDGPU: Add Vega12 and Vega20 2018-04-30 19:08:16 +00:00
VOP3Instructions.td [AMDGPU] Fixed some instructions latencies 2018-03-30 16:19:13 +00:00
VOP3PInstructions.td AMDGPU: Add Vega12 and Vega20 2018-04-30 19:08:16 +00:00
VOPCInstructions.td [AMDGPU][MC] Corrected default values for unused SDWA operands 2018-03-16 15:40:27 +00:00
VOPInstructions.td AMDGPU: Introduce common SOP_Pseudo and VOP_Pseudo TableGen base classes 2018-03-26 13:56:53 +00:00