Home | History | Annotate | Download | only in SystemZ

Lines Matching refs:SystemZ

29 #define DEBUG_TYPE "systemz-elim-compare"
63 return "SystemZ Comparison Elimination";
95 if ((*SI)->isLiveIn(SystemZ::CC))
109 case SystemZ::LR:
110 case SystemZ::LGR:
111 case SystemZ::LGFR:
112 case SystemZ::LTR:
113 case SystemZ::LTGR:
114 case SystemZ::LTGFR:
115 case SystemZ::LER:
116 case SystemZ::LDR:
117 case SystemZ::LXR:
118 case SystemZ::LTEBR:
119 case SystemZ::LTDBR:
120 case SystemZ::LTXBR:
152 return ((MI->getOpcode() == SystemZ::LTEBR ||
153 MI->getOpcode() == SystemZ::LTDBR ||
154 MI->getOpcode() == SystemZ::LTXBR) &&
180 if (Opcode == SystemZ::AHI)
181 BRCT = SystemZ::BRCT;
182 else if (Opcode == SystemZ::AGHI)
183 BRCT = SystemZ::BRCTG;
193 if (Branch->getOpcode() != SystemZ::BRC ||
194 Branch->getOperand(0).getImm() != SystemZ::CCMASK_ICMP ||
195 Branch->getOperand(1).getImm() != SystemZ::CCMASK_CMP_NE)
216 .addReg(SystemZ::CC, RegState::ImplicitDefine);
230 .addReg(SystemZ::CC, RegState::ImplicitDefine);
252 ReusableCCMask &= SystemZ::CCMASK_CMP_EQ;
299 int CCDef = MI->findRegisterDefOperandIdx(SystemZ::CC, false, true, TRI);
306 MBBI->clearRegisterKills(SystemZ::CC, TRI);
314 case SystemZ::LTEBRCompare:
315 case SystemZ::LTDBRCompare:
316 case SystemZ::LTXBRCompare:
367 CCRefs |= getRegReferences(MI, SystemZ::CC);
389 if (Branch->getOpcode() != SystemZ::BRC)
405 assert((CCMask.getImm() & ~SystemZ::CCMASK_ICMP) == 0 &&
409 int CCUse = MBBI->findRegisterUseOperandIdx(SystemZ::CC, false, TRI);
423 .addReg(SystemZ::CC, RegState::ImplicitDefine);
460 if (MI->definesRegister(SystemZ::CC)) {
464 if (MI->readsRegister(SystemZ::CC) && CompleteCCUsers)