Lines Matching defs:Br
262 bool fixupImmediateBr(ImmBranch &Br);
263 bool fixupConditionalBr(ImmBranch &Br);
264 bool fixupUnconditionalBr(ImmBranch &Br);
1236 bool CSKYConstantIslands::fixupImmediateBr(ImmBranch &Br) {
1237 MachineInstr *MI = Br.MI;
1241 if (isBBInRange(MI, DestBB, Br.MaxDisp))
1244 if (!Br.IsCond)
1245 return fixupUnconditionalBr(Br);
1246 return fixupConditionalBr(Br);
1253 bool CSKYConstantIslands::fixupUnconditionalBr(ImmBranch &Br) {
1254 MachineInstr *MI = Br.MI;
1261 Br.MaxDisp = ((1 << (26 - 1)) - 1) * 2;
1275 bool CSKYConstantIslands::fixupConditionalBr(ImmBranch &Br) {
1276 MachineInstr *MI = Br.MI;
1311 if (isBBInRange(MI, NewDest, Br.MaxDisp)) {
1351 Br.MI = &MBB->back();
1353 BuildMI(MBB, DebugLoc(), TII->get(Br.UncondBr)).addMBB(DestBB);
1355 unsigned MaxDisp = getUnconditionalBrDisp(Br.UncondBr);
1356 ImmBranches.push_back(ImmBranch(&MBB->back(), MaxDisp, false, Br.UncondBr));