reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/PowerPC/PPCEarlyReturn.cpp
   73           if (J == (*PI)->end())
   76           if (J->getOpcode() == PPC::B) {
   77             if (J->getOperand(0).getMBB() == &ReturnMBB) {
   80               BuildMI(**PI, J, J->getDebugLoc(), TII->get(I->getOpcode()))
   80               BuildMI(**PI, J, J->getDebugLoc(), TII->get(I->getOpcode()))
   82               MachineBasicBlock::iterator K = J--;
   88           } else if (J->getOpcode() == PPC::BCC) {
   89             if (J->getOperand(2).getMBB() == &ReturnMBB) {
   92               BuildMI(**PI, J, J->getDebugLoc(), TII->get(PPC::BCCLR))
   92               BuildMI(**PI, J, J->getDebugLoc(), TII->get(PPC::BCCLR))
   93                   .addImm(J->getOperand(0).getImm())
   94                   .addReg(J->getOperand(1).getReg())
   96               MachineBasicBlock::iterator K = J--;
  102           } else if (J->getOpcode() == PPC::BC || J->getOpcode() == PPC::BCn) {
  102           } else if (J->getOpcode() == PPC::BC || J->getOpcode() == PPC::BCn) {
  103             if (J->getOperand(1).getMBB() == &ReturnMBB) {
  107                   **PI, J, J->getDebugLoc(),
  107                   **PI, J, J->getDebugLoc(),
  108                   TII->get(J->getOpcode() == PPC::BC ? PPC::BCLR : PPC::BCLRn))
  109                   .addReg(J->getOperand(0).getReg())
  111               MachineBasicBlock::iterator K = J--;
  117           } else if (J->isBranch()) {
  118             if (J->isIndirectBranch()) {
  122               for (unsigned i = 0; i < J->getNumOperands(); ++i)
  123                 if (J->getOperand(i).isMBB() &&
  124                     J->getOperand(i).getMBB() == &ReturnMBB)
  126           } else if (!J->isTerminator() && !J->isDebugInstr())
  126           } else if (!J->isTerminator() && !J->isDebugInstr())
  129           if (J == (*PI)->begin())
  132           --J;