Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineCombiner.cpp78 TargetSchedModel TSchedModel; member in __anonc479f2030111::MachineCombiner
175 assert(TSchedModel.hasInstrSchedModelOrItineraries() && in getDepth()
202 LatencyOp = TSchedModel.computeOperandLatency(DefInstr, DefIdx, 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()
303 NewRootLatency += TSchedModel.computeInstrLatency(InsInstrs[i]); in getLatenciesForInstrSequences()
308 RootLatency += TSchedModel.computeInstrLatency(I); in getLatenciesForInstrSequences()
338 assert(TSchedModel.hasInstrSchedModelOrItineraries() && in improvesCriticalPathLen()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp118 TargetSchedModel TSchedModel; member in __anon7664bae70111::X86CmovConverterPass
173 TSchedModel.init(&STI); in runOnMachineFunction()
465 unsigned Latency = TSchedModel.computeInstrLatency(&MI); in checkForProfitableCmovCandidates()
530 unsigned MispredictPenalty = TSchedModel.getMCSchedModel()->MispredictPenalty; in checkForProfitableCmovCandidates()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DGCNHazardRecognizer.cpp36 TSchedModel.init(&ST); in GCNHazardRecognizer()
1268 std::max(HazardDefLatency, TSchedModel.computeInstrLatency(&MI)); in checkMAIHazards908()
1345 std::max(HazardDefLatency, TSchedModel.computeInstrLatency(&MI)); in checkMAIHazards908()
1468 switch (TSchedModel.computeInstrLatency(MI1)) { in checkMAIHazards90A()
1498 switch (TSchedModel.computeInstrLatency(MI1)) { in checkMAIHazards90A()
1660 unsigned HazardDefLatency = TSchedModel.computeInstrLatency(MFMA); in checkMAIVALUHazards()
1734 switch (TSchedModel.computeInstrLatency(MFMA)) { in checkMAIVALUHazards()
1782 unsigned HazardDefLatency = TSchedModel.computeInstrLatency(MFMA); in checkMAIVALUHazards()
1819 return W < (int)TSchedModel.computeInstrLatency(MAI); in ShouldPreferAnother()
H A DGCNHazardRecognizer.h50 TargetSchedModel TSchedModel; variable
H A DAMDGPUSubtarget.cpp935 const TargetSchedModel *TSchedModel = DAGInstrs->getSchedModel(); in apply() local
936 if (!TSchedModel || DAG->SUnits.empty()) in apply()
953 unsigned Lat = TSchedModel->computeInstrLatency(&MAI) - 1; in apply()