Path: blob/main/contrib/llvm-project/llvm/utils/TableGen/Basic/SDNodeProperties.h
35290 views
//===- SDNodeProperties.h ---------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_UTILS_TABLEGEN_SDNODEPROPERTIES_H9#define LLVM_UTILS_TABLEGEN_SDNODEPROPERTIES_H1011namespace llvm {1213class Record;1415// SelectionDAG node properties.16// SDNPMemOperand: indicates that a node touches memory and therefore must17// have an associated memory operand that describes the access.18enum SDNP {19SDNPCommutative,20SDNPAssociative,21SDNPHasChain,22SDNPOutGlue,23SDNPInGlue,24SDNPOptInGlue,25SDNPMayLoad,26SDNPMayStore,27SDNPSideEffect,28SDNPMemOperand,29SDNPVariadic,30SDNPWantRoot,31SDNPWantParent32};3334unsigned parseSDPatternOperatorProperties(Record *R);3536} // namespace llvm3738#endif394041