search for: units_per_word

Displaying 1 result from an estimated 1 matches for "units_per_word".

2012 Oct 26
1
[LLVMdev] Properly handling mem-loc arguments when prologue adjusts FP.
...if (VARegSaveSize) { BuildMI(MBB, MBBI, dl, TII.get(ARC::SUBrsi), ARC::SP).addReg(ARC::SP) .addImm(VARegSaveSize); } // Save the return address register, if necessary if (MFI->adjustsStack()) { BuildMI(MBB, MBBI, dl, TII.get(ARC::STrri_a)).addReg(ARC::SP) .addImm(-UNITS_PER_WORD).addReg(ARC::BLINK); } // Save the caller's frame pointer (if required), and set new FP to this // location. BuildMI(MBB, MBBI, dl, TII.get(ARC::STrri_a)).addReg(ARC::SP) .addImm(-UNITS_PER_WORD).addReg(ARC::FP); BuildMI(MBB, MBBI, dl, TII.get(ARC::MOVrr), ARC::FP).addReg(ARC::...