Lines Matching refs:Br
405 bool fixupImmediateBr(ImmBranch &Br);
406 bool fixupConditionalBr(ImmBranch &Br);
407 bool fixupUnconditionalBr(ImmBranch &Br);
1478 bool MipsConstantIslands::fixupImmediateBr(ImmBranch &Br) { in fixupImmediateBr() argument
1479 MachineInstr *MI = Br.MI; in fixupImmediateBr()
1484 if (isBBInRange(MI, DestBB, Br.MaxDisp)) in fixupImmediateBr()
1487 if (!Br.isCond) in fixupImmediateBr()
1488 return fixupUnconditionalBr(Br); in fixupImmediateBr()
1489 return fixupConditionalBr(Br); in fixupImmediateBr()
1497 MipsConstantIslands::fixupUnconditionalBr(ImmBranch &Br) { in fixupUnconditionalBr() argument
1498 MachineInstr *MI = Br.MI; in fixupUnconditionalBr()
1504 Br.MaxDisp = BimmX16MaxDisp; in fixupUnconditionalBr()
1520 Br.MaxDisp = ((1<<24)-1) * 2; in fixupUnconditionalBr()
1537 MipsConstantIslands::fixupConditionalBr(ImmBranch &Br) { in fixupConditionalBr() argument
1538 MachineInstr *MI = Br.MI; in fixupConditionalBr()
1547 Br.MaxDisp = LongFormMaxOff; in fixupConditionalBr()
1582 if (isBBInRange(MI, NewDest, Br.MaxDisp)) { in fixupConditionalBr()
1619 Br.MI = &MBB->back(); in fixupConditionalBr()
1621 BuildMI(MBB, DebugLoc(), TII->get(Br.UncondBr)).addMBB(DestBB); in fixupConditionalBr()
1623 unsigned MaxDisp = getUnconditionalBrDisp(Br.UncondBr); in fixupConditionalBr()
1624 ImmBranches.push_back(ImmBranch(&MBB->back(), MaxDisp, false, Br.UncondBr)); in fixupConditionalBr()