Lines Matching refs:DefMI
608 const MachineInstr *DefMI; member
612 DataDep(const MachineInstr *DefMI, unsigned DefOp, unsigned UseOp) in DataDep()
613 : DefMI(DefMI), DefOp(DefOp), UseOp(UseOp) {} in DataDep()
621 DefMI = DefI->getParent(); in DataDep()
761 const MachineInstr *DefMI = MTM.MRI->getVRegDef(LIR.Reg); in computeCrossBlockCriticalPath() local
763 const TraceBlockInfo &DefTBI = BlockInfo[DefMI->getParent()->getNumber()]; in computeCrossBlockCriticalPath()
766 unsigned Len = LIR.Height + Cycles[DefMI].Depth; in computeCrossBlockCriticalPath()
835 BlockInfo[Dep.DefMI->getParent()->getNumber()]; in computeInstrDepths()
840 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in computeInstrDepths()
842 if (!Dep.DefMI->isTransient()) in computeInstrDepths()
844 .computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, Dep.UseOp); in computeInstrDepths()
928 if (!Dep.DefMI->isTransient()) in pushDepHeight()
929 UseHeight += SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, in pushDepHeight()
935 std::tie(I, New) = Heights.insert(std::make_pair(Dep.DefMI, UseHeight)); in pushDepHeight()
949 addLiveIns(const MachineInstr *DefMI, unsigned DefOp, in addLiveIns() argument
952 unsigned Reg = DefMI->getOperand(DefOp).getReg(); in addLiveIns()
954 const MachineBasicBlock *DefMBB = DefMI->getParent(); in addLiveIns()
1057 addLiveIns(Deps.front().DefMI, Deps.front().DefOp, Stack); in computeInstrHeights()
1090 addLiveIns(Deps[i].DefMI, Deps[i].DefOp, Stack); in computeInstrHeights()
1108 const MachineInstr *DefMI = MTM.MRI->getVRegDef(LIR.Reg); in computeInstrHeights() local
1109 LIR.Height = Heights.lookup(DefMI); in computeInstrHeights()
1156 unsigned DepCycle = getInstrCycles(Dep.DefMI).Depth; in getPHIDepth()
1158 if (!Dep.DefMI->isTransient()) in getPHIDepth()
1160 .computeOperandLatency(Dep.DefMI, Dep.DefOp, PHI, Dep.UseOp); in getPHIDepth()
1247 bool MachineTraceMetrics::Trace::isDepInTrace(const MachineInstr *DefMI, in isDepInTrace() argument
1249 if (DefMI->getParent() == UseMI->getParent()) in isDepInTrace()
1252 const TraceBlockInfo &DepTBI = TE.BlockInfo[DefMI->getParent()->getNumber()]; in isDepInTrace()