Lines Matching defs:Br
256 bool fixupImmediateBr(ImmBranch &Br);
257 bool fixupConditionalBr(ImmBranch &Br);
258 bool fixupUnconditionalBr(ImmBranch &Br);
1230 bool CSKYConstantIslands::fixupImmediateBr(ImmBranch &Br) {
1231 MachineInstr *MI = Br.MI;
1235 if (isBBInRange(MI, DestBB, Br.MaxDisp))
1238 if (!Br.IsCond)
1239 return fixupUnconditionalBr(Br);
1240 return fixupConditionalBr(Br);
1247 bool CSKYConstantIslands::fixupUnconditionalBr(ImmBranch &Br) {
1248 MachineInstr *MI = Br.MI;
1255 Br.MaxDisp = ((1 << (26 - 1)) - 1) * 2;
1269 bool CSKYConstantIslands::fixupConditionalBr(ImmBranch &Br) {
1270 MachineInstr *MI = Br.MI;
1305 if (isBBInRange(MI, NewDest, Br.MaxDisp)) {
1345 Br.MI = &MBB->back();
1347 BuildMI(MBB, DebugLoc(), TII->get(Br.UncondBr)).addMBB(DestBB);
1349 unsigned MaxDisp = getUnconditionalBrDisp(Br.UncondBr);
1350 ImmBranches.push_back(ImmBranch(&MBB->back(), MaxDisp, false, Br.UncondBr));