[Attributor] Add helper class to compose two structured deduction.
authorHideto Ueno <uenoku.tokotoko@gmail.com>
Tue, 8 Oct 2019 15:20:19 +0000 (15:20 +0000)
committerHideto Ueno <uenoku.tokotoko@gmail.com>
Tue, 8 Oct 2019 15:20:19 +0000 (15:20 +0000)
commit08daf8cf0a554990caa8a559053c12e41af52dd2
tree388aa16c88a0c62a2edf55ce7023c0fc6c6fcb81
parented5d1c12dc4e59990fbb3d1940d3efa8742e7968
[Attributor] Add helper class to compose two structured deduction.

Summary: This patch introduces a generic way to compose two structured deductions.  This will be used for composing generic deduction with `MustBeExecutedExplorer` and other existing generic deduction.

Reviewers: jdoerfert, sstefan1

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66645

llvm-svn: 374060
llvm/lib/Transforms/IPO/Attributor.cpp