• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/

Lines Matching refs:SystemZ

1 //===-- SystemZLongBranch.cpp - Branch lengthening for SystemZ ------------===//
34 // On SystemZ, long branches are only needed for functions bigger than 64k,
55 #include "SystemZ.h"
141 StringRef getPassName() const override { return "SystemZ Long Branch"; }
218 case SystemZ::J:
222 case SystemZ::BRC:
226 case SystemZ::BRCT:
227 case SystemZ::BRCTG:
231 case SystemZ::BRCTH:
235 case SystemZ::CRJ:
236 case SystemZ::CLRJ:
240 case SystemZ::CGRJ:
241 case SystemZ::CLGRJ:
245 case SystemZ::CIJ:
246 case SystemZ::CGIJ:
250 case SystemZ::CLIJ:
251 case SystemZ::CLGIJ:
362 MachineInstr *BRCL = BuildMI(*MBB, MI, DL, TII->get(SystemZ::BRCL))
363 .addImm(SystemZ::CCMASK_ICMP)
364 .addImm(SystemZ::CCMASK_CMP_NE)
367 BRCL->addRegisterKilled(SystemZ::CC, &TII->getRegisterInfo());
380 MachineInstr *BRCL = BuildMI(*MBB, MI, DL, TII->get(SystemZ::BRCL))
381 .addImm(SystemZ::CCMASK_ICMP)
385 BRCL->addRegisterKilled(SystemZ::CC, &TII->getRegisterInfo());
393 case SystemZ::J:
394 Branch->setDesc(TII->get(SystemZ::JG));
396 case SystemZ::BRC:
397 Branch->setDesc(TII->get(SystemZ::BRCL));
399 case SystemZ::BRCT:
400 splitBranchOnCount(Branch, SystemZ::AHI);
402 case SystemZ::BRCTG:
403 splitBranchOnCount(Branch, SystemZ::AGHI);
405 case SystemZ::CRJ:
406 splitCompareBranch(Branch, SystemZ::CR);
408 case SystemZ::CGRJ:
409 splitCompareBranch(Branch, SystemZ::CGR);
411 case SystemZ::CIJ:
412 splitCompareBranch(Branch, SystemZ::CHI);
414 case SystemZ::CGIJ:
415 splitCompareBranch(Branch, SystemZ::CGHI);
417 case SystemZ::CLRJ:
418 splitCompareBranch(Branch, SystemZ::CLR);
420 case SystemZ::CLGRJ:
421 splitCompareBranch(Branch, SystemZ::CLGR);
423 case SystemZ::CLIJ:
424 splitCompareBranch(Branch, SystemZ::CLFI);
426 case SystemZ::CLGIJ:
427 splitCompareBranch(Branch, SystemZ::CLGFI);