• Home
  • Raw
  • Download

Lines Matching refs:MBB

78 insertNoop(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI) const {  in insertNoop()  argument
80 BuildMI(MBB, MI, DL, get(MBlaze::NOP)); in insertNoop()
84 copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() argument
88 llvm::BuildMI(MBB, I, DL, get(MBlaze::ADDK), DestReg) in copyPhysReg()
93 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStackSlot() argument
98 BuildMI(MBB, I, DL, get(MBlaze::SWI)).addReg(SrcReg,getKillRegState(isKill)) in storeRegToStackSlot()
103 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStackSlot() argument
108 BuildMI(MBB, I, DL, get(MBlaze::LWI), DestReg) in loadRegFromStackSlot()
115 bool MBlazeInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, in AnalyzeBranch() argument
121 MachineBasicBlock::iterator I = MBB.end(); in AnalyzeBranch()
122 if (I == MBB.begin()) in AnalyzeBranch()
126 if (I == MBB.begin()) in AnalyzeBranch()
138 if (I == MBB.begin() || !isUnpredicatedTerminator(--I)) { in AnalyzeBranch()
158 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I)) in AnalyzeBranch()
187 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, in InsertBranch() argument
202 BuildMI(&MBB, DL, get(Opc)).addMBB(TBB); in InsertBranch()
204 BuildMI(&MBB, DL, get(Opc)).addReg(Cond[1].getReg()).addMBB(TBB); in InsertBranch()
208 BuildMI(&MBB, DL, get(Opc)).addReg(Cond[1].getReg()).addMBB(TBB); in InsertBranch()
209 BuildMI(&MBB, DL, get(MBlaze::BRID)).addMBB(FBB); in InsertBranch()
213 unsigned MBlazeInstrInfo::RemoveBranch(MachineBasicBlock &MBB) const { in RemoveBranch()
214 MachineBasicBlock::iterator I = MBB.end(); in RemoveBranch()
215 if (I == MBB.begin()) return 0; in RemoveBranch()
218 if (I == MBB.begin()) in RemoveBranch()
230 I = MBB.end(); in RemoveBranch()
232 if (I == MBB.begin()) return 1; in RemoveBranch()