Home
last modified time | relevance | path

Searched refs:all_remarks (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/tools/opt-viewer/
Dopt-viewer.py209 def render(self, all_remarks): argument
230 for i, remark in enumerate(all_remarks[:max_entries]):
246 def map_remarks(all_remarks): argument
249 for remark in optrecord.itervalues(all_remarks):
261 def generate_report(all_remarks, argument
281 …sorted_remarks = sorted(optrecord.itervalues(all_remarks), key=lambda r: (r.Hotness, r.File, r.Lin…
283 …sorted_remarks = sorted(optrecord.itervalues(all_remarks), key=lambda r: (r.File, r.Line, r.Column…
363 all_remarks, file_remarks, should_display_hotness = \
366 map_remarks(all_remarks)
368 generate_report(all_remarks,
Doptrecord.py273 all_remarks = dict()
285 if not hasattr(remark, 'DebugLoc') or remark.key in all_remarks:
291 all_remarks[remark.key] = remark
302 return max_hotness, all_remarks, file_remarks
314 def merge_file_remarks(file_remarks_job, all_remarks, merged): argument
321 if remark.key not in all_remarks:
324 all_remarks = dict()
327 merge_file_remarks(file_remarks_job, all_remarks, file_remarks)
328 all_remarks.update(all_remarks_job)
330 return all_remarks, file_remarks, max_hotness != 0
Dopt-stats.py51 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)))