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/MCTargetDesc
Alex Bradbury 4a2d4860e6 Add MCContext argument to MCAsmBackend::applyFixup for error reporting
A number of backends (AArch64, MIPS, ARM) have been using
MCContext::reportError to report issues such as out-of-range fixup values in
their TgtAsmBackend. This is great, but because MCContext couldn't easily be
threaded through to the adjustFixupValue helper function from its usual
callsite (applyFixup), these backends ended up adding an MCContext* argument
and adding another call to applyFixup to processFixupValue. Adding an
MCContext parameter to applyFixup makes this unnecessary, and even better -
applyFixup can take a reference to MCContext rather than a potentially null
pointer.

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

llvm-svn: 299529
2017-04-05 10:16:14 +00:00
..
AMDGPUAsmBackend.cpp Add MCContext argument to MCAsmBackend::applyFixup for error reporting 2017-04-05 10:16:14 +00:00
AMDGPUCodeObjectMetadata.h [AMDGPU] Rename Kind to ValueKind in metadata to be consistent 2017-03-24 18:43:15 +00:00
AMDGPUCodeObjectMetadataStreamer.cpp [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUCodeObjectMetadataStreamer.h [AMDGPU] Get address space mapping by target triple environment 2017-03-27 14:04:01 +00:00
AMDGPUELFObjectWriter.cpp [AMDGPU] Fix some Include What You Use warnings; other minor fixes (NFC). 2017-02-03 23:38:40 +00:00
AMDGPUELFStreamer.cpp
AMDGPUELFStreamer.h
AMDGPUFixupKinds.h
AMDGPUMCAsmInfo.cpp Revert "AMDGPU: Set MCAsmInfo::PointerSize" 2017-03-07 04:44:33 +00:00
AMDGPUMCAsmInfo.h
AMDGPUMCCodeEmitter.cpp
AMDGPUMCCodeEmitter.h Check that emitted instructions meet their predicates on all targets except ARM, Mips, and X86. 2016-11-19 13:05:44 +00:00
AMDGPUMCTargetDesc.cpp Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
AMDGPUMCTargetDesc.h Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
AMDGPUTargetStreamer.cpp [AMDGPU] Do not emit isa info as code object metadata 2017-03-22 23:27:09 +00:00
AMDGPUTargetStreamer.h [AMDGPU] Do not emit isa info as code object metadata 2017-03-22 23:27:09 +00:00
CMakeLists.txt [AMDGPU] Restructure code object metadata creation 2017-03-22 22:32:22 +00:00
LLVMBuild.txt Fix requirements. 2016-11-10 23:53:45 +00:00
R600MCCodeEmitter.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
SIMCCodeEmitter.cpp AMDGPU: Add VOP3P instruction format 2017-02-27 18:49:11 +00:00