File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
include/swift/SILOptimizer/Analysis
lib/SILOptimizer/Analysis Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -286,6 +286,13 @@ class regionanalysisimpl::TrackableValue {
286
286
bool isTransferringParameter () const ;
287
287
288
288
void print (llvm::raw_ostream &os) const {
289
+ os << " TrackableValue. State: " ;
290
+ valueState.print (os);
291
+ os << " \n Rep Value: " ;
292
+ getRepresentative ().print (os);
293
+ }
294
+
295
+ void printVerbose (llvm::raw_ostream &os) const {
289
296
os << " TrackableValue. State: " ;
290
297
valueState.print (os);
291
298
os << " \n Rep Value: " << getRepresentative ();
Original file line number Diff line number Diff line change @@ -3460,7 +3460,9 @@ void RegionAnalysisValueMap::print(llvm::raw_ostream &os) const {
3460
3460
}
3461
3461
std::sort (temp.begin (), temp.end ());
3462
3462
for (auto p : temp) {
3463
- os << " %%" << p.first << " : " << p.second ;
3463
+ os << " %%" << p.first << " : " ;
3464
+ auto value = getValueForId (Element (p.first ));
3465
+ value->print (os);
3464
3466
}
3465
3467
#endif
3466
3468
}
You can’t perform that action at this time.
0 commit comments