[PATCH] D51276: [New PM][PassTiming] implement -time-passes for the new pass manager

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 6 08:58:26 PDT 2018


fedor.sergeev updated this revision to Diff 164228.
fedor.sergeev added a comment.
Herald added subscribers: dexonsmith, steven_wu, eraman.

rebased, most of the changes are due to changed PassInstrumentation handling of pass managers.
Now pass managers/adaptors are being tracked inside the TimePassesCallbacks object,
which keeps the state for callbacks to operate on. It allows to report exclusive times
for pass managers/adaptors (not including all the nested passes).


Repository:
  rL LLVM

https://reviews.llvm.org/D51276

Files:
  include/llvm/IR/PassTimingInfo.h
  lib/IR/PassTimingInfo.cpp
  lib/Passes/PassBuilder.cpp
  test/Other/new-pm-lto-defaults.ll
  test/Other/new-pm-thinlto-defaults.ll
  test/Other/time-passes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51276.164228.patch
Type: text/x-patch
Size: 15305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180906/57d5ec50/attachment.bin>


More information about the llvm-commits mailing list