Refactor DAGCombinerInfo. Change the different booleans that indicate if we are befor...
authorNadav Rotem <nrotem@apple.com>
Thu, 27 Dec 2012 06:47:41 +0000 (06:47 +0000)
committerNadav Rotem <nrotem@apple.com>
Thu, 27 Dec 2012 06:47:41 +0000 (06:47 +0000)
commit444b4bf5c84c80833ff283244de0885124091a13
tree22e258dd426dd8ee58e2e6c8fbd2581781942a0b
parentd0f28c09582e66366c3fdb738c3c91d98a2c04a0
Refactor DAGCombinerInfo. Change the different booleans that indicate if we are before or after different runs of DAGCo, with the CombineLevel enum.
Also, added a new API for checking if we are running before or after the LegalizeVectorOps phase.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171142 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/DAGCombine.h [new file with mode: 0644]
include/llvm/CodeGen/SelectionDAG.h
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp