This is an archive of the discontinued LLVM Phabricator instance.

[profi] Move out base definitions into SampleProfileInferenceBase header
AbandonedPublic

Authored by Amir on Jun 2 2023, 3:32 PM.

Details

Summary

BOLT doesn't require LLVM IR/MIR definitions from SampleProfileInference.
Move out FlowBlock/FlowJump/FlowFunction definitions into a separate header.
This helps avoid TransformUtils link-time dependency.

Diff Detail

Event Timeline

Amir created this revision.Jun 2 2023, 3:32 PM
Herald added a project: Restricted Project. · View Herald Transcript
Amir requested review of this revision.Jun 2 2023, 3:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2023, 3:32 PM
Amir abandoned this revision.Jun 2 2023, 4:03 PM