• Home
  • Raw
  • Download

Lines Matching refs:DefMI

606   const MachineInstr *DefMI;  member
610 DataDep(const MachineInstr *DefMI, unsigned DefOp, unsigned UseOp) in DataDep()
611 : DefMI(DefMI), DefOp(DefOp), UseOp(UseOp) {} in DataDep()
619 DefMI = DefI->getParent(); in DataDep()
765 const MachineInstr *DefMI = MTM.MRI->getVRegDef(LIR.Reg); in computeCrossBlockCriticalPath() local
767 const TraceBlockInfo &DefTBI = BlockInfo[DefMI->getParent()->getNumber()]; in computeCrossBlockCriticalPath()
770 unsigned Len = LIR.Height + Cycles[DefMI].Depth; in computeCrossBlockCriticalPath()
838 BlockInfo[Dep.DefMI->getParent()->getNumber()]; in computeInstrDepths()
843 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in computeInstrDepths()
845 if (!Dep.DefMI->isTransient()) in computeInstrDepths()
847 .computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, Dep.UseOp); in computeInstrDepths()
934 if (!Dep.DefMI->isTransient()) in pushDepHeight()
935 UseHeight += SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, in pushDepHeight()
941 std::tie(I, New) = Heights.insert(std::make_pair(Dep.DefMI, UseHeight)); in pushDepHeight()
955 addLiveIns(const MachineInstr *DefMI, unsigned DefOp, in addLiveIns() argument
958 unsigned Reg = DefMI->getOperand(DefOp).getReg(); in addLiveIns()
960 const MachineBasicBlock *DefMBB = DefMI->getParent(); in addLiveIns()
1062 addLiveIns(Deps.front().DefMI, Deps.front().DefOp, Stack); in computeInstrHeights()
1095 addLiveIns(Dep.DefMI, Dep.DefOp, Stack); in computeInstrHeights()
1112 const MachineInstr *DefMI = MTM.MRI->getVRegDef(LIR.Reg); in computeInstrHeights() local
1113 LIR.Height = Heights.lookup(DefMI); in computeInstrHeights()
1164 unsigned DepCycle = getInstrCycles(*Dep.DefMI).Depth; in getPHIDepth()
1166 if (!Dep.DefMI->isTransient()) in getPHIDepth()
1167 DepCycle += TE.MTM.SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, in getPHIDepth()
1254 bool MachineTraceMetrics::Trace::isDepInTrace(const MachineInstr &DefMI, in isDepInTrace() argument
1256 if (DefMI.getParent() == UseMI.getParent()) in isDepInTrace()
1259 const TraceBlockInfo &DepTBI = TE.BlockInfo[DefMI.getParent()->getNumber()]; in isDepInTrace()