1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib/Target/Mips/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
..
CMakeLists.txt
LLVMBuild.txt
MipsABIFlagsSection.cpp
MipsABIFlagsSection.h [mips] Add support for Global INValidate ASE 2018-05-17 16:30:32 +00:00
MipsABIInfo.cpp
MipsABIInfo.h
MipsAsmBackend.cpp [MC] Pass MCSubtargetInfo to fixupNeedsRelaxation and applyFixup 2018-06-06 09:40:06 +00:00
MipsAsmBackend.h [MC] Pass MCSubtargetInfo to fixupNeedsRelaxation and applyFixup 2018-06-06 09:40:06 +00:00
MipsBaseInfo.h
MipsELFObjectWriter.cpp [mips] Extend list of relocations supported by the .reloc directive 2018-06-01 16:37:42 +00:00
MipsELFStreamer.cpp MC: Change the streamer ctors to take an object writer instead of a stream. NFCI. 2018-05-18 18:26:45 +00:00
MipsELFStreamer.h MC: Change the streamer ctors to take an object writer instead of a stream. NFCI. 2018-05-18 18:26:45 +00:00
MipsFixupKinds.h [mips] Emit R_MICROMIPS_GPREL16/R_MICROMIPS_SUB/R_MICROMIPS_LO16 / HI16 relocations 2018-05-29 11:33:54 +00:00
MipsMCAsmInfo.cpp [mips] Enable IAS by default for Android MIPS64 2017-07-21 14:25:42 +00:00
MipsMCAsmInfo.h
MipsMCCodeEmitter.cpp [mips] Emit R_MICROMIPS_GPREL16/R_MICROMIPS_SUB/R_MICROMIPS_LO16 / HI16 relocations 2018-05-29 11:33:54 +00:00
MipsMCCodeEmitter.h [mips] Add movep for microMIPS32R6 and fix microMIPS32r3 version 2017-11-06 12:59:53 +00:00
MipsMCExpr.cpp [mips] Fix PR35140 2017-11-06 10:50:04 +00:00
MipsMCExpr.h
MipsMCNaCl.h MC: Change the streamer ctors to take an object writer instead of a stream. NFCI. 2018-05-18 18:26:45 +00:00
MipsMCTargetDesc.cpp MC: Change the streamer ctors to take an object writer instead of a stream. NFCI. 2018-05-18 18:26:45 +00:00
MipsMCTargetDesc.h MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
MipsNaClELFStreamer.cpp MC: Change the streamer ctors to take an object writer instead of a stream. NFCI. 2018-05-18 18:26:45 +00:00
MipsOptionRecord.cpp
MipsTargetStreamer.cpp [mips] Add support for Global INValidate ASE 2018-05-17 16:30:32 +00:00