[PATCH] D47858: [New PM] Introducing PassInstrumentation framework

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 4 07:04:38 PDT 2018


fedor.sergeev updated this revision to Diff 163804.
fedor.sergeev added a comment.

In this update:

- PassInstanceID introduced to track pass instances
- IRUnits are const references to avoid mishaps in instrumentation callbacks
- some comments added/updated


Repository:
  rL LLVM

https://reviews.llvm.org/D47858

Files:
  include/llvm/Analysis/CGSCCPassManager.h
  include/llvm/IR/PassInstrumentation.h
  include/llvm/IR/PassManager.h
  include/llvm/IR/PassManagerInternal.h
  include/llvm/Passes/PassBuilder.h
  include/llvm/Transforms/Scalar/LoopPassManager.h
  lib/Analysis/CGSCCPassManager.cpp
  lib/IR/CMakeLists.txt
  lib/IR/PassInstrumentation.cpp
  lib/Passes/PassBuilder.cpp
  lib/Transforms/Scalar/LoopPassManager.cpp
  test/Other/loop-pm-invalidation.ll
  test/Other/new-pass-manager.ll
  test/Other/new-pm-defaults.ll
  test/Other/new-pm-lto-defaults.ll
  test/Other/new-pm-thinlto-defaults.ll
  test/Transforms/Inline/cgscc-incremental-invalidate.ll
  test/Transforms/LoopRotate/pr35210.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47858.163804.patch
Type: text/x-patch
Size: 51363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180904/94e008ad/attachment.bin>


More information about the llvm-commits mailing list