[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 20 15:45:01 PDT 2018
fedor.sergeev updated this revision to Diff 166375.
fedor.sergeev added a comment.
separated legacy and newpm implementations, introducing TimePassesHelper object that
manages callbacks and keeps timing data. That in particular allows to avoid
singleton TimeInfo and mutex - all the weird stuff initially inherited from
a shared implementation.
Repository:
rL LLVM
https://reviews.llvm.org/D51276
Files:
include/llvm/IR/PassTimingInfo.h
include/llvm/Passes/PassBuilder.h
lib/IR/PassTimingInfo.cpp
lib/Passes/PassBuilder.cpp
test/Other/time-passes.ll
tools/opt/NewPMDriver.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51276.166375.patch
Type: text/x-patch
Size: 14654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180920/d53beebe/attachment.bin>
More information about the llvm-commits
mailing list