diff options
Diffstat (limited to 'include/llvm/Target/TargetFrameInfo.h')
-rw-r--r-- | include/llvm/Target/TargetFrameInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetFrameInfo.h b/include/llvm/Target/TargetFrameInfo.h index d8d0ca1edd..cffbabb26b 100644 --- a/include/llvm/Target/TargetFrameInfo.h +++ b/include/llvm/Target/TargetFrameInfo.h @@ -15,10 +15,12 @@ #define LLVM_TARGET_TARGETFRAMEINFO_H #include <utility> +#include <vector> namespace llvm { class MachineFunction; class MachineBasicBlock; + class MachineMove; /// Information about stack frame layout on the target. It holds the direction /// of stack growth, the known stack alignment on entry to each function, and @@ -131,6 +133,10 @@ public: return hasReservedCallFrame(MF) || hasFP(MF); } + /// getInitialFrameState - Returns a list of machine moves that are assumed + /// on entry to all functions. Note that LabelID is ignored (assumed to be + /// the beginning of the function.) + virtual void getInitialFrameState(std::vector<MachineMove> &Moves) const; }; } // End llvm namespace |