Searched refs:all_remarks (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt-viewer/ |
D | optrecord.py | 268 all_remarks = dict() 276 if not hasattr(remark, 'DebugLoc') or remark.key in all_remarks: 278 all_remarks[remark.key] = remark 289 return max_hotness, all_remarks, file_remarks 301 def merge_file_remarks(file_remarks_job, all_remarks, merged): argument 308 if remark.key not in all_remarks: 311 all_remarks = dict() 314 merge_file_remarks(file_remarks_job, all_remarks, file_remarks) 315 all_remarks.update(all_remarks_job) 317 return all_remarks, file_remarks, max_hotness != 0
|
D | opt-viewer.py | 178 def render(self, all_remarks): argument 199 for i, remark in enumerate(all_remarks[:max_entries]): 215 def map_remarks(all_remarks): argument 218 for remark in optrecord.itervalues(all_remarks): 230 def generate_report(all_remarks, argument 250 …sorted_remarks = sorted(optrecord.itervalues(all_remarks), key=lambda r: (r.Hotness, r.File, r.Lin… 252 …sorted_remarks = sorted(optrecord.itervalues(all_remarks), key=lambda r: (r.File, r.Line, r.Column… 327 all_remarks, file_remarks, should_display_hotness = \ 330 map_remarks(all_remarks) 332 generate_report(all_remarks,
|
D | opt-stats.py | 51 all_remarks, file_remarks, _ = optrecord.gather_results( variable 58 for r in optrecord.itervalues(all_remarks): 62 total = len(all_remarks) 67 h.size / len(all_remarks)))
|