Searched refs:DefInstr (Results 1 – 2 of 2) sorted by relevance
371 const MachineInstr *DefInstr = MRI->getVRegDef(InitialValueReg); in getTripCount() local374 if (DefInstr && (DefInstr->getOpcode() == PPC::ORI8 || in getTripCount()375 DefInstr->getOpcode() == PPC::ORI)) { in getTripCount()376 int64_t start = (short) DefInstr->getOperand(2).getImm(); in getTripCount()378 MRI->getVRegDef(DefInstr->getOperand(0).getReg()); in getTripCount()381 DEBUG(dbgs() << " initial constant: " << *DefInstr); in getTripCount()392 } else if (DefInstr && (DefInstr->getOpcode() == PPC::LI8 || in getTripCount()393 DefInstr->getOpcode() == PPC::LI)) { in getTripCount()394 DEBUG(dbgs() << " initial constant: " << *DefInstr); in getTripCount()396 int64_t count = ImmVal - int64_t(short(DefInstr->getOperand(1).getImm())); in getTripCount()
354 const MachineInstr *DefInstr = MRI->getVRegDef(InitialValue->getReg()); in getTripCount() local355 if (DefInstr && DefInstr->getOpcode() == Hexagon::TFRI) { in getTripCount()356 int64_t count = ImmVal - DefInstr->getOperand(1).getImm(); in getTripCount()