Lines Matching refs:DefMI
628 const MachineInstr *DefMI; member
632 DataDep(const MachineInstr *DefMI, unsigned DefOp, unsigned UseOp) in DataDep()
633 : DefMI(DefMI), DefOp(DefOp), UseOp(UseOp) {} in DataDep()
641 DefMI = DefI->getParent(); in DataDep()
770 const MachineInstr *DefMI = MTM.MRI->getVRegDef(LIR.Reg); in computeCrossBlockCriticalPath() local
772 const TraceBlockInfo &DefTBI = BlockInfo[DefMI->getParent()->getNumber()]; in computeCrossBlockCriticalPath()
775 unsigned Len = LIR.Height + Cycles[DefMI].Depth; in computeCrossBlockCriticalPath()
795 BlockInfo[Dep.DefMI->getParent()->getNumber()]; in updateDepth()
800 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in updateDepth()
802 if (!Dep.DefMI->isTransient()) in updateDepth()
804 .computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, Dep.UseOp); in updateDepth()
958 if (!Dep.DefMI->isTransient()) in pushDepHeight()
959 UseHeight += SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, in pushDepHeight()
965 std::tie(I, New) = Heights.insert(std::make_pair(Dep.DefMI, UseHeight)); in pushDepHeight()
979 addLiveIns(const MachineInstr *DefMI, unsigned DefOp, in addLiveIns() argument
982 Register Reg = DefMI->getOperand(DefOp).getReg(); in addLiveIns()
984 const MachineBasicBlock *DefMBB = DefMI->getParent(); in addLiveIns()
1085 addLiveIns(Deps.front().DefMI, Deps.front().DefOp, Stack); in computeInstrHeights()
1118 addLiveIns(Dep.DefMI, Dep.DefOp, Stack); in computeInstrHeights()
1135 const MachineInstr *DefMI = MTM.MRI->getVRegDef(LIR.Reg); in computeInstrHeights() local
1136 LIR.Height = Heights.lookup(DefMI); in computeInstrHeights()
1187 unsigned DepCycle = getInstrCycles(*Dep.DefMI).Depth; in getPHIDepth()
1189 if (!Dep.DefMI->isTransient()) in getPHIDepth()
1190 DepCycle += TE.MTM.SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, in getPHIDepth()
1277 bool MachineTraceMetrics::Trace::isDepInTrace(const MachineInstr &DefMI, in isDepInTrace() argument
1279 if (DefMI.getParent() == UseMI.getParent()) in isDepInTrace()
1282 const TraceBlockInfo &DepTBI = TE.BlockInfo[DefMI.getParent()->getNumber()]; in isDepInTrace()