mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
55c5987673
Also, added a new API for checking if we are running before or after the LegalizeVectorOps phase. llvm-svn: 171142
26 lines
578 B
C++
26 lines
578 B
C++
//===-- llvm/CodeGen/DAGCombine.h ------- SelectionDAG Nodes ---*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
|
|
#ifndef LLVM_CODEGEN_DAGCOMBINE_H
|
|
#define LLVM_CODEGEN_DAGCOMBINE_H
|
|
|
|
namespace llvm {
|
|
|
|
enum CombineLevel {
|
|
BeforeLegalizeTypes,
|
|
AfterLegalizeTypes,
|
|
AfterLegalizeVectorOps,
|
|
AfterLegalizeDAG
|
|
};
|
|
|
|
} // end llvm namespace
|
|
|
|
#endif
|