llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc
Matt Arsenault ca64ef2043 MC: Allow getMaxInstLength to depend on the subtarget
Keep it optional in cases this is ever needed in some global
context. Currently it's only used for getting an upper bound inline
asm code size.

For AMDGPU, gfx10 increases the maximum instruction size to
20-bytes. This avoids penalizing older subtargets when estimating code
size, and making some annoying branch relaxation test adjustments.

llvm-svn: 361405
2019-05-22 16:28:41 +00:00
..
AMDGPUAsmBackend.cpp AMDGPU: Set ABI version to 1 for code object v3 2019-02-14 23:56:04 +00:00
AMDGPUELFObjectWriter.cpp AMDGPU: Set ABI version to 1 for code object v3 2019-02-14 23:56:04 +00:00
AMDGPUELFStreamer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUELFStreamer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUFixupKinds.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUInstPrinter.cpp [AMDGPU] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 00:03:35 +00:00
AMDGPUInstPrinter.h [AMDGPU] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 00:03:35 +00:00
AMDGPUMCAsmInfo.cpp MC: Allow getMaxInstLength to depend on the subtarget 2019-05-22 16:28:41 +00:00
AMDGPUMCAsmInfo.h MC: Allow getMaxInstLength to depend on the subtarget 2019-05-22 16:28:41 +00:00
AMDGPUMCCodeEmitter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AMDGPUMCCodeEmitter.h Use bitset for assembler predicates 2019-03-11 17:04:35 +00:00
AMDGPUMCTargetDesc.cpp [AMDGPU] Create a TargetInfo header. NFC 2019-05-14 21:54:37 +00:00
AMDGPUMCTargetDesc.h [AMDGPU] Create a TargetInfo header. NFC 2019-05-14 21:54:37 +00:00
AMDGPUTargetStreamer.cpp [AMDGPU] gfx1010 s_code_end generation 2019-05-03 21:26:39 +00:00
AMDGPUTargetStreamer.h [AMDGPU] gfx1010 s_code_end generation 2019-05-03 21:26:39 +00:00
CMakeLists.txt [AMDGPU] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 00:03:35 +00:00
LLVMBuild.txt [AMDGPU] Move InstPrinter files to MCTargetDesc. NFC 2019-05-11 00:03:35 +00:00
R600MCCodeEmitter.cpp Use bitset for assembler predicates 2019-03-11 17:04:35 +00:00
R600MCTargetDesc.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SIMCCodeEmitter.cpp [AMDGPU][MC] Enabled expressions for most operands which accept integer values 2019-05-17 13:17:48 +00:00