diff options
Diffstat (limited to 'utils/TableGen/SDNodeProperties.h')
| -rw-r--r-- | utils/TableGen/SDNodeProperties.h | 40 | 
1 files changed, 40 insertions, 0 deletions
diff --git a/utils/TableGen/SDNodeProperties.h b/utils/TableGen/SDNodeProperties.h new file mode 100644 index 0000000000000..a8d4efb5dab04 --- /dev/null +++ b/utils/TableGen/SDNodeProperties.h @@ -0,0 +1,40 @@ +//===- SDNodeProperties.h ---------------------------------------*- C++ -*-===// +// +//                     The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_UTILS_TABLEGEN_SDNODEPROPERTIES_H +#define LLVM_UTILS_TABLEGEN_SDNODEPROPERTIES_H + +namespace llvm { + +class Record; + +// SelectionDAG node properties. +//  SDNPMemOperand: indicates that a node touches memory and therefore must +//                  have an associated memory operand that describes the access. +enum SDNP { +  SDNPCommutative, +  SDNPAssociative, +  SDNPHasChain, +  SDNPOutGlue, +  SDNPInGlue, +  SDNPOptInGlue, +  SDNPMayLoad, +  SDNPMayStore, +  SDNPSideEffect, +  SDNPMemOperand, +  SDNPVariadic, +  SDNPWantRoot, +  SDNPWantParent +}; + +unsigned parseSDPatternOperatorProperties(Record *R); + +} + +#endif  | 
