Move FrameInstructions from MachineModuleInfo to MachineFunction
authorMatthias Braun <matze@braunis.de>
Wed, 30 Nov 2016 23:48:42 +0000 (23:48 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 30 Nov 2016 23:48:42 +0000 (23:48 +0000)
commitf23ef437ccf39dd8209960b942b3751547b07af5
tree4da3a28f0d68d50b7fe792f6fdb316b31e0d3ad4
parent39c3c89cdc20b541dee4b2ebb52c867d07982294
Move FrameInstructions from MachineModuleInfo to MachineFunction

This is per function data so it is better kept at the function instead
of the module.

This is a necessary step to have machine module passes work properly.

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

llvm-svn: 288291
17 files changed:
llvm/include/llvm/CodeGen/MachineFunction.h
llvm/include/llvm/CodeGen/MachineModuleInfo.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/MIRParser/MIParser.cpp
llvm/lib/CodeGen/MIRPrinter.cpp
llvm/lib/CodeGen/MachineModuleInfo.cpp
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/lib/Target/ARM/ARMFrameLowering.cpp
llvm/lib/Target/ARM/Thumb1FrameLowering.cpp
llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
llvm/lib/Target/Mips/Mips16FrameLowering.cpp
llvm/lib/Target/Mips/MipsSEFrameLowering.cpp
llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
llvm/lib/Target/Sparc/SparcFrameLowering.cpp
llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
llvm/lib/Target/X86/X86FrameLowering.cpp
llvm/lib/Target/XCore/XCoreFrameLowering.cpp