File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
llvm/include/llvm/CodeGen Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,7 @@ class MachineTraceMetrics : public MachineFunctionPass {
243243 SmallVector<LiveInReg, 4 > LiveIns;
244244
245245 void print (raw_ostream&) const ;
246+ void dump () const { print (dbgs ()); }
246247 };
247248
248249 // / InstrCycles represents the cycle height and depth of an instruction in a
@@ -271,6 +272,7 @@ class MachineTraceMetrics : public MachineFunctionPass {
271272 explicit Trace (Ensemble &te, TraceBlockInfo &tbi) : TE(te), TBI(tbi) {}
272273
273274 void print (raw_ostream&) const ;
275+ void dump () const { print (dbgs ()); }
274276
275277 // / Compute the total number of instructions in the trace.
276278 unsigned getInstrCount () const {
@@ -361,7 +363,8 @@ class MachineTraceMetrics : public MachineFunctionPass {
361363 virtual ~Ensemble ();
362364
363365 virtual const char *getName () const = 0;
364- void print (raw_ostream&) const ;
366+ void print (raw_ostream &) const ;
367+ void dump () const { print (dbgs ()); }
365368 void invalidate (const MachineBasicBlock *MBB);
366369 void verify () const ;
367370
You can’t perform that action at this time.
0 commit comments