This is an archive of the discontinued LLVM Phabricator instance.

[CallSite removal][SampleProfile] Use CallBase instead of CallSite. NFC
ClosedPublic

Authored by craig.topper on Apr 15 2020, 11:05 AM.

Diff Detail

Event Timeline

craig.topper created this revision.Apr 15 2020, 11:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 15 2020, 11:05 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
dblaikie accepted this revision.Apr 15 2020, 11:38 AM

Looks good - if you like, as a follow-up, it'd be great to change some of these function/data structures to use CallBase* rather than Instruction* now that that's an option (the functions that unconditionally cast<CallBase> their parameters, or for loops that unconditionally cast<CallBase> the elements, etc - perhaps could use CallBase parameter/element types to begin with)

This revision is now accepted and ready to land.Apr 15 2020, 11:38 AM
This revision was automatically updated to reflect the committed changes.