1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/lib/Target/ARM/MCTargetDesc
Peter Smith 7d816e3012 [MC] Pass MCSubtargetInfo to fixupNeedsRelaxation and applyFixup
On targets like Arm some relaxations may only be performed when certain
architectural features are available. As functions can be compiled with
differing levels of architectural support we must make a judgement on
whether we can relax based on the MCSubtargetInfo for the function. This
change passes through the MCSubtargetInfo for the function to
fixupNeedsRelaxation so that the decision on whether to relax can be made
per function. In this patch, only the ARM backend makes use of this
information. We must also pass the MCSubtargetInfo to applyFixup because
some fixups skip error checking on the assumption that relaxation has
occurred, to prevent code-generation errors applyFixup must see the same
MCSubtargetInfo as fixupNeedsRelaxation.

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

llvm-svn: 334078
2018-06-06 09:40:06 +00:00
..
ARMAddressingModes.h ARMAddressingModes.h: Don't mark header functions as file local 2017-10-24 21:29:21 +00:00
ARMAsmBackend.cpp [MC] Pass MCSubtargetInfo to fixupNeedsRelaxation and applyFixup 2018-06-06 09:40:06 +00:00
ARMAsmBackend.h [MC] Pass MCSubtargetInfo to fixupNeedsRelaxation and applyFixup 2018-06-06 09:40:06 +00:00
ARMAsmBackendDarwin.h MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
ARMAsmBackendELF.h MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
ARMAsmBackendWinCOFF.h MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
ARMBaseInfo.h [ARM] Armv8.2-A FP16 code generation (part 1/3) 2018-01-26 09:26:40 +00:00
ARMELFObjectWriter.cpp MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
ARMELFStreamer.cpp MC: Change the streamer ctors to take an object writer instead of a stream. NFCI. 2018-05-18 18:26:45 +00:00
ARMFixupKinds.h Don't repeat names and reformat. NFC. 2017-06-28 16:00:16 +00:00
ARMMachObjectWriter.cpp MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
ARMMachORelocationInfo.cpp Remove redundant includes from lib/Target/ARM. 2017-12-13 21:31:17 +00:00
ARMMCAsmInfo.cpp [ARM] Use SEH exceptions on thumbv7-windows 2017-11-21 11:30:20 +00:00
ARMMCAsmInfo.h
ARMMCCodeEmitter.cpp [NFC] fix trivial typos in comments and error message 2018-04-09 04:37:53 +00:00
ARMMCExpr.cpp Remove redundant includes from lib/Target/ARM. 2017-12-13 21:31:17 +00:00
ARMMCExpr.h
ARMMCTargetDesc.cpp MC: Change the streamer ctors to take an object writer instead of a stream. NFCI. 2018-05-18 18:26:45 +00:00
ARMMCTargetDesc.h MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
ARMTargetStreamer.cpp [TargetParser] Use enum classes for various ARM kind enums. 2017-07-27 16:27:56 +00:00
ARMUnwindOpAsm.cpp
ARMUnwindOpAsm.h
ARMWinCOFFObjectWriter.cpp MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
ARMWinCOFFStreamer.cpp MC: Change the streamer ctors to take an object writer instead of a stream. NFCI. 2018-05-18 18:26:45 +00:00
CMakeLists.txt List cpp file only once (was added in 147117 and 147117 as build fix each). 2018-04-23 13:11:51 +00:00
LLVMBuild.txt