summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 78a726e)
raw | patch | inline | side by side (parent: 78a726e)
author | Eric Christopher <echristo@gmail.com> | |
Thu, 8 Jan 2015 18:18:53 +0000 (18:18 +0000) | ||
committer | Eric Christopher <echristo@gmail.com> | |
Thu, 8 Jan 2015 18:18:53 +0000 (18:18 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225457 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsSEInstrInfo.cpp | patch | blob | history |
index 7341817ef67bd41da84c18fccc3c579d0f205555..74f291f609fda238ccc80bd632ccc913e31d7719 100644 (file)
/// the destination along with the FrameIndex of the loaded stack slot. If
/// not, return 0. This predicate must return 0 if the instruction has
/// any side effects other than loading from the stack slot.
-unsigned MipsSEInstrInfo::
-isLoadFromStackSlot(const MachineInstr *MI, int &FrameIndex) const
-{
+unsigned MipsSEInstrInfo::isLoadFromStackSlot(const MachineInstr *MI,
+ int &FrameIndex) const {
unsigned Opc = MI->getOpcode();
if ((Opc == Mips::LW) || (Opc == Mips::LD) ||
/// the source reg along with the FrameIndex of the loaded stack slot. If
/// not, return 0. This predicate must return 0 if the instruction has
/// any side effects other than storing to the stack slot.
-unsigned MipsSEInstrInfo::
-isStoreToStackSlot(const MachineInstr *MI, int &FrameIndex) const
-{
+unsigned MipsSEInstrInfo::isStoreToStackSlot(const MachineInstr *MI,
+ int &FrameIndex) const {
unsigned Opc = MI->getOpcode();
if ((Opc == Mips::SW) || (Opc == Mips::SD) ||