Lines Matching full:pop
1 //===------- RISCVPushPopOptimizer.cpp - RISC-V Push/Pop opt. pass --------===//
9 // This file contains a pass that replaces Zcmp POP instructions with
19 #define RISCV_PUSH_POP_OPT_NAME "RISC-V Zcmp Push/Pop optimization pass"
45 INITIALIZE_PASS(RISCVPushPopOpt, "riscv-push-pop-opt", RISCV_PUSH_POP_OPT_NAME,
48 // Check if POP instruction was inserted into the MBB and return iterator to it.
84 // Search for last assignment to a0 and if possible use ret_val slot of POP to
88 // Track which register units have been modified and used between the POP in adjustRetVal()
92 // Since POP instruction is in Epilogue no normal instructions will follow in adjustRetVal()
109 // of using ret_val slot of POP instruction. in adjustRetVal()
135 // correct return value for the POP. in runOnMachineFunction()
150 /// Push/Pop optimization pass.