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

Lines Matching refs:SystemZ

15 #include "SystemZ.h"
72 return "SystemZ Comparison Elimination";
112 case SystemZ::LR:
113 case SystemZ::LGR:
114 case SystemZ::LGFR:
115 case SystemZ::LTR:
116 case SystemZ::LTGR:
117 case SystemZ::LTGFR:
118 case SystemZ::LER:
119 case SystemZ::LDR:
120 case SystemZ::LXR:
121 case SystemZ::LTEBR:
122 case SystemZ::LTDBR:
123 case SystemZ::LTXBR:
168 return (MI.getOpcode() == SystemZ::LTEBR ||
169 MI.getOpcode() == SystemZ::LTDBR ||
170 MI.getOpcode() == SystemZ::LTXBR) &&
196 if (Opcode == SystemZ::AHI)
197 BRCT = SystemZ::BRCT;
198 else if (Opcode == SystemZ::AGHI)
199 BRCT = SystemZ::BRCTG;
200 else if (Opcode == SystemZ::AIH)
201 BRCT = SystemZ::BRCTH;
211 if (Branch->getOpcode() != SystemZ::BRC ||
212 Branch->getOperand(0).getImm() != SystemZ::CCMASK_ICMP ||
213 Branch->getOperand(1).getImm() != SystemZ::CCMASK_CMP_NE)
235 if (BRCT != SystemZ::BRCTH)
236 MIB.addReg(SystemZ::CC, RegState::ImplicitDefine | RegState::Dead);
255 if (Branch->getOpcode() != SystemZ::CondTrap ||
256 Branch->getOperand(0).getImm() != SystemZ::CCMASK_ICMP ||
257 Branch->getOperand(1).getImm() != SystemZ::CCMASK_CMP_EQ)
318 case SystemZ::AR: ConvOpc = SystemZ::ALR; break;
319 case SystemZ::ARK: ConvOpc = SystemZ::ALRK; break;
320 case SystemZ::AGR: ConvOpc = SystemZ::ALGR; break;
321 case SystemZ::AGRK: ConvOpc = SystemZ::ALGRK; break;
322 case SystemZ::A: ConvOpc = SystemZ::AL; break;
323 case SystemZ::AY: ConvOpc = SystemZ::ALY; break;
324 case SystemZ::AG: ConvOpc = SystemZ::ALG; break;
333 MI.clearRegisterDeads(SystemZ::CC);
340 case SystemZ::AHI:
341 case SystemZ::AHIK:
342 case SystemZ::AGHI:
343 case SystemZ::AGHIK:
344 case SystemZ::AFI:
345 case SystemZ::AIH:
346 case SystemZ::AGFI:
387 ReusableCCMask &= SystemZ::CCMASK_CMP_EQ;
407 if (SystemZ::GRX32BitRegClass.contains(MI.getOperand(0).getReg()) &&
410 OFImplies = (RHS > 0 ? SystemZ::CCMASK_CMP_LT : SystemZ::CCMASK_CMP_GT);
416 ReusableCCMask = SystemZ::CCMASK_CMP_EQ;
465 CCMask = (CCMask == SystemZ::CCMASK_CMP_EQ ?
466 SystemZ::CCMASK_LOGICAL_ZERO : SystemZ::CCMASK_LOGICAL_NONZERO);
471 CCMask |= (CCMask & OFImplies) ? SystemZ::CCMASK_ARITH_OVERFLOW : 0;
479 MI.clearRegisterDeads(SystemZ::CC);
494 MBBI->clearRegisterKills(SystemZ::CC, TRI);
503 case SystemZ::LTEBRCompare:
504 case SystemZ::LTDBRCompare:
505 case SystemZ::LTXBRCompare:
560 CCRefs |= getRegReferences(MI, SystemZ::CC);
587 if (getRegReferences(MI, SystemZ::CC))
604 case SystemZ::BRC:
607 case SystemZ::CondReturn:
610 case SystemZ::CallBCR:
613 case SystemZ::CondTrap:
641 assert((CCMask.getImm() & ~SystemZ::CCMASK_ICMP) == 0 &&
651 int CCUse = MBBI->findRegisterUseOperandIdx(SystemZ::CC, false, TRI);
665 if (FusedOpcode == SystemZ::CLT || FusedOpcode == SystemZ::CLGT)
677 MIB.add(Target).addReg(SystemZ::CC,
705 bool CompleteCCUsers = !LiveRegs.contains(SystemZ::CC);
720 if (MI.definesRegister(SystemZ::CC)) {
724 if (MI.readsRegister(SystemZ::CC) && CompleteCCUsers)