9#ifndef LLVM_CODEGEN_SDNODEINFO_H
10#define LLVM_CODEGEN_SDNODEINFO_H
84 : NumOpcodes(NumOpcodes), Descs(Descs), Names(Names),
85 Constraints(Constraints) {}
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
const SDNodeDesc & getDesc(unsigned Opcode) const
Returns the description of a node with the given opcode.
constexpr SDNodeInfo(unsigned NumOpcodes, const SDNodeDesc *Descs, StringTable Names, const SDTypeConstraint *Constraints)
void verifyNode(const SelectionDAG &DAG, const SDNode *N) const
StringRef getName(unsigned Opcode) const
Returns the name of the given target-specific opcode, suitable for debug printing.
ArrayRef< SDTypeConstraint > getConstraints(unsigned Opcode) const
Returns operand constraints for a node with the given opcode.
bool hasDesc(unsigned Opcode) const
Returns true if there is a generated description for a node with the given target-specific opcode.
Represents one node in the SelectionDAG.
This is used to represent a portion of an LLVM function in a low-level Data Dependence DAG representa...
StringRef - Represent a constant reference to a string, i.e.
A table of densely packed, null-terminated strings indexed by offset.
@ BUILTIN_OP_END
BUILTIN_OP_END - This must be the last enum value in this list.
This is an optimization pass for GlobalISel generic memory operations.
ArrayRef(const T &OneElt) -> ArrayRef< T >
unsigned ConstraintOffset
bool hasProperty(SDNP Property) const
bool hasFlag(SDNF Flag) const