Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetSchedule.cpp174 const unsigned InstrLatency = computeInstrLatency(DefMI); in computeOperandLatency()
237 TargetSchedModel::computeInstrLatency(const MCSchedClassDesc &SCDesc) const { in computeInstrLatency() function in TargetSchedModel
238 return capLatency(MCSchedModel::computeInstrLatency(*STI, SCDesc)); in computeInstrLatency()
241 unsigned TargetSchedModel::computeInstrLatency(unsigned Opcode) const { in computeInstrLatency() function in TargetSchedModel
244 return capLatency(SchedModel.computeInstrLatency(*STI, SCIdx)); in computeInstrLatency()
247 unsigned TargetSchedModel::computeInstrLatency(const MCInst &Inst) const { in computeInstrLatency() function in TargetSchedModel
249 return capLatency(SchedModel.computeInstrLatency(*STI, *TII, Inst)); in computeInstrLatency()
250 return computeInstrLatency(Inst.getOpcode()); in computeInstrLatency()
254 TargetSchedModel::computeInstrLatency(const MachineInstr *MI, in computeInstrLatency() function in TargetSchedModel
265 return computeInstrLatency(*SCDesc); in computeInstrLatency()
[all …]
H A DMachineCombiner.cpp291 LatencyOp = TSchedModel.computeInstrLatency(NewRoot); in getLatency()
325 NewRootLatency += TSchedModel.computeInstrLatency(InsInstrs[i]); in getLatenciesForInstrSequences()
330 RootLatency += TSchedModel.computeInstrLatency(I); in getLatenciesForInstrSequences()
389 NewRootLatency = TSchedModel.computeInstrLatency(InsInstrs.back()); in improvesCriticalPathLen()
390 RootLatency = TSchedModel.computeInstrLatency(Root); in improvesCriticalPathLen()
H A DEarlyIfConversion.cpp1250 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); in shouldConvertIf()
1264 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); in shouldConvertIf()
1270 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); in shouldConvertIf()
H A DIfConversion.cpp1139 unsigned NumCycles = SchedModel.computeInstrLatency(&MI, false); in ScanInstructions()
2194 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); in CopyAndPredicateBlock()
H A DScheduleDAGInstrs.cpp609 SU->Latency = SchedModel.computeInstrLatency(SU->getInstr()); in initSUnits()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSchedule.h382 LLVM_ABI static int computeInstrLatency(const MCSubtargetInfo &STI,
385 LLVM_ABI int computeInstrLatency(const MCSubtargetInfo &STI,
388 LLVM_ABI int computeInstrLatency(const MCSubtargetInfo &STI,
394 int computeInstrLatency(
433 int MCSchedModel::computeInstrLatency( in computeInstrLatency() function
472 return MCSchedModel::computeInstrLatency(STI, *SCDesc); in computeInstrLatency()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h47 unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;
202 LLVM_ABI unsigned computeInstrLatency(const MachineInstr *MI,
204 LLVM_ABI unsigned computeInstrLatency(const MCInst &Inst) const;
205 LLVM_ABI unsigned computeInstrLatency(unsigned Opcode) const;
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSchedule.cpp43 int MCSchedModel::computeInstrLatency(const MCSubtargetInfo &STI, in computeInstrLatency() function in MCSchedModel
59 int MCSchedModel::computeInstrLatency(const MCSubtargetInfo &STI, in computeInstrLatency() function in MCSchedModel
65 return MCSchedModel::computeInstrLatency(STI, SCDesc); in computeInstrLatency()
70 int MCSchedModel::computeInstrLatency(const MCSubtargetInfo &STI, in computeInstrLatency() function in MCSchedModel
73 return MCSchedModel::computeInstrLatency<MCSubtargetInfo, MCInstrInfo, in computeInstrLatency()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp203 CyclesToEnd += TSM.computeInstrLatency(&MI); in cyclesUntilReturn()
H A DX86FixupVectorConstants.cpp378 int OldLat = MCSchedModel::computeInstrLatency(*ST, *OldDesc); in processInstruction()
379 int NewLat = MCSchedModel::computeInstrLatency(*ST, *NewDesc); in processInstruction()
H A DX86FixupInstTuning.cpp94 return MCSchedModel::computeInstrLatency( in processInstruction()
H A DX86CmovConversion.cpp480 unsigned Latency = TSchedModel.computeInstrLatency(&MI); in checkForProfitableCmovCandidates()
H A DX86FixupLEAs.cpp321 InstrDistance += TSM.computeInstrLatency(&*CurInst); in searchBackwards()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIPreEmitPeephole.cpp329 BranchTakenCost = SchedModel.computeInstrLatency(&Branch); in BranchWeightCostModel()
336 ThenCyclesCost += SchedModel.computeInstrLatency(&MI); in isProfitable()
H A DGCNHazardRecognizer.cpp2130 std::max(HazardDefLatency, TSchedModel.computeInstrLatency(&MI)); in checkMAIHazards908()
2207 std::max(HazardDefLatency, TSchedModel.computeInstrLatency(&MI)); in checkMAIHazards908()
2368 TSchedModel.computeInstrLatency(MI1) == 2) in checkMAIHazards90A()
2388 int NumPasses = TSchedModel.computeInstrLatency(MI1); in checkMAIHazards90A()
2445 int NumPasses = TSchedModel.computeInstrLatency(MI1); in checkMAIHazards90A()
2724 unsigned HazardDefLatency = TSchedModel.computeInstrLatency(MFMA); in checkMAIVALUHazards()
2819 int NumPasses = TSchedModel.computeInstrLatency(MFMA); in checkMAIVALUHazards()
2886 unsigned HazardDefLatency = TSchedModel.computeInstrLatency(MFMA); in checkMAIVALUHazards()
2925 return W < (int)TSchedModel.computeInstrLatency(MAI); in ShouldPreferAnother()
H A DGCNSchedStrategy.cpp1361 unsigned Latency = SM.computeInstrLatency(DefMI); in computeSUnitReadyCycle()
H A DSIInstrInfo.cpp10010 Lat = std::max(Lat, SchedModel.computeInstrLatency(&*I)); in getInstrLatency()
10015 return SchedModel.computeInstrLatency(&MI); in getInstrLatency()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp170 int Latency = SCModel.computeInstrLatency(*STI, *MCII, Inst); in emitLatency()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SIMDInstrOpt.cpp253 ReplCost += SchedModel.computeInstrLatency(IDesc->getOpcode()); in shouldReplaceInst()
255 if (SchedModel.computeInstrLatency(InstDesc->getOpcode()) > ReplCost) in shouldReplaceInst()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp213 IIVDEntry.Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in collectData()
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp233 int Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in computeMaxLatency()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1130 int Latency = SCModel.computeInstrLatency<MCSubtargetInfo, MCInstrInfo, in emitComments()