@@ -283,7 +283,7 @@ class NextUseResult {
283283
284284 // Print each (VReg, LaneMask) entry with materialized distances.
285285 // Returns true if at least one record was printed.
286- LLVM_ATTRIBUTE_NOINLINE
286+ LLVM_DUMP_METHOD
287287 bool printSortedRecords (const VRegDistances::SortedRecords &Records,
288288 unsigned VReg, unsigned SnapshotOffset,
289289 int64_t EdgeWeigth = 0 , raw_ostream &O = dbgs(),
@@ -327,7 +327,7 @@ class NextUseResult {
327327
328328 // Iterate VRegs and delegate to printSortedRecords.
329329 // Returns true if anything was printed.
330- LLVM_ATTRIBUTE_NOINLINE
330+ LLVM_DUMP_METHOD
331331 bool printVregDistances (const VRegDistances &D, unsigned SnapshotOffset,
332332 int64_t EdgeWeight = 0 , raw_ostream &O = dbgs(),
333333 StringRef Indent = " ") const {
@@ -340,7 +340,7 @@ class NextUseResult {
340340 }
341341
342342 // Backward-compat shim for block-end printing (offset = 0, default indent).
343- LLVM_ATTRIBUTE_NOINLINE
343+ LLVM_DUMP_METHOD
344344 bool printVregDistances (const VRegDistances &D,
345345 raw_ostream &O = dbgs()) const {
346346 return printVregDistances (D, /* SnapshotOffset=*/ 0 , /* EdgeWeight*/ 0 , O);
@@ -400,10 +400,10 @@ class NextUseResult {
400400 return UsedInBlock[MBB.getNumber ()];
401401 }
402402
403- void dumpUsedInBlock ();
403+ LLVM_DUMP_METHOD void dumpUsedInBlock ();
404404
405405 // / Dump complete next-use analysis results for testing
406- void dumpAllNextUseDistances (const MachineFunction &MF);
406+ LLVM_DUMP_METHOD void dumpAllNextUseDistances (const MachineFunction &MF);
407407};
408408
409409class AMDGPUNextUseAnalysis : public AnalysisInfoMixin <AMDGPUNextUseAnalysis> {
0 commit comments