• Home
  • Raw
  • Download

Lines Matching refs:isReg

53       assert(FoldOp->isReg() || FoldOp->isGlobal());  in FoldCandidate()
66 bool isReg() const { in isReg() function
190 assert(Old.isReg()); in updateOperand()
397 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
398 !MI->getOperand(CommuteIdx1).isReg())) in tryAddToFoldList()
416 if (!OtherOp.isReg() || in tryAddToFoldList()
498 assert (Sub->isReg()); in getRegSeqInit()
501 SubDef && Sub->isReg() && !Sub->getSubReg() && in getRegSeqInit()
510 if (!Op->isReg()) in getRegSeqInit()
542 if (!OpToFold.isReg()) in tryToFoldACImm()
593 if (UseOp.isReg() && OpToFold.isReg()) { in foldOperand()
641 if ((!SOff.isReg() || SOff.getReg() != MFI->getStackPtrOffsetReg()) && in foldOperand()
720 if (UseMI->isCopy() && OpToFold.isReg() && in foldOperand()
762 } else if (Def->isReg() && TRI->isAGPR(*MRI, Def->getReg())) { in foldOperand()
775 assert(Def->isReg()); in foldOperand()
849 if (OpToFold.isReg() && TRI->isSGPRReg(*MRI, OpToFold.getReg())) { in foldOperand()
1009 if (Op.isReg()) { in getImmOrMaterializedImm()
1145 TII->get(Src0->isReg() ? (unsigned)AMDGPU::COPY : getMovOpc(false)); in tryFoldInst()
1261 assert(!Fold.isReg() || Fold.OpToFold); in foldInstOperand()
1262 if (Fold.isReg() && Fold.OpToFold->getReg().isVirtual()) { in foldInstOperand()
1271 if (Fold.isReg()) { in foldInstOperand()
1272 assert(Fold.OpToFold && Fold.OpToFold->isReg()); in foldInstOperand()
1304 if (!Src0->isReg() || !Src1->isReg() || in isClamp()
1450 if (Src0->isReg() && Src1->isReg() && Src0->getReg() == Src1->getReg() && in isOMod()
1470 if (OMod == SIOutMods::NONE || !RegOp->isReg() || in tryFoldOMod()
1544 CurrentKnownM0Val = (NewM0Val.isReg() && NewM0Val.getReg().isPhysical()) ? in runOnMachineFunction()
1554 if (!FoldingImm && !OpToFold.isReg()) in runOnMachineFunction()
1557 if (OpToFold.isReg() && !OpToFold.getReg().isVirtual()) in runOnMachineFunction()
1567 if (Dst.isReg() && !Dst.getReg().isVirtual()) in runOnMachineFunction()