• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/

Lines Matching refs:DefMI

628   const MachineInstr *DefMI;
632 DataDep(const MachineInstr *DefMI, unsigned DefOp, unsigned UseOp)
633 : DefMI(DefMI), DefOp(DefOp), UseOp(UseOp) {}
641 DefMI = DefI->getParent();
771 const MachineInstr *DefMI = MTM.MRI->getVRegDef(LIR.Reg);
773 const TraceBlockInfo &DefTBI = BlockInfo[DefMI->getParent()->getNumber()];
776 unsigned Len = LIR.Height + Cycles[DefMI].Depth;
796 BlockInfo[Dep.DefMI->getParent()->getNumber()];
801 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth;
802 // Add latency if DefMI is a real instruction. Transients get latency 0.
803 if (!Dep.DefMI->isTransient())
805 .computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, Dep.UseOp);
951 // Push the height of DefMI upwards if required to match UseMI.
952 // Return true if this is the first time DefMI was seen.
957 // Adjust height by Dep.DefMI latency.
958 if (!Dep.DefMI->isTransient())
959 UseHeight += SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI,
962 // Update Heights[DefMI] to be the maximum height seen.
965 std::tie(I, New) = Heights.insert(std::make_pair(Dep.DefMI, UseHeight));
969 // DefMI has been pushed before. Give it the max height.
975 /// Assuming that the virtual register defined by DefMI:DefOp was used by
977 /// when reaching the block that contains DefMI.
979 addLiveIns(const MachineInstr *DefMI, unsigned DefOp,
982 unsigned Reg = DefMI->getOperand(DefOp).getReg();
984 const MachineBasicBlock *DefMBB = DefMI->getParent();
1086 addLiveIns(Deps.front().DefMI, Deps.front().DefOp, Stack);
1119 addLiveIns(Dep.DefMI, Dep.DefOp, Stack);
1136 const MachineInstr *DefMI = MTM.MRI->getVRegDef(LIR.Reg);
1137 LIR.Height = Heights.lookup(DefMI);
1188 unsigned DepCycle = getInstrCycles(*Dep.DefMI).Depth;
1189 // Add latency if DefMI is a real instruction. Transients get latency 0.
1190 if (!Dep.DefMI->isTransient())
1191 DepCycle += TE.MTM.SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp,
1278 bool MachineTraceMetrics::Trace::isDepInTrace(const MachineInstr &DefMI,
1280 if (DefMI.getParent() == UseMI.getParent())
1283 const TraceBlockInfo &DepTBI = TE.BlockInfo[DefMI.getParent()->getNumber()];