1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/Target/AMDGPU
Matt Arsenault c3c5eef5bb AMDGPU: Remove unnecessary ands when f16 is legal
Add a new node to act as a fancy bitcast from f16 operations to
i32 that implicitly zero the high 16-bits of the result.

Alternatively could try making v2f16 legal and canonicalizing
on build_vectors.

llvm-svn: 299246
2017-03-31 19:53:03 +00:00
..
AsmParser [AMDGPU][MC] Fix for Bug 28207 + LIT tests 2017-03-27 15:57:17 +00:00
Disassembler AMDGPU: Add VOP3P instruction format 2017-02-27 18:49:11 +00:00
InstPrinter [AMDGPU][MC] Fix for Bugs 28200, 28202 + LIT tests 2017-03-20 14:50:35 +00:00
MCTargetDesc [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
TargetInfo
Utils [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPU.h [AMDGPU] Add GlobalOpt parameter to Always Inliner pass 2017-03-30 20:16:02 +00:00
AMDGPU.td AMDGPU: Always use VGPR indexing on GFX9 2017-03-21 17:00:32 +00:00
AMDGPUAliasAnalysis.cpp AMDGPU/R600: Fix amdgpu alias analysis pass. 2017-03-31 19:26:23 +00:00
AMDGPUAliasAnalysis.h AMDGPU/R600: Fix amdgpu alias analysis pass. 2017-03-31 19:26:23 +00:00
AMDGPUAlwaysInlinePass.cpp [AMDGPU] Add GlobalOpt parameter to Always Inliner pass 2017-03-30 20:16:02 +00:00
AMDGPUAnnotateKernelFeatures.cpp [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUAnnotateUniformValues.cpp [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUAsmPrinter.cpp AMDGPU: Rename isKernel 2017-03-30 23:58:04 +00:00
AMDGPUAsmPrinter.h [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUCallingConv.td AMDGPU: Add f16 to shader calling conventions 2017-02-27 19:24:47 +00:00
AMDGPUCallLowering.cpp [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUCallLowering.h [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUCodeGenPrepare.cpp AMDGPU: Cleanup control flow intrinsics 2017-03-17 20:41:45 +00:00
AMDGPUFrameLowering.cpp [AMDGPU] Split R600/SI getFrameIndexReference and emit stack object offsets for SI 2017-03-10 19:39:07 +00:00
AMDGPUFrameLowering.h [AMDGPU] Split R600/SI getFrameIndexReference and emit stack object offsets for SI 2017-03-10 19:39:07 +00:00
AMDGPUGenRegisterBankInfo.def Re-commit AMDGPU/GlobalISel: Add support for simple shaders 2017-01-30 21:56:46 +00:00
AMDGPUInstrInfo.cpp [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUInstrInfo.h [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUInstrInfo.td AMDGPU: Remove unnecessary ands when f16 is legal 2017-03-31 19:53:03 +00:00
AMDGPUInstructions.td [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUInstructionSelector.cpp [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUInstructionSelector.h [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUIntrinsicInfo.cpp Rename AttributeSet to AttributeList 2017-03-21 16:57:19 +00:00
AMDGPUIntrinsicInfo.h
AMDGPUIntrinsics.td AMDGPU: Remove llvm.AMDGPU.clamp intrinsic 2017-02-21 23:46:04 +00:00
AMDGPUISelDAGToDAG.cpp [AMDGPU][MC] Fix for Bug 28207 + LIT tests 2017-03-27 15:57:17 +00:00
AMDGPUISelLowering.cpp AMDGPU: Remove unnecessary ands when f16 is legal 2017-03-31 19:53:03 +00:00
AMDGPUISelLowering.h AMDGPU: Remove unnecessary ands when f16 is legal 2017-03-31 19:53:03 +00:00
AMDGPULegalizerInfo.cpp Re-commit AMDGPU/GlobalISel: Add support for simple shaders 2017-01-30 21:56:46 +00:00
AMDGPULegalizerInfo.h Re-commit AMDGPU/GlobalISel: Add support for simple shaders 2017-01-30 21:56:46 +00:00
AMDGPULowerIntrinsics.cpp AMDGPU::expandMemIntrinsicUses(): Fix an uninitialized variable. This function returned true or undef. 2017-02-12 13:15:31 +00:00
AMDGPUMachineFunction.cpp AMDGPU: Rename isKernel 2017-03-30 23:58:04 +00:00
AMDGPUMachineFunction.h AMDGPU: Rename isKernel 2017-03-30 23:58:04 +00:00
AMDGPUMCInstLower.cpp AMDGPU: Rename SI_RETURN 2017-03-21 22:18:10 +00:00
AMDGPUMCInstLower.h
AMDGPUOpenCLImageTypeLoweringPass.cpp
AMDGPUPromoteAlloca.cpp [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUPTNote.h [AMDGPU] Restructure code object metadata creation 2017-03-22 22:32:22 +00:00
AMDGPURegisterBankInfo.cpp AMDGPU: Fix release build broken by r293551 2017-01-30 22:02:58 +00:00
AMDGPURegisterBankInfo.h Re-commit AMDGPU/GlobalISel: Add support for simple shaders 2017-01-30 21:56:46 +00:00
AMDGPURegisterBanks.td Re-commit AMDGPU/GlobalISel: Add support for simple shaders 2017-01-30 21:56:46 +00:00
AMDGPURegisterInfo.cpp
AMDGPURegisterInfo.h
AMDGPURegisterInfo.td
AMDGPUSubtarget.cpp [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUSubtarget.h [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUTargetMachine.cpp [AMDGPU] Add GlobalOpt parameter to Always Inliner pass 2017-03-30 20:16:02 +00:00
AMDGPUTargetMachine.h [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUTargetObjectFile.cpp [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUTargetObjectFile.h [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUTargetTransformInfo.cpp [AMDGPU] Boost unroll threshold for loops reading local memory 2017-03-28 22:13:51 +00:00
AMDGPUTargetTransformInfo.h [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUUnifyDivergentExitNodes.cpp AMDGPU: Unify divergent function exits. 2017-03-24 19:52:05 +00:00
AMDGPUUnifyMetadata.cpp [AMDGPU] Turn AMDGPUUnifyMetadata back into module pass 2017-01-27 16:38:10 +00:00
AMDILCFGStructurizer.cpp Drop graph_ prefix 2017-02-09 20:37:46 +00:00
AMDKernelCodeT.h
BUFInstructions.td [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
CaymanInstructions.td
CIInstructions.td
CMakeLists.txt AMDGPU: Unify divergent function exits. 2017-03-24 19:52:05 +00:00
DSInstructions.td AMDGPU: Add ds_nop to assembler 2017-02-28 20:15:46 +00:00
EvergreenInstructions.td AMDGPU: Fix unnecessary ands when packing f16 vectors 2017-03-15 19:04:26 +00:00
FLATInstructions.td [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
GCNHazardRecognizer.cpp AMDGPU: Fix broken condition in hazard recognizer 2017-03-17 21:36:28 +00:00
GCNHazardRecognizer.h AMDGPU: Fix broken condition in hazard recognizer 2017-03-17 21:36:28 +00:00
GCNIterativeScheduler.cpp [AMDGPU] Iterative scheduling infrastructure + minimal registry scheduler 2017-03-21 13:15:46 +00:00
GCNIterativeScheduler.h [AMDGPU] Iterative scheduling infrastructure + minimal registry scheduler 2017-03-21 13:15:46 +00:00
GCNMinRegStrategy.cpp [AMDGPU] Iterative scheduling infrastructure + minimal registry scheduler 2017-03-21 13:15:46 +00:00
GCNRegPressure.cpp [AMDGPU] Iterative scheduling infrastructure + minimal registry scheduler 2017-03-21 13:15:46 +00:00
GCNRegPressure.h [AMDGPU] Iterative scheduling infrastructure + minimal registry scheduler 2017-03-21 13:15:46 +00:00
GCNSchedStrategy.cpp [AMDGPU] Fix recorded region boundaries in max-occupancy scheduler 2017-03-28 21:48:54 +00:00
GCNSchedStrategy.h [AMDGPU] Fix recorded region boundaries in max-occupancy scheduler 2017-03-28 21:48:54 +00:00
LLVMBuild.txt AMDGPU: Add GlobalISel to required_libraries. 2017-01-28 18:13:08 +00:00
MIMGInstructions.td
Processors.td AMDGPU: Merge initial gfx9 support 2017-02-18 18:29:53 +00:00
R600ClauseMergePass.cpp
R600ControlFlowFinalizer.cpp [AMDGPU] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-20 17:52:16 +00:00
R600Defines.h
R600EmitClauseMarkers.cpp AMDGPU/R600: Fix ALU clause markers use detection 2017-03-06 20:10:05 +00:00
R600ExpandSpecialInstrs.cpp
R600FrameLowering.cpp [AMDGPU] Split R600/SI getFrameIndexReference and emit stack object offsets for SI 2017-03-10 19:39:07 +00:00
R600FrameLowering.h [AMDGPU] Split R600/SI getFrameIndexReference and emit stack object offsets for SI 2017-03-10 19:39:07 +00:00
R600InstrFormats.td
R600InstrInfo.cpp Cyle -> Cycle; NFCI 2017-03-15 15:37:42 +00:00
R600InstrInfo.h Cyle -> Cycle; NFCI 2017-03-15 15:37:42 +00:00
R600Instructions.td [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
R600Intrinsics.td
R600ISelLowering.cpp [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
R600ISelLowering.h
R600MachineFunctionInfo.cpp
R600MachineFunctionInfo.h
R600MachineScheduler.cpp
R600MachineScheduler.h
R600OptimizeVectorRegisters.cpp
R600Packetizer.cpp
R600RegisterInfo.cpp
R600RegisterInfo.h
R600RegisterInfo.td
R600Schedule.td
R700Instructions.td
SIAnnotateControlFlow.cpp AMDGPU: Fix annotating loops with nested loop conditions 2017-03-24 20:57:10 +00:00
SIDebuggerInsertNops.cpp
SIDefines.h AMDGPU: Add VOP3P instruction format 2017-02-27 18:49:11 +00:00
SIFixControlFlowLiveIntervals.cpp
SIFixSGPRCopies.cpp [CodeGen] Rename MachineInstrBuilder::addOperand. NFC 2017-01-13 09:58:52 +00:00
SIFixVGPRCopies.cpp [AMDGPU] Add VGPR copies post regalloc fix pass 2017-01-24 17:46:17 +00:00
SIFoldOperands.cpp [AMDGPU] SDWA Peephole: improve search for immediates in SDWA patterns 2017-03-31 11:42:43 +00:00
SIFrameLowering.cpp [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
SIFrameLowering.h [AMDGPU] Split R600/SI getFrameIndexReference and emit stack object offsets for SI 2017-03-10 19:39:07 +00:00
SIInsertSkips.cpp AMDGPU: Rename SI_RETURN 2017-03-21 22:18:10 +00:00
SIInsertWaits.cpp AMDGPU: Rename SI_RETURN 2017-03-21 22:18:10 +00:00
SIInstrFormats.td AMDGPU: Unify divergent function exits. 2017-03-24 19:52:05 +00:00
SIInstrInfo.cpp [AMDGPU] SDWA Peephole: improve search for immediates in SDWA patterns 2017-03-31 11:42:43 +00:00
SIInstrInfo.h [AMDGPU] SDWA Peephole: improve search for immediates in SDWA patterns 2017-03-31 11:42:43 +00:00
SIInstrInfo.td [AMDGPU][MC] Fix for Bug 28207 + LIT tests 2017-03-27 15:57:17 +00:00
SIInstructions.td AMDGPU: Remove unnecessary ands when f16 is legal 2017-03-31 19:53:03 +00:00
SIIntrinsics.td AMDGPU: Cleanup control flow intrinsics 2017-03-17 20:41:45 +00:00
SIISelLowering.cpp AMDGPU: Remove unnecessary ands when f16 is legal 2017-03-31 19:53:03 +00:00
SIISelLowering.h AMDGPU: Remove unnecessary ands when f16 is legal 2017-03-31 19:53:03 +00:00
SILoadStoreOptimizer.cpp [AMDGPU] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-21 00:53:49 +00:00
SILowerControlFlow.cpp [AMDGPU] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-20 17:52:16 +00:00
SILowerI1Copies.cpp [CodeGen] Rename MachineInstrBuilder::addOperand. NFC 2017-01-13 09:58:52 +00:00
SIMachineFunctionInfo.cpp AMDGPU: Don't use stack space for SGPR->VGPR spills 2017-02-21 19:12:08 +00:00
SIMachineFunctionInfo.h AMDGPU: Don't use stack space for SGPR->VGPR spills 2017-02-21 19:12:08 +00:00
SIMachineScheduler.cpp [AMDGPU] Update SI scheduler colorHighLatenciesGroups 2017-03-28 07:19:48 +00:00
SIMachineScheduler.h [AMDGPU] Update SI scheduler colorHighLatenciesGroups 2017-03-28 07:19:48 +00:00
SIOptimizeExecMasking.cpp
SIPeepholeSDWA.cpp [AMDGPU] SDWA Peephole: improve search for immediates in SDWA patterns 2017-03-31 11:42:43 +00:00
SIRegisterInfo.cpp Revert "Correct register pressure calculation in presence of subregs" 2017-02-24 21:56:16 +00:00
SIRegisterInfo.h Revert "Correct register pressure calculation in presence of subregs" 2017-02-24 21:56:16 +00:00
SIRegisterInfo.td AMDGPU: Fix not including v2i16/v2f16 in register class 2017-03-21 16:42:50 +00:00
SISchedule.td AMDGPU: Implement early ifcvt target hooks. 2017-01-25 04:25:02 +00:00
SIShrinkInstructions.cpp [CodeGen] Rename MachineInstrBuilder::addOperand. NFC 2017-01-13 09:58:52 +00:00
SITypeRewriter.cpp
SIWholeQuadMode.cpp
SMInstructions.td [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
SOPInstructions.td AMDGPU: Add VOP3P instruction format 2017-02-27 18:49:11 +00:00
VIInstrFormats.td
VIInstructions.td
VOP1Instructions.td [AMDGPU][MC] Fix for Bug 28207 + LIT tests 2017-03-27 15:57:17 +00:00
VOP2Instructions.td [AMDGPU][MC] Fix for Bug 30829 + LIT tests 2017-03-03 14:31:06 +00:00
VOP3Instructions.td [AMDGPU][MC] Fix for Bug 28204 + LIT tests 2017-03-22 13:31:01 +00:00
VOP3PInstructions.td AMDGPU: Support v2i16/v2f16 packed operations 2017-02-27 22:15:25 +00:00
VOPCInstructions.td [AMDGPU][MC] Fix for Bug 30829 + LIT tests 2017-03-03 14:31:06 +00:00
VOPInstructions.td [AMDGPU][MC] Fix for Bug 28207 + LIT tests 2017-03-27 15:57:17 +00:00