Home
last modified time | relevance | path

Searched refs:InstrDepth (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineTraceMetrics.h172 unsigned InstrDepth = ~0u; member
182 bool hasValidDepth() const { return InstrDepth != ~0u; } in hasValidDepth()
189 void invalidateDepth() { InstrDepth = ~0u; HasValidInstrDepths = false; } in invalidateDepth()
212 return HasValidInstrDepths && InstrDepth <= TBI.InstrDepth; in isUsefulDominator()
268 return TBI.InstrDepth + TBI.InstrHeight; in getInstrCount()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineCombiner.cpp211 SmallVector<unsigned, 16> InstrDepth; in getDepth() local
232 assert(II->second < InstrDepth.size() && "Bad Index"); in getDepth()
236 DepthOp = InstrDepth[II->second]; in getDepth()
253 InstrDepth.push_back(IDepth); in getDepth()
256 return InstrDepth[NewRootIdx]; in getDepth()
H A DMachineTraceMetrics.cpp183 TBI->InstrDepth = 0; in computeDepthResources()
196 TBI->InstrDepth = PredTBI->InstrDepth + PredFBI->InstrCount; in computeDepthResources()
343 unsigned Depth = PredTBI->InstrDepth + CurCount; in pickTracePred()
868 dbgs() << format("%7u Instructions\n", TBI.InstrDepth); in computeInstrDepths()
1213 unsigned Instrs = TBI.InstrDepth; in getResourceDepth()
1265 unsigned Instrs = TBI.InstrDepth + TBI.InstrHeight; in getResourceLength()
1299 OS << "depth=" << InstrDepth; in print()