Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:MachineTraceMetrics

1 //===- lib/CodeGen/MachineTraceMetrics.cpp ----------------------*- C++ -*-===//
11 #include "llvm/CodeGen/MachineTraceMetrics.h"
29 char MachineTraceMetrics::ID = 0;
30 char &llvm::MachineTraceMetricsID = MachineTraceMetrics::ID;
32 INITIALIZE_PASS_BEGIN(MachineTraceMetrics,
36 INITIALIZE_PASS_END(MachineTraceMetrics,
39 MachineTraceMetrics::MachineTraceMetrics()
44 void MachineTraceMetrics::getAnalysisUsage(AnalysisUsage &AU) const {
51 bool MachineTraceMetrics::runOnMachineFunction(MachineFunction &Func) {
66 void MachineTraceMetrics::releaseMemory() {
83 const MachineTraceMetrics::FixedBlockInfo*
84 MachineTraceMetrics::getResources(const MachineBasicBlock *MBB) {
133 MachineTraceMetrics::getProcResourceCycles(unsigned MBBNum) const {
147 MachineTraceMetrics::Ensemble::Ensemble(MachineTraceMetrics *ct)
156 MachineTraceMetrics::Ensemble::~Ensemble() {}
159 MachineTraceMetrics::Ensemble::getLoopFor(const MachineBasicBlock *MBB) const {
165 void MachineTraceMetrics::Ensemble::
198 void MachineTraceMetrics::Ensemble::
232 const MachineTraceMetrics::TraceBlockInfo*
233 MachineTraceMetrics::Ensemble::
241 const MachineTraceMetrics::TraceBlockInfo*
242 MachineTraceMetrics::Ensemble::
255 MachineTraceMetrics::Ensemble::
269 MachineTraceMetrics::Ensemble::
304 class MinInstrCountEnsemble : public MachineTraceMetrics::Ensemble {
310 MinInstrCountEnsemble(MachineTraceMetrics *mtm)
311 : MachineTraceMetrics::Ensemble(mtm) {}
330 const MachineTraceMetrics::TraceBlockInfo *PredTBI =
360 const MachineTraceMetrics::TraceBlockInfo *SuccTBI =
374 MachineTraceMetrics::Ensemble *
375 MachineTraceMetrics::getEnsemble(MachineTraceMetrics::Strategy strategy) {
388 void MachineTraceMetrics::invalidate(const MachineBasicBlock *MBB) {
396 void MachineTraceMetrics::verifyAnalysis() const {
417 MutableArrayRef<MachineTraceMetrics::TraceBlockInfo> Blocks;
421 LoopBounds(MutableArrayRef<MachineTraceMetrics::TraceBlockInfo> blocks,
439 MachineTraceMetrics::TraceBlockInfo &TBI = LB.Blocks[To->getNumber()];
461 void MachineTraceMetrics::Ensemble::computeTrace(const MachineBasicBlock *MBB) {
510 MachineTraceMetrics::Ensemble::invalidate(const MachineBasicBlock *BadMBB) {
576 void MachineTraceMetrics::Ensemble::verify() const {
761 unsigned MachineTraceMetrics::Ensemble::
783 void MachineTraceMetrics::Ensemble::
960 void MachineTraceMetrics::Ensemble::
982 void MachineTraceMetrics::Ensemble::
1143 MachineTraceMetrics::Trace
1144 MachineTraceMetrics::Ensemble::getTrace(const MachineBasicBlock *MBB) {
1153 MachineTraceMetrics::Trace::getInstrSlack(const MachineInstr *MI) const {
1162 MachineTraceMetrics::Trace::getPHIDepth(const MachineInstr *PHI) const {
1176 unsigned MachineTraceMetrics::Trace::getResourceDepth(bool Bottom) const {
1202 unsigned MachineTraceMetrics::Trace::
1239 void MachineTraceMetrics::Ensemble::print(raw_ostream &OS) const {
1248 void MachineTraceMetrics::TraceBlockInfo::print(raw_ostream &OS) const {
1276 void MachineTraceMetrics::Trace::print(raw_ostream &OS) const {
1286 const MachineTraceMetrics::TraceBlockInfo *Block = &TBI;