Warning, /include/llvm/CodeGen/SDNodeProperties.td is written in an unsupported language. File is not indexed.
0001 //===- SDNodeProperties.td - Common code for DAG isels -----*- tablegen -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008
0009 class SDNodeProperty;
0010
0011 // Selection DAG Pattern Operations
0012 class SDPatternOperator {
0013 list<SDNodeProperty> Properties = [];
0014 }
0015
0016 //===----------------------------------------------------------------------===//
0017 // Selection DAG Node Properties.
0018 //
0019 // Note: These are hard coded into tblgen.
0020 //
0021 def SDNPCommutative : SDNodeProperty; // X op Y == Y op X
0022 def SDNPAssociative : SDNodeProperty; // (X op Y) op Z == X op (Y op Z)
0023 def SDNPHasChain : SDNodeProperty; // R/W chain operand and result
0024 def SDNPOutGlue : SDNodeProperty; // Write a flag result
0025 def SDNPInGlue : SDNodeProperty; // Read a flag operand
0026 def SDNPOptInGlue : SDNodeProperty; // Optionally read a flag operand
0027 def SDNPMayStore : SDNodeProperty; // May write to memory, sets 'mayStore'.
0028 def SDNPMayLoad : SDNodeProperty; // May read memory, sets 'mayLoad'.
0029 def SDNPSideEffect : SDNodeProperty; // Sets 'HasUnmodelledSideEffects'.
0030 def SDNPMemOperand : SDNodeProperty; // Touches memory, has assoc MemOperand
0031 def SDNPVariadic : SDNodeProperty; // Node has variable arguments.