Home
last modified time | relevance | path

Searched refs:TBI (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp122 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeDepthResources() local
125 if (!TBI->Pred) { in computeDepthResources()
126 TBI->InstrDepth = 0; in computeDepthResources()
127 TBI->Head = MBB->getNumber(); in computeDepthResources()
133 TraceBlockInfo *PredTBI = &BlockInfo[TBI->Pred->getNumber()]; in computeDepthResources()
135 const FixedBlockInfo *PredFBI = MTM.getResources(TBI->Pred); in computeDepthResources()
136 TBI->InstrDepth = PredTBI->InstrDepth + PredFBI->InstrCount; in computeDepthResources()
137 TBI->Head = PredTBI->Head; in computeDepthResources()
144 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeHeightResources() local
147 TBI->InstrHeight = MTM.getResources(MBB)->InstrCount; in computeHeightResources()
[all …]
DMachineTraceMetrics.h209 TraceBlockInfo &TBI; variable
211 unsigned getBlockNum() const { return &TBI - &TE.BlockInfo[0]; } in getBlockNum()
214 explicit Trace(Ensemble &te, TraceBlockInfo &tbi) : TE(te), TBI(tbi) {} in Trace()
219 return TBI.InstrDepth + TBI.InstrHeight; in getInstrCount()
240 unsigned getCriticalPath() const { return TBI.CriticalPath; } in getCriticalPath()