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
Stanislav Mekhanoshin e7e6d76e45 [AMDGPU] Run always inliner early in opt
We can mark functions to always inline early in the opt. Since we do not have
call support this early inlining creates opportunities for inter-procedural
optimizations which would not occur otherwise.

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

llvm-svn: 297958
2017-03-16 16:11:46 +00:00
..
AsmParser [AMDGPU][MC] Fix for Bug 30829 + LIT tests 2017-03-03 14:31:06 +00:00
Disassembler AMDGPU: Add VOP3P instruction format 2017-02-27 18:49:11 +00:00
InstPrinter AMDGPU: Add VOP3P instruction format 2017-02-27 18:49:11 +00:00
MCTargetDesc Rename PT_NOTE namespace name used in AMDGPUPTNote.h 2017-03-10 19:35:43 +00:00
TargetInfo Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
Utils [AMDGPU][MC] Fix for Bug 30829 + LIT tests 2017-03-03 14:31:06 +00:00
AMDGPU.h AMDGPU: Merge initial gfx9 support 2017-02-18 18:29:53 +00:00
AMDGPU.td AMDGPU: Add VOP3P instruction format 2017-02-27 18:49:11 +00:00
AMDGPUAlwaysInlinePass.cpp Use StringRef in Pass/PassManager APIs (NFC) 2016-10-01 02:56:57 +00:00
AMDGPUAnnotateKernelFeatures.cpp AMDGPU: Merge initial gfx9 support 2017-02-18 18:29:53 +00:00
AMDGPUAnnotateUniformValues.cpp [AMDGPU] Scalarization of global uniform loads. 2016-12-08 17:28:47 +00:00
AMDGPUAsmPrinter.cpp AMDGPU: Redefine clamp node as clamp 0.0-1.0 2017-02-21 23:35:48 +00:00
AMDGPUAsmPrinter.h [AMDGPU] Lower null pointers in static variable initializer 2017-02-07 00:43:21 +00:00
AMDGPUCallingConv.td AMDGPU: Add f16 to shader calling conventions 2017-02-27 19:24:47 +00:00
AMDGPUCallLowering.cpp Recommit: [globalisel] Change LLT constructor string into an LLT-based object that knows how to generate it. 2017-03-07 23:20:35 +00:00
AMDGPUCallLowering.h Re-commit AMDGPU/GlobalISel: Add support for simple shaders 2017-01-30 21:56:46 +00:00
AMDGPUCodeGenPrepare.cpp AMDGPU: Support v2i16/v2f16 packed operations 2017-02-27 22:15:25 +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: Merge initial gfx9 support 2017-02-18 18:29:53 +00:00
AMDGPUInstrInfo.h MachineScheduler: Export function to construct "default" scheduler. 2016-11-28 20:11:54 +00:00
AMDGPUInstrInfo.td AMDGPU: Fix unnecessary ands when packing f16 vectors 2017-03-15 19:04:26 +00:00
AMDGPUInstructions.td AMDGPU: Use v_med3_{f16|i16|u16} 2017-02-27 22:40:39 +00:00
AMDGPUInstructionSelector.cpp AMDGPU/SI: Fix inst-select-load-smrd.mir on some builds 2017-01-31 15:24:11 +00:00
AMDGPUInstructionSelector.h Re-commit AMDGPU/GlobalISel: Add support for simple shaders 2017-01-30 21:56:46 +00:00
AMDGPUIntrinsicInfo.cpp
AMDGPUIntrinsicInfo.h
AMDGPUIntrinsics.td AMDGPU: Remove llvm.AMDGPU.clamp intrinsic 2017-02-21 23:46:04 +00:00
AMDGPUISelDAGToDAG.cpp AMDGPU: Support v2i16/v2f16 packed operations 2017-02-27 22:15:25 +00:00
AMDGPUISelLowering.cpp AMDGPU: Fix unnecessary ands when packing f16 vectors 2017-03-15 19:04:26 +00:00
AMDGPUISelLowering.h AMDGPU: Fix unnecessary ands when packing f16 vectors 2017-03-15 19:04:26 +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: Fold omod into instructions 2017-02-27 19:35:42 +00:00
AMDGPUMachineFunction.h AMDGPU: Fold omod into instructions 2017-02-27 19:35:42 +00:00
AMDGPUMCInstLower.cpp [AMDGPU] Lower null pointers in static variable initializer 2017-02-07 00:43:21 +00:00
AMDGPUMCInstLower.h Reapply "AMDGPU: Support using tablegened MC pseudo expansions" 2016-10-06 17:19:11 +00:00
AMDGPUOpenCLImageTypeLoweringPass.cpp Use StringRef in Pass/PassManager APIs (NFC) 2016-10-01 02:56:57 +00:00
AMDGPUPromoteAlloca.cpp [AMDGPU] Account workgroup size in LDS occupancy limits 2017-02-01 22:59:50 +00:00
AMDGPUPTNote.h Rename PT_NOTE namespace name used in AMDGPUPTNote.h 2017-03-10 19:35:43 +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
AMDGPURuntimeMetadata.h [AMDGPU] Add target information that is required by tools to metadata 2017-02-08 14:05:23 +00:00
AMDGPUSubtarget.cpp AMDGPU: Add VOP3P instruction format 2017-02-27 18:49:11 +00:00
AMDGPUSubtarget.h AMDGPU: Use v_med3_{f16|i16|u16} 2017-02-27 22:40:39 +00:00
AMDGPUTargetMachine.cpp [AMDGPU] Run always inliner early in opt 2017-03-16 16:11:46 +00:00
AMDGPUTargetMachine.h AMDGPU: Treat 0 as private null pointer in addrspacecast lowering 2017-03-13 19:47:31 +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 AMDGPU/SI: Disable unrolling in the loop vectorizer if the loop is not vectorized. 2017-03-09 00:07:00 +00:00
AMDGPUTargetTransformInfo.h LoadStoreVectorizer: Split even sized illegal chains properly 2017-02-23 03:58:53 +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/SI: Add a MachineMemOperand when lowering llvm.amdgcn.buffer.load.* 2016-12-20 17:19:44 +00:00
CaymanInstructions.td
CIInstructions.td
CMakeLists.txt AMDGPU: Add pass to expand memcpy/memmove/memset 2017-02-09 22:00:42 +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: split ret/noret patterns for global atomics 2016-12-23 15:34:51 +00:00
GCNHazardRecognizer.cpp Reverted unintended commit 2017-03-15 14:47:30 +00:00
GCNHazardRecognizer.h AMDGPU: Merge initial gfx9 support 2017-02-18 18:29:53 +00:00
GCNSchedStrategy.cpp [AMDGPU] Remove getBidirectionalReasonRank 2017-03-11 00:29:27 +00:00
GCNSchedStrategy.h [AMDGPU] Add second pass of the scheduler 2017-02-28 19:20:33 +00:00
LLVMBuild.txt AMDGPU: Add GlobalISel to required_libraries. 2017-01-28 18:13:08 +00:00
MIMGInstructions.td AMDGPU/SI: Add a MachineMemOperand to MIMG instructions 2016-12-20 15:52:17 +00:00
Processors.td AMDGPU: Merge initial gfx9 support 2017-02-18 18:29:53 +00:00
R600ClauseMergePass.cpp Use StringRef in Pass/PassManager APIs (NFC) 2016-10-01 02:56:57 +00:00
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 Use StringRef in Pass/PassManager APIs (NFC) 2016-10-01 02:56:57 +00:00
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: Remove llvm.AMDGPU.cube intrinsic 2017-02-16 19:09:04 +00:00
R600Intrinsics.td
R600ISelLowering.cpp AMDGPU: Cleanup fmin/fmax legacy function 2017-02-01 00:42:40 +00:00
R600ISelLowering.h
R600MachineFunctionInfo.cpp
R600MachineFunctionInfo.h
R600MachineScheduler.cpp
R600MachineScheduler.h [AMDGPU, PowerPC, TableGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2016-12-09 22:06:55 +00:00
R600OptimizeVectorRegisters.cpp [AMDGPU, PowerPC, TableGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2016-12-12 22:23:53 +00:00
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 AMDGPU: Minor SIAnnotateControlFlow cleanups 2017-03-15 18:00:12 +00:00
SIDebuggerInsertNops.cpp Use StringRef in Pass/PassManager APIs (NFC) 2016-10-01 02:56:57 +00:00
SIDefines.h AMDGPU: Add VOP3P instruction format 2017-02-27 18:49:11 +00:00
SIFixControlFlowLiveIntervals.cpp Use StringRef in Pass/PassManager APIs (NFC) 2016-10-01 02:56:57 +00:00
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: Support v2i16/v2f16 packed operations 2017-02-27 22:15:25 +00:00
SIFrameLowering.cpp [AMDGPU] Split R600/SI getFrameIndexReference and emit stack object offsets for SI 2017-03-10 19:39:07 +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: Remove spurious out branches after a kill 2017-01-24 22:18:39 +00:00
SIInsertWaits.cpp AMDGPU: Don't wait at end of block with a trivial successor 2017-03-08 01:06:58 +00:00
SIInstrFormats.td AMDGPU: Add VOP3P instruction format 2017-02-27 18:49:11 +00:00
SIInstrInfo.cpp AMDGPU: Keep track of modifiers when converting v_mac to v_mad 2017-03-11 05:40:40 +00:00
SIInstrInfo.h AMDGPU: Support v2i16/v2f16 packed operations 2017-02-27 22:15:25 +00:00
SIInstrInfo.td AMDGPU: Fix types for VOP_I16_I16_I16 2017-02-28 21:31:45 +00:00
SIInstructions.td AMDGPU: Fix unnecessary ands when packing f16 vectors 2017-03-15 19:04:26 +00:00
SIIntrinsics.td AMDGPU: Remove packf16 intrinsic 2017-03-11 05:51:16 +00:00
SIISelLowering.cpp AMDGPU: Allow sinking of addressing modes for atomic_inc/dec 2017-03-15 23:15:12 +00:00
SIISelLowering.h AMDGPU: Allow sinking of addressing modes for atomic_inc/dec 2017-03-15 23:15:12 +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: Fixed '!NodePtr->isKnownSentinel()' assert 2016-12-22 16:06:32 +00:00
SIMachineScheduler.h Revert "[AMDGPU] Fix for SIMachineScheduler crash. SI Scheduler should track" 2017-02-14 14:29:05 +00:00
SIOptimizeExecMasking.cpp AMDGPU: Fix use-after-free in SIOptimizeExecMasking 2016-10-07 08:40:14 +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: Add VOP3P instruction format 2017-02-27 18:49:11 +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 Use StringRef in Pass/PassManager APIs (NFC) 2016-10-01 02:56:57 +00:00
SIWholeQuadMode.cpp [AMDGPU, PowerPC, TableGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2016-12-09 22:06:55 +00:00
SMInstructions.td AMDGPU: Remove a useless VI SMRD pattern 2017-01-30 12:25:14 +00:00
SOPInstructions.td AMDGPU: Add VOP3P instruction format 2017-02-27 18:49:11 +00:00
VIInstrFormats.td
VIInstructions.td AMDGPU: Add VI i16 support 2016-11-10 16:02:37 +00:00
VOP1Instructions.td AMDGPU: Fix unnecessary ands when packing f16 vectors 2017-03-15 19:04:26 +00:00
VOP2Instructions.td [AMDGPU][MC] Fix for Bug 30829 + LIT tests 2017-03-03 14:31:06 +00:00
VOP3Instructions.td AMDGPU: Add definition for v_xad_u32 2017-02-28 20:27:30 +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 30829 + LIT tests 2017-03-03 14:31:06 +00:00