This is an archive of the discontinued LLVM Phabricator instance.

[Not for review, only for reference] Devirtualize private methods which are annotated with private attribute
Needs ReviewPublic

Authored by hiraditya on Dec 17 2020, 11:28 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary
  • Parse method list
  • ignore selector calls from within blocks
  • Check that private method is marked for devirtualization except the ones called from within blocks

Previous discussion here: http://lists.llvm.org/pipermail/cfe-dev/2018-September/059303.html

Diff Detail

Event Timeline

hiraditya created this revision.Dec 17 2020, 11:28 PM
hiraditya requested review of this revision.Dec 17 2020, 11:28 PM
hiraditya removed subscribers: mgorny, Prazek.