Lines Matching refs:BB
162 MachineBasicBlock *BB) const {
165 return MipsTargetLowering::EmitInstrWithCustomInserter(MI, BB);
167 return emitSel16(Mips::BeqzRxImm16, MI, BB);
169 return emitSel16(Mips::BnezRxImm16, MI, BB);
171 return emitSeliT16(Mips::BteqzX16, Mips::CmpiRxImmX16, MI, BB);
173 return emitSeliT16(Mips::BteqzX16, Mips::SltiRxImmX16, MI, BB);
175 return emitSeliT16(Mips::BteqzX16, Mips::SltiuRxImmX16, MI, BB);
177 return emitSeliT16(Mips::BtnezX16, Mips::CmpiRxImmX16, MI, BB);
179 return emitSeliT16(Mips::BtnezX16, Mips::SltiRxImmX16, MI, BB);
181 return emitSeliT16(Mips::BtnezX16, Mips::SltiuRxImmX16, MI, BB);
183 return emitSelT16(Mips::BteqzX16, Mips::CmpRxRy16, MI, BB);
185 return emitSelT16(Mips::BteqzX16, Mips::SltRxRy16, MI, BB);
187 return emitSelT16(Mips::BteqzX16, Mips::SltuRxRy16, MI, BB);
189 return emitSelT16(Mips::BtnezX16, Mips::CmpRxRy16, MI, BB);
191 return emitSelT16(Mips::BtnezX16, Mips::SltRxRy16, MI, BB);
193 return emitSelT16(Mips::BtnezX16, Mips::SltuRxRy16, MI, BB);
195 return emitFEXT_T8I816_ins(Mips::BteqzX16, Mips::CmpRxRy16, MI, BB);
197 return emitFEXT_T8I816_ins(Mips::BteqzX16, Mips::SltRxRy16, MI, BB);
201 return emitFEXT_T8I816_ins(Mips::BteqzX16, Mips::SltuRxRy16, MI, BB);
203 return emitFEXT_T8I816_ins(Mips::BtnezX16, Mips::CmpRxRy16, MI, BB);
205 return emitFEXT_T8I816_ins(Mips::BtnezX16, Mips::SltRxRy16, MI, BB);
209 return emitFEXT_T8I816_ins(Mips::BtnezX16, Mips::SltuRxRy16, MI, BB);
211 Mips::BteqzX16, Mips::CmpiRxImm16, Mips::CmpiRxImmX16, false, MI, BB);
213 Mips::BteqzX16, Mips::SltiRxImm16, Mips::SltiRxImmX16, true, MI, BB);
215 Mips::BteqzX16, Mips::SltiuRxImm16, Mips::SltiuRxImmX16, false, MI, BB);
217 Mips::BtnezX16, Mips::CmpiRxImm16, Mips::CmpiRxImmX16, false, MI, BB);
219 Mips::BtnezX16, Mips::SltiRxImm16, Mips::SltiRxImmX16, true, MI, BB);
221 Mips::BtnezX16, Mips::SltiuRxImm16, Mips::SltiuRxImmX16, false, MI, BB);
224 return emitFEXT_CCRX16_ins(Mips::SltRxRy16, MI, BB);
228 (Mips::SltiRxImm16, Mips::SltiRxImmX16, MI, BB);
231 (Mips::SltiuRxImm16, Mips::SltiuRxImmX16, MI, BB);
234 (Mips::SltuRxRy16, MI, BB);
488 emitSel16(unsigned Opc, MachineInstr *MI, MachineBasicBlock *BB) const {
490 return BB;
497 const BasicBlock *LLVM_BB = BB->getBasicBlock();
498 MachineFunction::iterator It = BB;
507 MachineBasicBlock *thisMBB = BB;
508 MachineFunction *F = BB->getParent();
514 // Transfer the remainder of BB and its successor edges to sinkMBB.
515 sinkMBB->splice(sinkMBB->begin(), BB,
517 BB->end());
518 sinkMBB->transferSuccessorsAndUpdatePHIs(BB);
521 BB->addSuccessor(copy0MBB);
522 BB->addSuccessor(sinkMBB);
524 BuildMI(BB, DL, TII->get(Opc)).addReg(MI->getOperand(3).getReg())
530 BB = copy0MBB;
533 BB->addSuccessor(sinkMBB);
538 BB = sinkMBB;
540 BuildMI(*BB, BB->begin(), DL,
546 return BB;
551 MachineInstr *MI, MachineBasicBlock *BB) const {
553 return BB;
560 const BasicBlock *LLVM_BB = BB->getBasicBlock();
561 MachineFunction::iterator It = BB;
570 MachineBasicBlock *thisMBB = BB;
571 MachineFunction *F = BB->getParent();
577 // Transfer the remainder of BB and its successor edges to sinkMBB.
578 sinkMBB->splice(sinkMBB->begin(), BB,
580 BB->end());
581 sinkMBB->transferSuccessorsAndUpdatePHIs(BB);
584 BB->addSuccessor(copy0MBB);
585 BB->addSuccessor(sinkMBB);
587 BuildMI(BB, DL, TII->get(Opc2)).addReg(MI->getOperand(3).getReg())
589 BuildMI(BB, DL, TII->get(Opc1)).addMBB(sinkMBB);
594 BB = copy0MBB;
597 BB->addSuccessor(sinkMBB);
602 BB = sinkMBB;
604 BuildMI(*BB, BB->begin(), DL,
610 return BB;
616 MachineInstr *MI, MachineBasicBlock *BB) const {
618 return BB;
625 const BasicBlock *LLVM_BB = BB->getBasicBlock();
626 MachineFunction::iterator It = BB;
635 MachineBasicBlock *thisMBB = BB;
636 MachineFunction *F = BB->getParent();
642 // Transfer the remainder of BB and its successor edges to sinkMBB.
643 sinkMBB->splice(sinkMBB->begin(), BB,
645 BB->end());
646 sinkMBB->transferSuccessorsAndUpdatePHIs(BB);
649 BB->addSuccessor(copy0MBB);
650 BB->addSuccessor(sinkMBB);
652 BuildMI(BB, DL, TII->get(Opc2)).addReg(MI->getOperand(3).getReg())
654 BuildMI(BB, DL, TII->get(Opc1)).addMBB(sinkMBB);
659 BB = copy0MBB;
662 BB->addSuccessor(sinkMBB);
667 BB = sinkMBB;
669 BuildMI(*BB, BB->begin(), DL,
675 return BB;
682 MachineBasicBlock *BB) const {
684 return BB;
689 BuildMI(*BB, MI, MI->getDebugLoc(), TII->get(CmpOpc)).addReg(regX)
691 BuildMI(*BB, MI, MI->getDebugLoc(), TII->get(BtOpc)).addMBB(target);
693 return BB;
698 MachineInstr *MI, MachineBasicBlock *BB) const {
700 return BB;
713 BuildMI(*BB, MI, MI->getDebugLoc(), TII->get(CmpOpc)).addReg(regX)
715 BuildMI(*BB, MI, MI->getDebugLoc(), TII->get(BtOpc)).addMBB(target);
717 return BB;
732 MachineInstr *MI, MachineBasicBlock *BB) const {
734 return BB;
739 BuildMI(*BB, MI, MI->getDebugLoc(),
741 BuildMI(*BB, MI, MI->getDebugLoc(),
744 return BB;
749 MachineInstr *MI, MachineBasicBlock *BB )const {
751 return BB;
757 BuildMI(*BB, MI, MI->getDebugLoc(),
759 BuildMI(*BB, MI, MI->getDebugLoc(),
762 return BB;