[PATCH] D62067: [Support] Time profiler: support new PassManager

Philip Pfaffe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 16:29:58 PDT 2019


philip.pfaffe added a comment.

In essence, the infrastructure is a set of callbacks that you can register with PassBuilder. Your callbacks then get invoked at various points withing pipelines built by PB.

See StandardInstrumentations <http://llvm.org/doxygen/StandardInstrumentations_8h_source.html> as well as its use in opt's NewPMDriver for an example.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62067/new/

https://reviews.llvm.org/D62067





More information about the llvm-commits mailing list