File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
include/swift/SILOptimizer/Utils
lib/SILOptimizer/Mandatory Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class PartitionOp {
75
75
return sourceInst;
76
76
}
77
77
78
- void dump () const {
78
+ void dump () const LLVM_ATTRIBUTE_USED {
79
79
switch (OpKind) {
80
80
case PartitionOpKind::Assign:
81
81
llvm::dbgs () << " assign %" << OpArgs[0 ] << " = %" << OpArgs[1 ] << " \n " ;
@@ -301,7 +301,7 @@ class Partition {
301
301
}
302
302
}
303
303
304
- void dump_labels () const {
304
+ void dump_labels () const LLVM_ATTRIBUTE_USED {
305
305
llvm::dbgs () << " Partition" ;
306
306
if (canonical)
307
307
llvm::dbgs () << " (canonical)" ;
@@ -311,7 +311,7 @@ class Partition {
311
311
llvm::dbgs () << " }\n " ;
312
312
}
313
313
314
- void dump () {
314
+ void dump () LLVM_ATTRIBUTE_USED {
315
315
std::map<signed , std::vector<unsigned >> buckets;
316
316
317
317
for (auto [i, label] : labels) {
Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ class BlockPartitionState {
408
408
}
409
409
410
410
public:
411
- void dump () {
411
+ void dump () LLVM_ATTRIBUTE_USED {
412
412
llvm::dbgs () << SEP_STR
413
413
<< " BlockPartitionState[reached="
414
414
<< reached
@@ -564,7 +564,7 @@ class PartitionAnalysis {
564
564
565
565
public:
566
566
567
- void dump () {
567
+ void dump () LLVM_ATTRIBUTE_USED {
568
568
llvm::dbgs () << " \n PartitionAnalysis[fname=" << function->getName () << " ]\n " ;
569
569
570
570
for (auto [_, blockState] : blockStates) {
You can’t perform that action at this time.
0 commit comments