reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
259 unsigned getBlockNum() const { return &TBI - &TE.BlockInfo[0]; } 299 return TE.Cycles.lookup(&MI);lib/CodeGen/MachineTraceMetrics.cpp
1182 const MachineBasicBlock *MBB = TE.MTM.MF->getBlockNumbered(getBlockNum()); 1184 getPHIDeps(PHI, Deps, MBB, TE.MTM.MRI); 1190 DepCycle += TE.MTM.SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, 1200 ArrayRef<unsigned> PRDepths = TE.getProcResourceDepths(getBlockNum()); 1202 ArrayRef<unsigned> PRCycles = TE.MTM.getProcResourceCycles(getBlockNum()); 1210 PRMax = TE.MTM.getCycles(PRMax); 1216 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; 1217 if (unsigned IW = TE.MTM.SchedModel.getIssueWidth()) 1228 ArrayRef<unsigned> PRDepths = TE.getProcResourceDepths(getBlockNum()); 1229 ArrayRef<unsigned> PRHeights = TE.getProcResourceHeights(getBlockNum()); 1241 PI = TE.MTM.SchedModel.getWriteProcResBegin(SC), 1242 PE = TE.MTM.SchedModel.getWriteProcResEnd(SC); 1247 (PI->Cycles * TE.MTM.SchedModel.getResourceFactor(ResourceIdx)); 1256 PRCycles += TE.MTM.getProcResourceCycles(MBB->getNumber())[K]; 1262 PRMax = TE.MTM.getCycles(PRMax); 1268 Instrs += TE.MTM.getResources(MBB)->InstrCount; 1271 if (unsigned IW = TE.MTM.SchedModel.getIssueWidth()) 1282 const TraceBlockInfo &DepTBI = TE.BlockInfo[DefMI.getParent()->getNumber()]; 1283 const TraceBlockInfo &TBI = TE.BlockInfo[UseMI.getParent()->getNumber()]; 1326 unsigned MBBNum = &TBI - &TE.BlockInfo[0]; 1328 OS << TE.getName() << " trace %bb." << TBI.Head << " --> %bb." << MBBNum 1340 Block = &TE.BlockInfo[Num]; 1348 Block = &TE.BlockInfo[Num];