[PATCH] D117261: [InstrProf][NFC] Add InstrProfBase base

Ellis Hoag via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 13 16:29:55 PST 2022


ellis created this revision.
Herald added subscribers: dexonsmith, hiraditya.
ellis requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The `InstrProfBase` 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`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117261

Files:
  llvm/include/llvm/IR/IntrinsicInst.h
  llvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h
  llvm/lib/IR/IntrinsicInst.cpp
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117261.399831.patch
Type: text/x-patch
Size: 7685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220114/360ce1cd/attachment.bin>


More information about the llvm-commits mailing list