OSDN Git Service

Add TargetMachine::addEarlyAsPossiblePasses, and call it from opt.
authorJustin Lebar <jlebar@google.com>
Wed, 27 Apr 2016 19:08:24 +0000 (19:08 +0000)
committerJustin Lebar <jlebar@google.com>
Wed, 27 Apr 2016 19:08:24 +0000 (19:08 +0000)
commitae889d36724efb174e8cc05d26e655c4c4ab8867
tree13d88470658b546902ad8135ac781896d6a82078
parenta1d828055330ebdee863482f2c9bada795568dec
Add TargetMachine::addEarlyAsPossiblePasses, and call it from opt.

Summary:
This is a hook to allow TargetMachine to install passes at the
EP_EarlyAsPossible PassManagerBuilder extension point.

Reviewers: chandlerc

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D18614

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267763 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetMachine.h
tools/opt/opt.cpp