Home
last modified time | relevance | path

Searched refs:DefOperIdx (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetSchedule.cpp156 static unsigned findDefIdx(const MachineInstr *MI, unsigned DefOperIdx) { in findDefIdx() argument
158 for (unsigned i = 0; i != DefOperIdx; ++i) { in findDefIdx()
184 const MachineInstr *DefMI, unsigned DefOperIdx, in computeOperandLatency() argument
193 OperLatency = TII->getOperandLatency(&InstrItins, *DefMI, DefOperIdx, in computeOperandLatency()
198 OperLatency = InstrItins.getOperandCycle(DefClass, DefOperIdx); in computeOperandLatency()
217 unsigned DefIdx = findDefIdx(DefMI, DefOperIdx); in computeOperandLatency()
240 if (SCDesc->isValid() && !DefMI->getOperand(DefOperIdx).isImplicit() in computeOperandLatency()
241 && !DefMI->getDesc().OpInfo[DefOperIdx].isOptionalDef() in computeOperandLatency()
289 computeOutputLatency(const MachineInstr *DefMI, unsigned DefOperIdx, in computeOutputLatency() argument
302 Register Reg = DefMI->getOperand(DefOperIdx).getReg(); in computeOutputLatency()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h173 unsigned computeOperandLatency(const MachineInstr *DefMI, unsigned DefOperIdx,
197 unsigned computeOutputLatency(const MachineInstr *DefMI, unsigned DefOperIdx,