Home
last modified time | relevance | path

Searched refs:computeInstrLatency (Results 1 – 18 of 18) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTargetSchedule.cpp240 TargetSchedModel::computeInstrLatency(const MCSchedClassDesc &SCDesc) const { in computeInstrLatency() function in TargetSchedModel
241 return capLatency(MCSchedModel::computeInstrLatency(*STI, SCDesc)); in computeInstrLatency()
244 unsigned TargetSchedModel::computeInstrLatency(unsigned Opcode) const { in computeInstrLatency() function in TargetSchedModel
247 return capLatency(SchedModel.computeInstrLatency(*STI, SCIdx)); in computeInstrLatency()
250 unsigned TargetSchedModel::computeInstrLatency(const MCInst &Inst) const { in computeInstrLatency() function in TargetSchedModel
252 return capLatency(SchedModel.computeInstrLatency(*STI, *TII, Inst)); in computeInstrLatency()
253 return computeInstrLatency(Inst.getOpcode()); in computeInstrLatency()
257 TargetSchedModel::computeInstrLatency(const MachineInstr *MI, in computeInstrLatency() function in TargetSchedModel
268 return computeInstrLatency(*SCDesc); in computeInstrLatency()
291 return computeInstrLatency(DefMI); in computeOutputLatency()
H A DMachineCombiner.cpp288 LatencyOp = TSchedModel.computeInstrLatency(NewRoot); in getLatency()
341 NewRootLatency += TSchedModel.computeInstrLatency(InsInstrs[i]); in getLatenciesForInstrSequences()
346 RootLatency += TSchedModel.computeInstrLatency(I); in getLatenciesForInstrSequences()
H A DEarlyIfConversion.cpp1141 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); in shouldConvertIf()
1155 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); in shouldConvertIf()
1161 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); in shouldConvertIf()
H A DIfConversion.cpp1123 unsigned NumCycles = SchedModel.computeInstrLatency(&MI, false); in ScanInstructions()
2195 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); in CopyAndPredicateBlock()
H A DScheduleDAGInstrs.cpp581 SU->Latency = SchedModel.computeInstrLatency(SU->getInstr()); in initSUnits()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h46 unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;
188 unsigned computeInstrLatency(const MachineInstr *MI,
190 unsigned computeInstrLatency(const MCInst &Inst) const;
191 unsigned computeInstrLatency(unsigned Opcode) const;
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCSchedule.cpp41 int MCSchedModel::computeInstrLatency(const MCSubtargetInfo &STI, in computeInstrLatency() function in MCSchedModel
57 int MCSchedModel::computeInstrLatency(const MCSubtargetInfo &STI, in computeInstrLatency() function in MCSchedModel
63 return MCSchedModel::computeInstrLatency(STI, SCDesc); in computeInstrLatency()
68 int MCSchedModel::computeInstrLatency(const MCSubtargetInfo &STI, in computeInstrLatency() function in MCSchedModel
83 return MCSchedModel::computeInstrLatency(STI, *SCDesc); in computeInstrLatency()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCSchedule.h354 static int computeInstrLatency(const MCSubtargetInfo &STI,
357 int computeInstrLatency(const MCSubtargetInfo &STI, unsigned SClass) const;
358 int computeInstrLatency(const MCSubtargetInfo &STI, const MCInstrInfo &MCII,
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp207 CyclesToEnd += TSM.computeInstrLatency(&MI); in cyclesUntilReturn()
H A DX86CmovConversion.cpp479 unsigned Latency = TSchedModel.computeInstrLatency(&MI); in checkForProfitableCmovCandidates()
H A DX86FixupLEAs.cpp326 InstrDistance += TSM.computeInstrLatency(&*CurInst); in searchBackwards()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DGCNHazardRecognizer.cpp2021 std::max(HazardDefLatency, TSchedModel.computeInstrLatency(&MI)); in checkMAIHazards908()
2098 std::max(HazardDefLatency, TSchedModel.computeInstrLatency(&MI)); in checkMAIHazards908()
2221 TSchedModel.computeInstrLatency(MI1) == 2) in checkMAIHazards90A()
2240 switch (TSchedModel.computeInstrLatency(MI1)) { in checkMAIHazards90A()
2290 switch (TSchedModel.computeInstrLatency(MI1)) { in checkMAIHazards90A()
2503 unsigned HazardDefLatency = TSchedModel.computeInstrLatency(MFMA); in checkMAIVALUHazards()
2604 switch (TSchedModel.computeInstrLatency(MFMA)) { in checkMAIVALUHazards()
2670 unsigned HazardDefLatency = TSchedModel.computeInstrLatency(MFMA); in checkMAIVALUHazards()
2709 return W < (int)TSchedModel.computeInstrLatency(MAI); in ShouldPreferAnother()
H A DAMDGPUSubtarget.cpp939 unsigned Lat = TSchedModel->computeInstrLatency(&MAI) - 1; in apply()
H A DGCNSchedStrategy.cpp967 unsigned Latency = SM.computeInstrLatency(DefMI); in computeSUnitReadyCycle()
H A DSIInstrInfo.cpp8358 Lat = std::max(Lat, SchedModel.computeInstrLatency(&*I)); in getInstrLatency()
8363 return SchedModel.computeInstrLatency(&MI); in getInstrLatency()
/openbsd-src/gnu/llvm/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp136 IIVDEntry.Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in collectData()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64SIMDInstrOpt.cpp254 ReplCost += SchedModel.computeInstrLatency(IDesc->getOpcode()); in shouldReplaceInst()
256 if (SchedModel.computeInstrLatency(InstDesc->getOpcode()) > ReplCost) in shouldReplaceInst()
/openbsd-src/gnu/llvm/llvm/lib/MCA/
H A DInstrBuilder.cpp231 int Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in computeMaxLatency()