llvm/lib/Target/Lanai
Alex Bradbury ff1254b6f8 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299529 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-05 10:16:14 +00:00
..
AsmParser clean Lanai namespace 2017-03-16 23:22:10 +00:00
Disassembler [AArch64, Lanai] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-06 00:30:53 +00:00
InstPrinter [Lanai] Rename LanaiInstPrinter library to LanaiAsmPrinter 2017-01-24 17:27:01 +00:00
MCTargetDesc Add MCContext argument to MCAsmBackend::applyFixup for error reporting 2017-04-05 10:16:14 +00:00
TargetInfo Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
CMakeLists.txt
Lanai.h Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
Lanai.td
LanaiAluCode.h
LanaiAsmPrinter.cpp Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
LanaiCallingConv.td
LanaiCondCode.h
LanaiDelaySlotFiller.cpp
LanaiFrameLowering.cpp
LanaiFrameLowering.h
LanaiInstrFormats.td
LanaiInstrInfo.cpp [CodeGen] Rename MachineInstrBuilder::addOperand. NFC 2017-01-13 09:58:52 +00:00
LanaiInstrInfo.h
LanaiInstrInfo.td [lanai] Manually match 0/-1 with R0/R1. 2016-11-29 23:01:09 +00:00
LanaiISelDAGToDAG.cpp [lanai] Manually match 0/-1 with R0/R1. 2016-11-29 23:01:09 +00:00
LanaiISelLowering.cpp [AArch64, Lanai] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-06 00:30:53 +00:00
LanaiISelLowering.h [lanai] Custom lowering of SHL_PARTS 2016-12-02 22:01:28 +00:00
LanaiMachineFunctionInfo.cpp
LanaiMachineFunctionInfo.h
LanaiMCInstLower.cpp Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
LanaiMCInstLower.h
LanaiMemAluCombiner.cpp
LanaiRegisterInfo.cpp
LanaiRegisterInfo.h [AArch64, Lanai] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-01-06 00:30:53 +00:00
LanaiRegisterInfo.td
LanaiSchedule.td
LanaiSelectionDAGInfo.cpp
LanaiSelectionDAGInfo.h
LanaiSubtarget.cpp
LanaiSubtarget.h
LanaiTargetMachine.cpp Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
LanaiTargetMachine.h
LanaiTargetObjectFile.cpp [lanai] Simplify small section check in LowerGlobalAddress and treat ldata sections specially. 2016-12-15 16:56:16 +00:00
LanaiTargetObjectFile.h Target: Change various section classifiers in TargetLoweringObjectFile to take a GlobalObject. 2016-10-24 19:23:39 +00:00
LanaiTargetTransformInfo.h [X86] updating TTI costs for arithmetic instructions on X86\SLM arch. 2017-01-11 08:23:37 +00:00
LLVMBuild.txt [Lanai] Rename LanaiInstPrinter library to LanaiAsmPrinter 2017-01-24 17:27:01 +00:00