aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-02-18 20:55:12 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-02-18 20:55:12 +0000
commit98fbe27ac8f0766ea94b89b8c03418131b72bea4 (patch)
treed1f8b9f2500eabd57718aa531401a34c7fc36ac3 /include
parentb875acda987650d1d734b8bc6e76283950529f84 (diff)
downloadexternal_llvm-98fbe27ac8f0766ea94b89b8c03418131b72bea4.zip
external_llvm-98fbe27ac8f0766ea94b89b8c03418131b72bea4.tar.gz
external_llvm-98fbe27ac8f0766ea94b89b8c03418131b72bea4.tar.bz2
Support for HiPE-compatible code emission, patch by Yiannis Tsiouris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175457 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetFrameLowering.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetFrameLowering.h b/include/llvm/Target/TargetFrameLowering.h
index 1958f90..ea27916 100644
--- a/include/llvm/Target/TargetFrameLowering.h
+++ b/include/llvm/Target/TargetFrameLowering.h
@@ -120,6 +120,10 @@ public:
/// by adding a check even before the "normal" function prologue.
virtual void adjustForSegmentedStacks(MachineFunction &MF) const { }
+ /// Adjust the prologue to add Erlang Run-Time System (ERTS) specific code in
+ /// the assembly prologue to explicitly handle the stack.
+ virtual void adjustForHiPEPrologue(MachineFunction &MF) const { }
+
/// spillCalleeSavedRegisters - Issues instruction(s) to spill all callee
/// saved registers and returns true if it isn't possible / profitable to do
/// so by issuing a series of store instructions via