Lines Matching refs:getImm

227       RowMaskOpnd->getImm() == 0xF && BankMaskOpnd->getImm() == 0xF;  in createDPPInst()
282 (0LL == (Mod0->getImm() & ~(SISrcMods::ABS | SISrcMods::NEG)))); in createDPPInst()
283 DPPInst.addImm(Mod0->getImm()); in createDPPInst()
306 (0LL == (Mod1->getImm() & ~(SISrcMods::ABS | SISrcMods::NEG)))); in createDPPInst()
307 DPPInst.addImm(Mod1->getImm()); in createDPPInst()
339 (0LL == (Mod2->getImm() & ~(SISrcMods::ABS | SISrcMods::NEG)))); in createDPPInst()
340 DPPInst.addImm(Mod2->getImm()); in createDPPInst()
358 DPPInst.addImm(ClampOpr->getImm()); in createDPPInst()
367 DPPInst.addImm(OmodOpr->getImm()); in createDPPInst()
374 OpSel |= (Mod0 ? (!!(Mod0->getImm() & SISrcMods::OP_SEL_0) << 0) : 0); in createDPPInst()
375 OpSel |= (Mod1 ? (!!(Mod1->getImm() & SISrcMods::OP_SEL_0) << 1) : 0); in createDPPInst()
376 OpSel |= (Mod2 ? (!!(Mod2->getImm() & SISrcMods::OP_SEL_0) << 2) : 0); in createDPPInst()
378 OpSel |= !!(Mod0->getImm() & SISrcMods::DST_OP_SEL) << 3; in createDPPInst()
391 OpSelHi |= (Mod0 ? (!!(Mod0->getImm() & SISrcMods::OP_SEL_1) << 0) : 0); in createDPPInst()
392 OpSelHi |= (Mod1 ? (!!(Mod1->getImm() & SISrcMods::OP_SEL_1) << 1) : 0); in createDPPInst()
393 OpSelHi |= (Mod2 ? (!!(Mod2->getImm() & SISrcMods::OP_SEL_1) << 2) : 0); in createDPPInst()
408 DPPInst.addImm(NegOpr->getImm()); in createDPPInst()
412 DPPInst.addImm(NegHiOpr->getImm()); in createDPPInst()
447 if (OldOpnd->getImm() == 0) in isIdentityValue()
454 if (static_cast<uint32_t>(OldOpnd->getImm()) == in isIdentityValue()
460 if (static_cast<int32_t>(OldOpnd->getImm()) == in isIdentityValue()
466 if (static_cast<int32_t>(OldOpnd->getImm()) == in isIdentityValue()
474 if (OldOpnd->getImm() == 1) in isIdentityValue()
515 return (Imm->getImm() & Mask) == Value; in hasNoImmOrEqual()
541 if (!AMDGPU::isLegalDPALU_DPPControl(DppCtrl->getImm())) { in combineDPPMov()
553 const bool MaskAllLanes = RowMaskOpnd->getImm() == 0xF && in combineDPPMov()
554 BankMaskOpnd->getImm() == 0xF; in combineDPPMov()
558 bool BoundCtrlZero = BCZOpnd->getImm(); in combineDPPMov()
586 if (OldOpndValue->getImm() == 0) { in combineDPPMov()
650 FwdSubReg = OrigMI.getOperand(OpNo + 1).getImm(); in combineDPPMov()