Lines Matching refs:SystemZ
1 //===-- SystemZLongBranch.cpp - Branch lengthening for SystemZ ------------===//
35 // On SystemZ, long branches are only needed for functions bigger than 64k,
56 #define DEBUG_TYPE "systemz-long-branch"
137 return "SystemZ Long Branch";
214 case SystemZ::J:
218 case SystemZ::BRC:
222 case SystemZ::BRCT:
223 case SystemZ::BRCTG:
227 case SystemZ::CRJ:
231 case SystemZ::CGRJ:
235 case SystemZ::CIJ:
236 case SystemZ::CGIJ:
349 MachineInstr *BRCL = BuildMI(*MBB, MI, DL, TII->get(SystemZ::BRCL))
350 .addImm(SystemZ::CCMASK_ICMP)
351 .addImm(SystemZ::CCMASK_CMP_NE)
354 BRCL->addRegisterKilled(SystemZ::CC, &TII->getRegisterInfo());
367 MachineInstr *BRCL = BuildMI(*MBB, MI, DL, TII->get(SystemZ::BRCL))
368 .addImm(SystemZ::CCMASK_ICMP)
372 BRCL->addRegisterKilled(SystemZ::CC, &TII->getRegisterInfo());
380 case SystemZ::J:
381 Branch->setDesc(TII->get(SystemZ::JG));
383 case SystemZ::BRC:
384 Branch->setDesc(TII->get(SystemZ::BRCL));
386 case SystemZ::BRCT:
387 splitBranchOnCount(Branch, SystemZ::AHI);
389 case SystemZ::BRCTG:
390 splitBranchOnCount(Branch, SystemZ::AGHI);
392 case SystemZ::CRJ:
393 splitCompareBranch(Branch, SystemZ::CR);
395 case SystemZ::CGRJ:
396 splitCompareBranch(Branch, SystemZ::CGR);
398 case SystemZ::CIJ:
399 splitCompareBranch(Branch, SystemZ::CHI);
401 case SystemZ::CGIJ:
402 splitCompareBranch(Branch, SystemZ::CGHI);