[SelectionDAG] Move matchUnaryPredicate/matchBinaryPredicate into SelectionDAGNodes.h
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 22 Feb 2018 18:45:13 +0000 (18:45 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 22 Feb 2018 18:45:13 +0000 (18:45 +0000)
commitbe72fe1fda2de77b23b16c9b53186c8151752097
treee570f15f6fca9d76ece2d5902ac23139fa1e388b
parentdf38f155eca55b5123cf9fcc3d18686486ba7048
[SelectionDAG] Move matchUnaryPredicate/matchBinaryPredicate into SelectionDAGNodes.h

This allows us to improve vector constant matching in more DAG code (backends, TargetLowering etc.).

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

llvm-svn: 325815
llvm/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp