llvm-project/llvm/lib/Target/AMDGPU
Richard Trieu 8ce2ee9d56 [AMDGPU] Create a TargetInfo header. NFC
Move the declarations of getThe<Name>Target() functions into a new header in
TargetInfo and make users of these functions include this new header.
This fixes a layering problem.

llvm-svn: 360713
2019-05-14 21:54:37 +00:00
..
AsmParser [AMDGPU] Create a TargetInfo header. NFC 2019-05-14 21:54:37 +00:00
Disassembler [AMDGPU] Create a TargetInfo header. NFC 2019-05-14 21:54:37 +00:00
MCTargetDesc [AMDGPU] Create a TargetInfo header. NFC 2019-05-14 21:54:37 +00:00
TargetInfo [AMDGPU] Create a TargetInfo header. NFC 2019-05-14 21:54:37 +00:00
Utils [AMDGPU] gfx1010 changes for PAL metadata 2019-05-09 16:34:13 +00:00
AMDGPU.h [AMDGPU] Create a TargetInfo header. NFC 2019-05-14 21:54:37 +00:00
AMDGPU.td [AMDGPU] Add gfx1010 target definitions 2019-04-24 17:03:15 +00:00
AMDGPUAliasAnalysis.cpp [AliasAnalysis] Second prototype to cache BasicAA / anyAA state. 2019-03-22 17:22:19 +00:00
AMDGPUAliasAnalysis.h [AliasAnalysis] Second prototype to cache BasicAA / anyAA state. 2019-03-22 17:22:19 +00:00
AMDGPUAlwaysInlinePass.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUAnnotateKernelFeatures.cpp AMDGPU: Handle "uniform-work-group-size" attribute (fix for RADV) 2019-03-07 00:54:04 +00:00
AMDGPUAnnotateUniformValues.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUArgumentUsageInfo.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUArgumentUsageInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUAsmPrinter.cpp [AMDGPU] Create a TargetInfo header. NFC 2019-05-14 21:54:37 +00:00
AMDGPUAsmPrinter.h [AMDGPU] Fixed +DumpCode 2019-05-14 16:17:14 +00:00
AMDGPUAtomicOptimizer.cpp AMDGPU: Don't add unnecessary convergent attributes 2019-03-14 13:46:09 +00:00
AMDGPUCallLowering.cpp AMDGPU/GlobalISel: Implement call lowering for shaders returning values 2019-04-09 02:26:03 +00:00
AMDGPUCallLowering.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUCallingConv.td [AMDGPU] Added v5i32 and v5f32 register classes 2019-03-22 10:11:21 +00:00
AMDGPUCodeGenPrepare.cpp [opaque pointer types] Pass value type to LoadInst creation. 2019-02-01 20:44:24 +00:00
AMDGPUFeatures.td AMDGPU: Fix names for generation features 2019-04-03 00:01:03 +00:00
AMDGPUFixFunctionBitcasts.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUFrameLowering.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUFrameLowering.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUGISel.td [AMDGPU] predicate and feature refactoring 2019-04-05 18:24:34 +00:00
AMDGPUGenRegisterBankInfo.def AMDGPU/GlobalISel: Handle split for 64-bit VALU select 2019-02-14 21:58:12 +00:00
AMDGPUHSAMetadataStreamer.cpp [AMDGPU] Fix hidden argument metadata duplication for V3 2019-04-23 14:31:17 +00:00
AMDGPUHSAMetadataStreamer.h [AMDGPU] Switched HSA metadata to use MsgPackDocument 2019-03-13 18:55:50 +00:00
AMDGPUISelDAGToDAG.cpp [AMDGPU] gfx1010 VMEM and SMEM implementation 2019-04-30 22:08:23 +00:00
AMDGPUISelLowering.cpp [AMDGPU] Reapplied BFE canonicalization from D60462 2019-05-08 15:49:10 +00:00
AMDGPUISelLowering.h [AMDGPU] gfx1010 VMEM and SMEM implementation 2019-04-30 22:08:23 +00:00
AMDGPUInline.cpp Avoid "checking a pointer after dereferencing" warning. NFCI. 2019-04-29 17:38:18 +00:00
AMDGPUInstrInfo.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUInstrInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUInstrInfo.td [AMDGPU] gfx1010 allows VOP3 to have a literal 2019-05-02 04:01:39 +00:00
AMDGPUInstructionSelector.cpp [AMDGPU] gfx1010 VMEM and SMEM implementation 2019-04-30 22:08:23 +00:00
AMDGPUInstructionSelector.h AMDGPU/GlobalISel: Implement select for G_INSERT 2019-03-01 00:50:26 +00:00
AMDGPUInstructions.td [AMDGPU] Remove now unused V2FP16_ONE constant def. NFC. 2019-05-13 17:52:57 +00:00
AMDGPULegalizerInfo.cpp AMDGPU/GlobalISel: Fix non-power-of-2 G_EXTRACT sources 2019-04-22 15:22:46 +00:00
AMDGPULegalizerInfo.h AMDGPU/GlobalISel: Legalize addrspacecast 2019-02-08 02:40:47 +00:00
AMDGPULibCalls.cpp [opaque pointer types] Pass value type to LoadInst creation. 2019-02-01 20:44:24 +00:00
AMDGPULibFunc.cpp Delay initialization of three static global maps, NFC 2019-03-28 17:33:41 +00:00
AMDGPULibFunc.h [opaque pointer types] Add a FunctionCallee wrapper type, and use it. 2019-02-01 02:28:03 +00:00
AMDGPULowerIntrinsics.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPULowerKernelArguments.cpp [opaque pointer types] Pass value type to GetElementPtr creation. 2019-02-01 20:44:47 +00:00
AMDGPULowerKernelAttributes.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUMCInstLower.cpp [AMDGPU] Fixed +DumpCode 2019-05-14 16:17:14 +00:00
AMDGPUMachineCFGStructurizer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUMachineFunction.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUMachineFunction.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUMachineModuleInfo.cpp AMDGPU: Add support for cross address space synchronization scopes 2019-03-25 20:50:21 +00:00
AMDGPUMachineModuleInfo.h AMDGPU: Add support for cross address space synchronization scopes 2019-03-25 20:50:21 +00:00
AMDGPUMacroFusion.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUMacroFusion.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUOpenCLEnqueuedBlockLowering.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUPTNote.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUPerfHintAnalysis.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUPerfHintAnalysis.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUPromoteAlloca.cpp [opaque pointer types] Pass value type to GetElementPtr creation. 2019-02-01 20:44:47 +00:00
AMDGPURegAsmNames.inc.cpp [AMDGPU] gfx1010 sgpr register changes 2019-04-24 17:28:30 +00:00
AMDGPURegisterBankInfo.cpp AMDGPU/GlobalISel: Insert waterfall loop for vector indexing 2019-03-29 03:54:56 +00:00
AMDGPURegisterBankInfo.h AMDGPU/GlobalISel: Insert waterfall loop for vector indexing 2019-03-29 03:54:56 +00:00
AMDGPURegisterBanks.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPURegisterInfo.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPURegisterInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPURegisterInfo.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPURewriteOutArguments.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUSearchableTables.td [AMDGPU] Flag new raw/struct atomic ops as source of divergence 2019-04-17 14:04:31 +00:00
AMDGPUSubtarget.cpp [AMDGPU] gfx1010 constant bus limit 2019-05-02 03:47:23 +00:00
AMDGPUSubtarget.h [AMDGPU] gfx1010 constant bus limit 2019-05-02 03:47:23 +00:00
AMDGPUTargetMachine.cpp [AMDGPU] Create a TargetInfo header. NFC 2019-05-14 21:54:37 +00:00
AMDGPUTargetMachine.h MIR: Allow targets to serialize MachineFunctionInfo 2019-03-14 22:54:43 +00:00
AMDGPUTargetObjectFile.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUTargetObjectFile.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUTargetTransformInfo.cpp AMDGPU: Remove dx10-clamp from subtarget features 2019-03-29 19:14:54 +00:00
AMDGPUTargetTransformInfo.h AMDGPU: Assume ECC is enabled by default if supported 2019-04-03 01:58:57 +00:00
AMDGPUUnifyDivergentExitNodes.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUUnifyMetadata.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDILCFGStructurizer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDKernelCodeT.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BUFInstructions.td [AMDGPU] gfx1010 VMEM and SMEM implementation 2019-04-30 22:08:23 +00:00
CMakeLists.txt [AMDGPU] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 00:03:35 +00:00
CaymanInstructions.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DSInstructions.td [AMDGPU] gfx1010 DS implementation 2019-05-01 16:11:11 +00:00
EvergreenInstructions.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FLATInstructions.td [AMDGPU] gfx1010 VMEM and SMEM implementation 2019-04-30 22:08:23 +00:00
GCNDPPCombine.cpp [AMDGPU] Fix DPP combiner 2019-02-08 11:59:48 +00:00
GCNHazardRecognizer.cpp [AMDGPU] Check MI bundles for hazards 2019-05-07 22:12:15 +00:00
GCNHazardRecognizer.h [AMDGPU] Check MI bundles for hazards 2019-05-07 22:12:15 +00:00
GCNILPSched.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GCNIterativeScheduler.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GCNIterativeScheduler.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GCNMinRegStrategy.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GCNNSAReassign.cpp [AMDGPU] gfx1010 GCNNSAReassign pass 2019-05-01 16:40:49 +00:00
GCNProcessors.td [AMDGPU] Add gfx1010 target definitions 2019-04-24 17:03:15 +00:00
GCNRegBankReassign.cpp [AMDGPU] gfx1010 GCNRegBankReassign pass 2019-05-01 16:49:31 +00:00
GCNRegPressure.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GCNRegPressure.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GCNSchedStrategy.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GCNSchedStrategy.h AMDGPU: Mark scheduler classes as final 2019-05-08 22:10:04 +00:00
LLVMBuild.txt [AMDGPU] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 00:03:35 +00:00
MIMGInstructions.td [AMDGPU] gfx1010 MIMG implementation 2019-05-01 16:32:58 +00:00
R600.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600AsmPrinter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600AsmPrinter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600ClauseMergePass.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600ControlFlowFinalizer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600Defines.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600EmitClauseMarkers.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600ExpandSpecialInstrs.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600FrameLowering.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600FrameLowering.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600ISelLowering.cpp Fix compilation warnings when compiling with GCC 7.3 2019-05-06 13:41:54 +00:00
R600ISelLowering.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600InstrFormats.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600InstrInfo.cpp R600InstrInfo.cpp - Add getTransSwizzle assert for the swizzle op index. NFCI. 2019-05-08 10:39:56 +00:00
R600InstrInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600Instructions.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600MachineFunctionInfo.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600MachineFunctionInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600MachineScheduler.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600MachineScheduler.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600OpenCLImageTypeLoweringPass.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600OptimizeVectorRegisters.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600Packetizer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600Processors.td AMDGPU: Fix names for generation features 2019-04-03 00:01:03 +00:00
R600RegisterInfo.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600RegisterInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R600RegisterInfo.td AMDGPU: Separate R600 and GCN TableGen files 2018-06-28 23:47:12 +00:00
R600Schedule.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
R700Instructions.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SIAddIMGInit.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SIAnnotateControlFlow.cpp [AMDGPU] Reorder includes per coding standard. NFC. 2019-05-13 18:05:10 +00:00
SIDefines.h [AMDGPU] gfx1010 utility functions 2019-04-25 18:53:41 +00:00
SIFixSGPRCopies.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SIFixVGPRCopies.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SIFixupVectorISel.cpp [AMDGPU] gfx1010 VMEM and SMEM implementation 2019-04-30 22:08:23 +00:00
SIFoldOperands.cpp AMDGPU: Support shrinking add with FI in SIFoldOperands 2019-05-03 15:21:53 +00:00
SIFormMemoryClauses.cpp [AMDGPU] With XNACK, cannot clause a load with result coalesced with operand 2019-01-23 13:38:06 +00:00
SIFrameLowering.cpp [AMDGPU] gfx1010 VMEM and SMEM implementation 2019-04-30 22:08:23 +00:00
SIFrameLowering.h AMDGPU: Remove debugger related subtarget features 2019-02-21 23:27:46 +00:00
SIISelLowering.cpp [AMDGPU] gfx1010: use fmac instructions 2019-05-04 04:20:37 +00:00
SIISelLowering.h [AMDGPU] gfx1010 loop alignment 2019-05-03 21:17:29 +00:00
SIInsertSkips.cpp [AMDGPU] gfx1010 VOPC implementation 2019-04-26 23:16:16 +00:00
SIInsertWaitcnts.cpp [AMDGPU] gfx1010 wait count insertion 2019-05-03 21:53:53 +00:00
SIInstrFormats.td [AMDGPU] gfx1010 MIMG implementation 2019-05-01 16:32:58 +00:00
SIInstrInfo.cpp [AMDGPU] Fixed handling of imemdiate i1 literals 2019-05-14 16:18:00 +00:00
SIInstrInfo.h [AMDGPU] gfx1010 VOPC implementation 2019-04-26 23:16:16 +00:00
SIInstrInfo.td [AMDGPU] gfx1010 v_interp_* instructions 2019-05-09 18:38:55 +00:00
SIInstructions.td [AMDGPU] gfx1010: use fmac instructions 2019-05-04 04:20:37 +00:00
SILoadStoreOptimizer.cpp [AMDGPU] gfx1010 VMEM and SMEM implementation 2019-04-30 22:08:23 +00:00
SILowerControlFlow.cpp Revert "AMDGPU: Split block for si_end_cf" 2019-04-27 00:51:18 +00:00
SILowerI1Copies.cpp AMDGPU: Fix LCSSA phi lowering in SILowerI1Copies 2019-04-23 13:12:52 +00:00
SIMachineFunctionInfo.cpp Enforce StackID definition in PEI 2019-04-02 09:46:52 +00:00
SIMachineFunctionInfo.h [AMDGPU] Pre-allocate WWM registers to reduce VGPR pressure. 2019-04-01 15:19:52 +00:00
SIMachineScheduler.cpp [CodeGen] Add "const" to MachineInstr::mayAlias 2019-04-19 09:08:38 +00:00
SIMachineScheduler.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SIMemoryLegalizer.cpp [AMDGPU] gfx1010 memory legalizer 2019-05-06 21:57:02 +00:00
SIModeRegister.cpp [SIMode] Fix typo in Status constructor 2019-05-08 10:24:22 +00:00
SIOptimizeExecMasking.cpp Revert "AMDGPU: Split block for si_end_cf" 2019-04-27 00:51:18 +00:00
SIOptimizeExecMaskingPreRA.cpp Revert "AMDGPU: Split block for si_end_cf" 2019-04-27 00:51:18 +00:00
SIPeepholeSDWA.cpp [AMDGPU] gfx1010: use fmac instructions 2019-05-04 04:20:37 +00:00
SIPreAllocateWWMRegs.cpp [AMDGPU] Pre-allocate WWM registers to reduce VGPR pressure. 2019-04-01 15:19:52 +00:00
SIProgramInfo.h [AMDGPU] gfx1010 s_code_end generation 2019-05-03 21:26:39 +00:00
SIRegisterInfo.cpp [AMDGPU] gfx1010 VMEM and SMEM implementation 2019-04-30 22:08:23 +00:00
SIRegisterInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SIRegisterInfo.td [AMDGPU] gfx1010 sgpr register changes 2019-04-24 17:28:30 +00:00
SISchedule.td [AMDGPU] Add gfx1010 target definitions 2019-04-24 17:03:15 +00:00
SIShrinkInstructions.cpp [AMDGPU] gfx1010 MIMG implementation 2019-05-01 16:32:58 +00:00
SIWholeQuadMode.cpp [AMDGPU] Pre-allocate WWM registers to reduce VGPR pressure. 2019-04-01 15:19:52 +00:00
SMInstructions.td [AMDGPU] gfx1010 VMEM and SMEM implementation 2019-04-30 22:08:23 +00:00
SOPInstructions.td [AMDGPU] gfx1010 SOP instructions 2019-04-24 20:44:34 +00:00
VIInstrFormats.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
VIInstructions.td Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
VOP1Instructions.td [AMDGPU] gfx1010 VOP2 changes 2019-04-26 16:37:51 +00:00
VOP2Instructions.td [AMDGPU][GFX8][GFX9] Corrected predicate of v_*_co_u32 aliases 2019-05-14 19:16:24 +00:00
VOP3Instructions.td [AMDGPU] Pattern for v_xor3_b32 2019-05-10 00:09:01 +00:00
VOP3PInstructions.td [AMDGPU] gfx1010 VOP3 and VOP3P implementation 2019-04-26 17:56:03 +00:00
VOPCInstructions.td [AMDGPU] gfx1010 VOPC implementation 2019-04-26 23:16:16 +00:00
VOPInstructions.td [AMDGPU] gfx1010 VOP1 instructions 2019-04-25 19:01:51 +00:00