This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][NFC] Move getInliningInfo out of Inliner class
ClosedPublic

Authored by Amir on May 3 2022, 7:14 PM.

Details

Summary

getInliningInfo is useful in other passes that need to check inlining
eligibility for some function. Move the declaration and InliningInfo definition
out of Inliner class. Prepare for subsequent use in ICP.

Diff Detail

Event Timeline

Amir created this revision.May 3 2022, 7:14 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: ayermolo. · View Herald Transcript
Amir requested review of this revision.May 3 2022, 7:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2022, 7:14 PM
rafauler accepted this revision.May 4 2022, 1:38 PM

LGTM

This revision is now accepted and ready to land.May 4 2022, 1:38 PM
This revision was automatically updated to reflect the committed changes.