This is an archive of the discontinued LLVM Phabricator instance.

[InstrProf][NFC] Add InstrProfInstBase base
ClosedPublic

Authored by ellis on Jan 13 2022, 4:29 PM.

Details

Summary

The InstrProfInstBase class is for all llvm.instrprof.* intrinsics. In a
later diff we will add new instrinsic of this type. Also refactor some
logic in InstrProfiling.cpp.

Diff Detail

Event Timeline

ellis created this revision.Jan 13 2022, 4:29 PM
ellis requested review of this revision.Jan 13 2022, 4:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 13 2022, 4:29 PM
davidxl added inline comments.Jan 13 2022, 5:15 PM
llvm/include/llvm/IR/IntrinsicInst.h
1180

nit: InstrProfBase --> InstProfInstBase

ellis updated this revision to Diff 400099.Jan 14 2022, 12:02 PM

Rename to InstrProfInstBase

ellis retitled this revision from [InstrProf][NFC] Add InstrProfBase base to [InstrProf][NFC] Add InstrProfInstrBase base.Jan 14 2022, 12:03 PM
ellis edited the summary of this revision. (Show Details)
ellis retitled this revision from [InstrProf][NFC] Add InstrProfInstrBase base to [InstrProf][NFC] Add InstrProfInstBase base.
ellis edited the summary of this revision. (Show Details)
davidxl accepted this revision.Jan 17 2022, 1:31 PM

lgtm

This revision is now accepted and ready to land.Jan 17 2022, 1:31 PM
This revision was landed with ongoing or failed builds.Jan 18 2022, 11:12 AM
This revision was automatically updated to reflect the committed changes.