Home | History | Annotate | Download | only in Mips

Lines Matching refs:GP

1 //===-- MipsEmitGPRestore.cpp - Emit GP restore instruction----------------===//
10 // This pass emits instructions that restore $gp right
15 #define DEBUG_TYPE "emit-gp-restore"
38 return "Mips Emit GP Restore";
58 // If MBB is a landing pad, insert instruction that restores $gp after
67 BuildMI(MBB, I, dl, TII->get(Mips::LW), Mips::GP).addFrameIndex(FI)
79 // emit lw $gp, ($gp save slot on stack) after jalr
80 BuildMI(MBB, ++I, dl, TII->get(Mips::LW), Mips::GP).addFrameIndex(FI)
90 /// restores $gp clobbered by jalr instructions.