• Home
  • Raw
  • Download

Lines Matching refs:BB

171                                                   MachineBasicBlock *BB) const {  in EmitInstrWithCustomInserter()
174 return MipsTargetLowering::EmitInstrWithCustomInserter(MI, BB); in EmitInstrWithCustomInserter()
176 return emitSel16(Mips::BeqzRxImm16, MI, BB); in EmitInstrWithCustomInserter()
178 return emitSel16(Mips::BnezRxImm16, MI, BB); in EmitInstrWithCustomInserter()
180 return emitSeliT16(Mips::Bteqz16, Mips::CmpiRxImmX16, MI, BB); in EmitInstrWithCustomInserter()
182 return emitSeliT16(Mips::Bteqz16, Mips::SltiRxImmX16, MI, BB); in EmitInstrWithCustomInserter()
184 return emitSeliT16(Mips::Bteqz16, Mips::SltiuRxImmX16, MI, BB); in EmitInstrWithCustomInserter()
186 return emitSeliT16(Mips::Btnez16, Mips::CmpiRxImmX16, MI, BB); in EmitInstrWithCustomInserter()
188 return emitSeliT16(Mips::Btnez16, Mips::SltiRxImmX16, MI, BB); in EmitInstrWithCustomInserter()
190 return emitSeliT16(Mips::Btnez16, Mips::SltiuRxImmX16, MI, BB); in EmitInstrWithCustomInserter()
192 return emitSelT16(Mips::Bteqz16, Mips::CmpRxRy16, MI, BB); in EmitInstrWithCustomInserter()
194 return emitSelT16(Mips::Bteqz16, Mips::SltRxRy16, MI, BB); in EmitInstrWithCustomInserter()
196 return emitSelT16(Mips::Bteqz16, Mips::SltuRxRy16, MI, BB); in EmitInstrWithCustomInserter()
198 return emitSelT16(Mips::Btnez16, Mips::CmpRxRy16, MI, BB); in EmitInstrWithCustomInserter()
200 return emitSelT16(Mips::Btnez16, Mips::SltRxRy16, MI, BB); in EmitInstrWithCustomInserter()
202 return emitSelT16(Mips::Btnez16, Mips::SltuRxRy16, MI, BB); in EmitInstrWithCustomInserter()
204 return emitFEXT_T8I816_ins(Mips::Bteqz16, Mips::CmpRxRy16, MI, BB); in EmitInstrWithCustomInserter()
206 return emitFEXT_T8I816_ins(Mips::Bteqz16, Mips::SltRxRy16, MI, BB); in EmitInstrWithCustomInserter()
210 return emitFEXT_T8I816_ins(Mips::Bteqz16, Mips::SltuRxRy16, MI, BB); in EmitInstrWithCustomInserter()
212 return emitFEXT_T8I816_ins(Mips::Btnez16, Mips::CmpRxRy16, MI, BB); in EmitInstrWithCustomInserter()
214 return emitFEXT_T8I816_ins(Mips::Btnez16, Mips::SltRxRy16, MI, BB); in EmitInstrWithCustomInserter()
218 return emitFEXT_T8I816_ins(Mips::Btnez16, Mips::SltuRxRy16, MI, BB); in EmitInstrWithCustomInserter()
220 Mips::Bteqz16, Mips::CmpiRxImm16, Mips::CmpiRxImmX16, false, MI, BB); in EmitInstrWithCustomInserter()
222 Mips::Bteqz16, Mips::SltiRxImm16, Mips::SltiRxImmX16, true, MI, BB); in EmitInstrWithCustomInserter()
224 Mips::Bteqz16, Mips::SltiuRxImm16, Mips::SltiuRxImmX16, false, MI, BB); in EmitInstrWithCustomInserter()
226 Mips::Btnez16, Mips::CmpiRxImm16, Mips::CmpiRxImmX16, false, MI, BB); in EmitInstrWithCustomInserter()
228 Mips::Btnez16, Mips::SltiRxImm16, Mips::SltiRxImmX16, true, MI, BB); in EmitInstrWithCustomInserter()
230 Mips::Btnez16, Mips::SltiuRxImm16, Mips::SltiuRxImmX16, false, MI, BB); in EmitInstrWithCustomInserter()
233 return emitFEXT_CCRX16_ins(Mips::SltRxRy16, MI, BB); in EmitInstrWithCustomInserter()
237 (Mips::SltiRxImm16, Mips::SltiRxImmX16, MI, BB); in EmitInstrWithCustomInserter()
240 (Mips::SltiuRxImm16, Mips::SltiuRxImmX16, MI, BB); in EmitInstrWithCustomInserter()
243 (Mips::SltuRxRy16, MI, BB); in EmitInstrWithCustomInserter()
523 emitSel16(unsigned Opc, MachineInstr *MI, MachineBasicBlock *BB) const { in emitSel16()
525 return BB; in emitSel16()
532 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitSel16()
533 MachineFunction::iterator It = ++BB->getIterator(); in emitSel16()
541 MachineBasicBlock *thisMBB = BB; in emitSel16()
542 MachineFunction *F = BB->getParent(); in emitSel16()
549 sinkMBB->splice(sinkMBB->begin(), BB, in emitSel16()
550 std::next(MachineBasicBlock::iterator(MI)), BB->end()); in emitSel16()
551 sinkMBB->transferSuccessorsAndUpdatePHIs(BB); in emitSel16()
554 BB->addSuccessor(copy0MBB); in emitSel16()
555 BB->addSuccessor(sinkMBB); in emitSel16()
557 BuildMI(BB, DL, TII->get(Opc)).addReg(MI->getOperand(3).getReg()) in emitSel16()
563 BB = copy0MBB; in emitSel16()
566 BB->addSuccessor(sinkMBB); in emitSel16()
571 BB = sinkMBB; in emitSel16()
573 BuildMI(*BB, BB->begin(), DL, in emitSel16()
579 return BB; in emitSel16()
584 MachineBasicBlock *BB) const { in emitSelT16()
586 return BB; in emitSelT16()
593 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitSelT16()
594 MachineFunction::iterator It = ++BB->getIterator(); in emitSelT16()
602 MachineBasicBlock *thisMBB = BB; in emitSelT16()
603 MachineFunction *F = BB->getParent(); in emitSelT16()
610 sinkMBB->splice(sinkMBB->begin(), BB, in emitSelT16()
611 std::next(MachineBasicBlock::iterator(MI)), BB->end()); in emitSelT16()
612 sinkMBB->transferSuccessorsAndUpdatePHIs(BB); in emitSelT16()
615 BB->addSuccessor(copy0MBB); in emitSelT16()
616 BB->addSuccessor(sinkMBB); in emitSelT16()
618 BuildMI(BB, DL, TII->get(Opc2)).addReg(MI->getOperand(3).getReg()) in emitSelT16()
620 BuildMI(BB, DL, TII->get(Opc1)).addMBB(sinkMBB); in emitSelT16()
625 BB = copy0MBB; in emitSelT16()
628 BB->addSuccessor(sinkMBB); in emitSelT16()
633 BB = sinkMBB; in emitSelT16()
635 BuildMI(*BB, BB->begin(), DL, in emitSelT16()
641 return BB; in emitSelT16()
648 MachineBasicBlock *BB) const { in emitSeliT16()
650 return BB; in emitSeliT16()
657 const BasicBlock *LLVM_BB = BB->getBasicBlock(); in emitSeliT16()
658 MachineFunction::iterator It = ++BB->getIterator(); in emitSeliT16()
666 MachineBasicBlock *thisMBB = BB; in emitSeliT16()
667 MachineFunction *F = BB->getParent(); in emitSeliT16()
674 sinkMBB->splice(sinkMBB->begin(), BB, in emitSeliT16()
675 std::next(MachineBasicBlock::iterator(MI)), BB->end()); in emitSeliT16()
676 sinkMBB->transferSuccessorsAndUpdatePHIs(BB); in emitSeliT16()
679 BB->addSuccessor(copy0MBB); in emitSeliT16()
680 BB->addSuccessor(sinkMBB); in emitSeliT16()
682 BuildMI(BB, DL, TII->get(Opc2)).addReg(MI->getOperand(3).getReg()) in emitSeliT16()
684 BuildMI(BB, DL, TII->get(Opc1)).addMBB(sinkMBB); in emitSeliT16()
689 BB = copy0MBB; in emitSeliT16()
692 BB->addSuccessor(sinkMBB); in emitSeliT16()
697 BB = sinkMBB; in emitSeliT16()
699 BuildMI(*BB, BB->begin(), DL, in emitSeliT16()
705 return BB; in emitSeliT16()
712 MachineBasicBlock *BB) const { in emitFEXT_T8I816_ins()
714 return BB; in emitFEXT_T8I816_ins()
719 BuildMI(*BB, MI, MI->getDebugLoc(), TII->get(CmpOpc)).addReg(regX) in emitFEXT_T8I816_ins()
721 BuildMI(*BB, MI, MI->getDebugLoc(), TII->get(BtOpc)).addMBB(target); in emitFEXT_T8I816_ins()
723 return BB; in emitFEXT_T8I816_ins()
728 MachineInstr *MI, MachineBasicBlock *BB) const { in emitFEXT_T8I8I16_ins()
730 return BB; in emitFEXT_T8I8I16_ins()
743 BuildMI(*BB, MI, MI->getDebugLoc(), TII->get(CmpOpc)).addReg(regX) in emitFEXT_T8I8I16_ins()
745 BuildMI(*BB, MI, MI->getDebugLoc(), TII->get(BtOpc)).addMBB(target); in emitFEXT_T8I8I16_ins()
747 return BB; in emitFEXT_T8I8I16_ins()
762 MachineBasicBlock *BB) const { in emitFEXT_CCRX16_ins()
764 return BB; in emitFEXT_CCRX16_ins()
769 BuildMI(*BB, MI, MI->getDebugLoc(), TII->get(SltOpc)).addReg(regX).addReg( in emitFEXT_CCRX16_ins()
771 BuildMI(*BB, MI, MI->getDebugLoc(), in emitFEXT_CCRX16_ins()
774 return BB; in emitFEXT_CCRX16_ins()
780 MachineBasicBlock *BB) const { in emitFEXT_CCRXI16_ins()
782 return BB; in emitFEXT_CCRXI16_ins()
788 BuildMI(*BB, MI, MI->getDebugLoc(), in emitFEXT_CCRXI16_ins()
790 BuildMI(*BB, MI, MI->getDebugLoc(), in emitFEXT_CCRXI16_ins()
793 return BB; in emitFEXT_CCRXI16_ins()