mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-12-11 22:44:59 +00:00
Initial Commit
This commit is contained in:
33
thirdparty/capstone/suite/synctools/tablegen/include/llvm/CodeGen/SDNodeProperties.td
vendored
Normal file
33
thirdparty/capstone/suite/synctools/tablegen/include/llvm/CodeGen/SDNodeProperties.td
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
//===- SDNodeProperties.td - Common code for DAG isels -----*- tablegen -*-===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
class SDNodeProperty;
|
||||
|
||||
// Selection DAG Pattern Operations
|
||||
class SDPatternOperator {
|
||||
list<SDNodeProperty> Properties = [];
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Selection DAG Node Properties.
|
||||
//
|
||||
// Note: These are hard coded into tblgen.
|
||||
//
|
||||
def SDNPCommutative : SDNodeProperty; // X op Y == Y op X
|
||||
def SDNPAssociative : SDNodeProperty; // (X op Y) op Z == X op (Y op Z)
|
||||
def SDNPHasChain : SDNodeProperty; // R/W chain operand and result
|
||||
def SDNPOutGlue : SDNodeProperty; // Write a flag result
|
||||
def SDNPInGlue : SDNodeProperty; // Read a flag operand
|
||||
def SDNPOptInGlue : SDNodeProperty; // Optionally read a flag operand
|
||||
def SDNPMayStore : SDNodeProperty; // May write to memory, sets 'mayStore'.
|
||||
def SDNPMayLoad : SDNodeProperty; // May read memory, sets 'mayLoad'.
|
||||
def SDNPSideEffect : SDNodeProperty; // Sets 'HasUnmodelledSideEffects'.
|
||||
def SDNPMemOperand : SDNodeProperty; // Touches memory, has assoc MemOperand
|
||||
def SDNPVariadic : SDNodeProperty; // Node has variable arguments.
|
||||
def SDNPWantRoot : SDNodeProperty; // ComplexPattern gets the root of match
|
||||
def SDNPWantParent : SDNodeProperty; // ComplexPattern gets the parent
|
||||
Reference in New Issue
Block a user