OSDN Git Service

NewPM: Add an extension point for the start of the pipeline.
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 23 Jan 2018 01:25:20 +0000 (01:25 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 23 Jan 2018 01:25:20 +0000 (01:25 +0000)
commit0ac8747929fb69ca56dac732133b468b05c023d8
treef169d817123d8c476ceb29dfdb1e4bfe57b337ce
parent5d85c66118cf2e6ce0248b86385714a3a706092a
NewPM: Add an extension point for the start of the pipeline.

This applies to most pipelines except the LTO and ThinLTO backend
actions - it is for use at the beginning of the overall pipeline.

This extension point will be used to add the GCOV pass when enabled in
Clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323166 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Passes/PassBuilder.h
lib/Passes/PassBuilder.cpp
test/Other/new-pm-defaults.ll
test/Other/new-pm-thinlto-defaults.ll
tools/opt/NewPMDriver.cpp