OSDN Git Service

[PM] Teach PreservedAnalyses to have an `allInSet` static factory
authorChandler Carruth <chandlerc@gmail.com>
Sun, 9 Jul 2017 07:23:27 +0000 (07:23 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 9 Jul 2017 07:23:27 +0000 (07:23 +0000)
commit79b7faac9615a29fc9baf92e083d2da385e051b8
tree41501ce62efe6306968e9179772c41eb0e609d98
parenteb41f6a3452f9ff8985ee6ed9ebdc33f9ca75119
[PM] Teach PreservedAnalyses to have an `allInSet` static factory
function template to simplify building a quick object with a set marked
as preserved.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307493 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/PassManager.h
unittests/IR/PassManagerTest.cpp