File tree 1 file changed +4
-1
lines changed
llvm/include/llvm/CodeGen 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 {
243
243
SmallVector<LiveInReg, 4 > LiveIns;
244
244
245
245
void print (raw_ostream&) const ;
246
+ void dump () const { print (dbgs ()); }
246
247
};
247
248
248
249
// / InstrCycles represents the cycle height and depth of an instruction in a
@@ -271,6 +272,7 @@ class MachineTraceMetrics : public MachineFunctionPass {
271
272
explicit Trace (Ensemble &te, TraceBlockInfo &tbi) : TE(te), TBI(tbi) {}
272
273
273
274
void print (raw_ostream&) const ;
275
+ void dump () const { print (dbgs ()); }
274
276
275
277
// / Compute the total number of instructions in the trace.
276
278
unsigned getInstrCount () const {
@@ -361,7 +363,8 @@ class MachineTraceMetrics : public MachineFunctionPass {
361
363
virtual ~Ensemble ();
362
364
363
365
virtual const char *getName () const = 0;
364
- void print (raw_ostream&) const ;
366
+ void print (raw_ostream &) const ;
367
+ void dump () const { print (dbgs ()); }
365
368
void invalidate (const MachineBasicBlock *MBB);
366
369
void verify () const ;
367
370
You can’t perform that action at this time.
0 commit comments