forked from OSchip/llvm-project
fa14dd430c
a virtual register to eliminate a frame index, it can return that register and the constant stored there to PEI to track. When scavenging to allocate for those registers, PEI then tracks the last-used register and value, and if it is still available and matches the value for the next index, reuses the existing value rather and removes the re-materialization instructions. Fancier tracking and adjustment of scavenger allocations to keep more values live for longer is possible, but not yet implemented and would likely be better done via a different, less special-purpose, approach to the problem. eliminateFrameIndex() is modified so the target implementations can return the registers they wish to be tracked for reuse. ARM Thumb1 implements and utilizes the new mechanism. All other targets are simply modified to adjust for the changed eliminateFrameIndex() prototype. llvm-svn: 83467 |
||
---|---|---|
.. | ||
AsmPrinter | ||
TargetInfo | ||
CMakeLists.txt | ||
MCSectionPIC16.h | ||
Makefile | ||
PIC16.h | ||
PIC16.td | ||
PIC16DebugInfo.cpp | ||
PIC16DebugInfo.h | ||
PIC16ISelDAGToDAG.cpp | ||
PIC16ISelDAGToDAG.h | ||
PIC16ISelLowering.cpp | ||
PIC16ISelLowering.h | ||
PIC16InstrFormats.td | ||
PIC16InstrInfo.cpp | ||
PIC16InstrInfo.h | ||
PIC16InstrInfo.td | ||
PIC16MCAsmInfo.cpp | ||
PIC16MCAsmInfo.h | ||
PIC16MemSelOpt.cpp | ||
PIC16RegisterInfo.cpp | ||
PIC16RegisterInfo.h | ||
PIC16RegisterInfo.td | ||
PIC16Subtarget.cpp | ||
PIC16Subtarget.h | ||
PIC16TargetMachine.cpp | ||
PIC16TargetMachine.h | ||
PIC16TargetObjectFile.cpp | ||
PIC16TargetObjectFile.h |