Lines Matching defs:Branch
1 //===-- SystemZLongBranch.cpp - Branch lengthening for SystemZ ------------===//
102 MachineInstr *Branch = nullptr;
110 // If Branch is nonnull, this is the number of the target block,
114 // If Branch is nonnull, this is the length of the longest relaxed form,
176 INITIALIZE_PASS(SystemZLongBranch, DEBUG_TYPE, "SystemZ Long Branch", false,
277 Terminator.Branch = &MI;
333 if (!Terminator.Branch || Terminator.ExtraRelaxSize == 0)
410 MachineInstr *Branch = Terminator.Branch;
411 switch (Branch->getOpcode()) {
413 Branch->setDesc(TII->get(SystemZ::JG));
416 Branch->setDesc(TII->get(SystemZ::BRCL));
419 splitBranchOnCount(Branch, SystemZ::AHI);
422 splitBranchOnCount(Branch, SystemZ::AGHI);
425 splitCompareBranch(Branch, SystemZ::CR);
428 splitCompareBranch(Branch, SystemZ::CGR);
431 splitCompareBranch(Branch, SystemZ::CHI);
434 splitCompareBranch(Branch, SystemZ::CGHI);
437 splitCompareBranch(Branch, SystemZ::CLR);
440 splitCompareBranch(Branch, SystemZ::CLGR);
443 splitCompareBranch(Branch, SystemZ::CLFI);
446 splitCompareBranch(Branch, SystemZ::CLGFI);
454 Terminator.Branch = nullptr;