summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsSEFrameLowering.h
diff options
context:
space:
mode:
authorVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>2015-10-26 12:38:43 +0000
committerVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>2015-10-26 12:38:43 +0000
commit43dff0c03324bd8aa2dfa93062db8597ea43f07b (patch)
tree5bdc1797d1b48276b6fd8a4278e35f5904fd7423 /llvm/lib/Target/Mips/MipsSEFrameLowering.h
parent684af8156c3612964abcdfa41003b3aece1cffeb (diff)
downloadbcm5719-llvm-43dff0c03324bd8aa2dfa93062db8597ea43f07b.tar.gz
bcm5719-llvm-43dff0c03324bd8aa2dfa93062db8597ea43f07b.zip
[mips] Interrupt attribute support for mips32r2+.
Summary: This patch adds support for using the "interrupt" attribute on Mips for interrupt handling functions. At this time only mips32r2+ with the o32 ABI with the static relocation model is supported. Unsupported configurations will be rejected Patch by Simon Dardis (+ clang-format & some trivial changes to follow the LLVM coding standards by me). Reviewers: mpf, dsanders Subscribers: dsanders, vkalintiris, llvm-commits Differential Revision: http://reviews.llvm.org/D10768 llvm-svn: 251286
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSEFrameLowering.h')
-rw-r--r--llvm/lib/Target/Mips/MipsSEFrameLowering.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsSEFrameLowering.h b/llvm/lib/Target/Mips/MipsSEFrameLowering.h
index 9cb32e6c782..f3050d0718b 100644
--- a/llvm/lib/Target/Mips/MipsSEFrameLowering.h
+++ b/llvm/lib/Target/Mips/MipsSEFrameLowering.h
@@ -37,8 +37,13 @@ public:
void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
RegScavenger *RS) const override;
unsigned ehDataReg(unsigned I) const;
-};
+private:
+ void emitInterruptEpilogueStub(MachineFunction &MF,
+ MachineBasicBlock &MBB) const;
+ void emitInterruptPrologueStub(MachineFunction &MF,
+ MachineBasicBlock &MBB) const;
+};
} // End llvm namespace
#endif
OpenPOWER on IntegriCloud