Home
last modified time | relevance | path

Searched refs:TSchedModel (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCombiner.cpp78 TargetSchedModel TSchedModel; member in __anon1bb2734c0111::MachineCombiner
175 assert(TSchedModel.hasInstrSchedModelOrItineraries() && in getDepth()
208 LatencyOp = TSchedModel.computeOperandLatency( in getDepth()
232 assert(TSchedModel.hasInstrSchedModelOrItineraries() && in getLatency()
252 LatencyOp = TSchedModel.computeOperandLatency( in getLatency()
256 LatencyOp = TSchedModel.computeInstrLatency(NewRoot); in getLatency()
308 RootLatency += TSchedModel.computeInstrLatency(I); in getLatenciesForInstrSequences()
338 assert(TSchedModel.hasInstrSchedModelOrItineraries() && in improvesCriticalPathLen()
405 if (!TSchedModel.hasInstrSchedModel()) in preservesResourceLen()
449 if (!TSchedModel.hasInstrSchedModelOrItineraries()) in doSubstitute()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp119 TargetSchedModel TSchedModel; member in __anona45e71d00111::X86CmovConverterPass
174 TSchedModel.init(&STI); in runOnMachineFunction()
466 unsigned Latency = TSchedModel.computeInstrLatency(&MI); in checkForProfitableCmovCandidates()
531 unsigned MispredictPenalty = TSchedModel.getMCSchedModel()->MispredictPenalty; in checkForProfitableCmovCandidates()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNHazardRecognizer.cpp39 TSchedModel.init(&ST); in GCNHazardRecognizer()
1295 std::max(HazardDefLatency, TSchedModel.computeInstrLatency(&MI)); in checkMAIHazards908()
1372 std::max(HazardDefLatency, TSchedModel.computeInstrLatency(&MI)); in checkMAIHazards908()
1495 switch (TSchedModel.computeInstrLatency(MI1)) { in checkMAIHazards90A()
1525 switch (TSchedModel.computeInstrLatency(MI1)) { in checkMAIHazards90A()
1687 unsigned HazardDefLatency = TSchedModel.computeInstrLatency(MFMA); in checkMAIVALUHazards()
1761 switch (TSchedModel.computeInstrLatency(MFMA)) { in checkMAIVALUHazards()
1809 unsigned HazardDefLatency = TSchedModel.computeInstrLatency(MFMA); in checkMAIVALUHazards()
1846 return W < (int)TSchedModel.computeInstrLatency(MAI); in ShouldPreferAnother()
H A DGCNHazardRecognizer.h50 TargetSchedModel TSchedModel; variable
H A DAMDGPUSubtarget.cpp1094 const TargetSchedModel *TSchedModel = DAGInstrs->getSchedModel(); in apply() local
1095 if (!TSchedModel || DAG->SUnits.empty()) in apply()
1112 unsigned Lat = TSchedModel->computeInstrLatency(&MAI) - 1; in apply()