This is an archive of the discontinued LLVM Phabricator instance.

[ResetMachineFunctionPass] Add visited functions statistics info
ClosedPublic

Authored by zhutianyang on Mar 12 2019, 7:33 PM.

Details

Summary

Adding a "NumFunctionsVisited" for collecting the visited function number.
It can be used to collect function pass rate in some tests,
the pass rate = (NumberVisited - NumberReset)/NumberVisited.
e.g. it can be used for caculating GlobalISel pass rate in Test-Suite.

Diff Detail

Repository
rL LLVM

Event Timeline

zhutianyang created this revision.Mar 12 2019, 7:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 12 2019, 7:33 PM
zhutianyang retitled this revision from Add visited functions statistics info to [ResetMachineFunctionPass] Add visited functions statistics info.Mar 12 2019, 7:41 PM
This revision is now accepted and ready to land.Mar 13 2019, 11:11 AM
This revision was automatically updated to reflect the committed changes.