llvm.org GIT mirror llvm / 18b111b
Add SPAdj parameter to account for call frame setup SP adjustment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36623 91177308-0d34-0410-b5e6-96231b3b80d8 Evan Cheng 13 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
511511 /// referenced by the iterator contains an MO_FrameIndex operand which must be
512512 /// eliminated by this method. This method may modify or replace the
513513 /// specified instruction, as long as it keeps the iterator pointing the the
514 /// finished product. The return value is the number of instructions
515 /// added to (negative if removed from) the basic block.
514 /// finished product. SPAdj is the SP adjustment due to call frame setup
515 /// instruction. The return value is the number of instructions added to
516 /// (negative if removed from) the basic block.
516517 ///
517518 virtual void eliminateFrameIndex(MachineBasicBlock::iterator MI,
518 RegScavenger *RS = NULL) const = 0;
519 int SPAdj, RegScavenger *RS=NULL) const = 0;
519520
520521 /// emitProlog/emitEpilog - These methods insert prolog and epilog code into
521522 /// the function. The return value is the number of instructions