Home | History | Annotate | Download | only in ARM

Lines Matching refs:MBB

160     bool ReduceLoadStore(MachineBasicBlock &MBB, MachineInstr *MI,
163 bool ReduceSpecial(MachineBasicBlock &MBB, MachineInstr *MI,
168 bool ReduceTo2Addr(MachineBasicBlock &MBB, MachineInstr *MI,
174 bool ReduceToNarrow(MachineBasicBlock &MBB, MachineInstr *MI,
179 bool ReduceMI(MachineBasicBlock &MBB, MachineInstr *MI,
183 bool ReduceMBB(MachineBasicBlock &MBB);
370 Thumb2SizeReduce::ReduceLoadStore(MachineBasicBlock &MBB, MachineInstr *MI,
505 MachineInstrBuilder MIB = BuildMI(MBB, MI, dl, TII->get(Opc));
538 MBB.erase_instr(MI);
544 Thumb2SizeReduce::ReduceSpecial(MachineBasicBlock &MBB, MachineInstr *MI,
552 if (ReduceTo2Addr(MBB, MI, Entry, LiveCPSR, IsSelfLoop))
554 return ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop);
572 MachineInstrBuilder MIB = BuildMI(MBB, MI, MI->getDebugLoc(),
584 MBB.erase_instr(MI);
593 return ReduceLoadStore(MBB, MI, Entry);
604 if (ReduceTo2Addr(MBB, MI, Entry, LiveCPSR, IsSelfLoop))
609 return ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop);
621 return ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop);
627 return ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop);
637 if (ReduceToNarrow(MBB, MI, NarrowEntry, LiveCPSR, IsSelfLoop))
639 return ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop);
646 Thumb2SizeReduce::ReduceTo2Addr(MachineBasicBlock &MBB, MachineInstr *MI,
735 MachineInstrBuilder MIB = BuildMI(MBB, MI, dl, NewMCID);
759 MBB.erase_instr(MI);
765 Thumb2SizeReduce::ReduceToNarrow(MachineBasicBlock &MBB, MachineInstr *MI,
830 MachineInstrBuilder MIB = BuildMI(MBB, MI, dl, NewMCID);
870 MBB.erase_instr(MI);
907 bool Thumb2SizeReduce::ReduceMI(MachineBasicBlock &MBB, MachineInstr *MI,
917 return ReduceSpecial(MBB, MI, Entry, LiveCPSR, IsSelfLoop);
921 ReduceTo2Addr(MBB, MI, Entry, LiveCPSR, IsSelfLoop))
926 ReduceToNarrow(MBB, MI, Entry, LiveCPSR, IsSelfLoop))
932 bool Thumb2SizeReduce::ReduceMBB(MachineBasicBlock &MBB) {
936 bool LiveCPSR = MBB.isLiveIn(ARM::CPSR);
943 for (auto *Pred : MBB.predecessors()) {
957 bool IsSelfLoop = MBB.isSuccessor(&MBB);
958 MachineBasicBlock::instr_iterator MII = MBB.instr_begin(),E = MBB.instr_end();
976 if (ReduceMI(MBB, MI, LiveCPSR, IsSelfLoop)) {
1016 MBBInfo &Info = BlockInfo[MBB.getNumber()];