[all-commits] [llvm/llvm-project] 5b9358: [InstrProf][NFC] Add InstrProfInstBase base

Ellis Hoag via All-commits all-commits at lists.llvm.org
Tue Jan 18 11:12:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b9358d774012ea02ca702e28a909c5dd4464a03
      https://github.com/llvm/llvm-project/commit/5b9358d774012ea02ca702e28a909c5dd4464a03
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h
    M llvm/lib/IR/IntrinsicInst.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp

  Log Message:
  -----------
  [InstrProf][NFC] Add InstrProfInstBase base

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

Reviewed By: davidxl

Differential Revision: https://reviews.llvm.org/D117261




More information about the All-commits mailing list