Lines Matching refs:DefMI
646 const MachineInstr *DefMI; member
650 DataDep(const MachineInstr *DefMI, unsigned DefOp, unsigned UseOp) in DataDep()
651 : DefMI(DefMI), DefOp(DefOp), UseOp(UseOp) {} in DataDep()
659 DefMI = DefI->getParent(); in DataDep()
783 const MachineInstr *DefMI = MTM.MRI->getVRegDef(LIR.Reg); in computeCrossBlockCriticalPath() local
785 const TraceBlockInfo &DefTBI = BlockInfo[DefMI->getParent()->getNumber()]; in computeCrossBlockCriticalPath()
788 unsigned Len = LIR.Height + Cycles[DefMI].Depth; in computeCrossBlockCriticalPath()
808 BlockInfo[Dep.DefMI->getParent()->getNumber()]; in updateDepth()
813 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in updateDepth()
815 if (!Dep.DefMI->isTransient()) in updateDepth()
817 .computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, Dep.UseOp); in updateDepth()
967 if (!Dep.DefMI->isTransient()) in pushDepHeight()
968 UseHeight += SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, in pushDepHeight()
974 std::tie(I, New) = Heights.insert(std::make_pair(Dep.DefMI, UseHeight)); in pushDepHeight()
988 addLiveIns(const MachineInstr *DefMI, unsigned DefOp, in addLiveIns() argument
991 Register Reg = DefMI->getOperand(DefOp).getReg(); in addLiveIns()
993 const MachineBasicBlock *DefMBB = DefMI->getParent(); in addLiveIns()
1094 addLiveIns(Deps.front().DefMI, Deps.front().DefOp, Stack); in computeInstrHeights()
1124 addLiveIns(Dep.DefMI, Dep.DefOp, Stack); in computeInstrHeights()
1141 const MachineInstr *DefMI = MTM.MRI->getVRegDef(LIR.Reg); in computeInstrHeights() local
1142 LIR.Height = Heights.lookup(DefMI); in computeInstrHeights()
1192 unsigned DepCycle = getInstrCycles(*Dep.DefMI).Depth; in getPHIDepth()
1194 if (!Dep.DefMI->isTransient()) in getPHIDepth()
1195 DepCycle += TE.MTM.SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, in getPHIDepth()
1282 bool MachineTraceMetrics::Trace::isDepInTrace(const MachineInstr &DefMI, in isDepInTrace() argument
1284 if (DefMI.getParent() == UseMI.getParent()) in isDepInTrace()
1287 const TraceBlockInfo &DepTBI = TE.BlockInfo[DefMI.getParent()->getNumber()]; in isDepInTrace()