MandarinInstrInfo.cpp
/// isLoadFromStackSlot - If the specified machine instruction is a direct
/// load from a stack slot, return the virtual or physical register number of
/// 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.
If the specified machine instruction is a direct
load from a stack slot, return the virtual or physical register number of
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.
If the specified machine instruction is a direct load from a stack slot return the virtual or physical register number of 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 MandarinInstrInfo::isLoadFromStackSlot(const MachineInstr *MI,
                                             int &FrameIndex) const
{
	MI->dump();
  return 0;
}
unsigned MandarinInstrInfo :: isLoadFromStackSlot ( const MachineInstr * MI , int & FrameIndex ) const { MI -> dump ( ) ; return 0 ; }
isLoadFromStackSlot - If the specified machine instruction is a direct
load from a stack slot, return the virtual or physical register number of
the destination along with the FrameIndex of the loaded stack slot.
isLoadFromStackSlot - If the specified machine instruction is a direct load from a stack slot return the virtual or physical register number of the destination along with the FrameIndex of the loaded stack slot .
/*if (MI->getOpcode() == MD::LOADri ||
      MI->getOpcode() == SP::LDXri ||
      MI->getOpcode() == SP::LDFri ||
      MI->getOpcode() == SP::LDDFri ||
      MI->getOpcode() == SP::LDQFri) {
    if (MI->getOperand(1).isFI() && MI->getOperand(2).isImm() &&
        MI->getOperand(2).getImm() == 0) {
      FrameIndex = MI->getOperand(1).getIndex();
      return MI->getOperand(0).getReg();
    }
  }*/