|
LLVM 22.0.0git
|
#include "llvm/CodeGen/SDNodeInfo.h"
Public Member Functions | |
| constexpr | SDNodeInfo (unsigned NumOpcodes, const SDNodeDesc *Descs, StringTable Names, const VTByHwModePair *VTByHwModeTable, const SDTypeConstraint *Constraints) |
| bool | hasDesc (unsigned Opcode) const |
| Returns true if there is a generated description for a node with the given target-specific opcode. | |
| const SDNodeDesc & | getDesc (unsigned Opcode) const |
| Returns the description of a node with the given opcode. | |
| ArrayRef< SDTypeConstraint > | getConstraints (unsigned Opcode) const |
| Returns operand constraints for a node with the given opcode. | |
| StringRef | getName (unsigned Opcode) const |
| Returns the name of the given target-specific opcode, suitable for debug printing. | |
| void | verifyNode (const SelectionDAG &DAG, const SDNode *N) const |
Definition at line 85 of file SDNodeInfo.h.
|
inlineconstexpr |
Definition at line 93 of file SDNodeInfo.h.
|
inline |
Returns operand constraints for a node with the given opcode.
Definition at line 113 of file SDNodeInfo.h.
References llvm::ArrayRef(), and getDesc().
Referenced by verifyNode().
|
inline |
Returns the description of a node with the given opcode.
Definition at line 107 of file SDNodeInfo.h.
References assert(), llvm::ISD::BUILTIN_OP_END, and hasDesc().
Referenced by getConstraints(), getName(), and verifyNode().
Returns the name of the given target-specific opcode, suitable for debug printing.
Definition at line 120 of file SDNodeInfo.h.
References getDesc(), and llvm::SDNodeDesc::NameOffset.
Returns true if there is a generated description for a node with the given target-specific opcode.
Definition at line 101 of file SDNodeInfo.h.
References assert(), and llvm::ISD::BUILTIN_OP_END.
Referenced by getDesc().
| void SDNodeInfo::verifyNode | ( | const SelectionDAG & | DAG, |
| const SDNode * | N ) const |
Definition at line 72 of file SDNodeInfo.cpp.
References llvm::ArrayRef(), llvm::CallingConv::C, checkOperandType(), checkResultType(), getConstraints(), llvm::SelectionDAG::getDataLayout(), getDesc(), llvm::MCSubtargetInfo::getHwMode(), llvm::TargetLoweringBase::getPointerTy(), llvm::SelectionDAG::getSubtarget(), llvm::SelectionDAG::getTargetLoweringInfo(), llvm::EVT::getVectorElementType(), llvm::MCSubtargetInfo::HwMode_ValueType, llvm::EVT::isVector(), llvm_unreachable, N, OpIdx, llvm::ISD::Register, llvm::ISD::RegisterMask, reportNodeError(), llvm::SDNPHasChain, llvm::SDNPInGlue, llvm::SDNPOptInGlue, llvm::SDNPOutGlue, llvm::SDNPVariadic, llvm::SDTCisEltOfVec, llvm::SDTCisFP, llvm::SDTCisInt, llvm::SDTCisOpSmallerThanOp, llvm::SDTCisPtrTy, llvm::SDTCisSameAs, llvm::SDTCisSameNumEltsAs, llvm::SDTCisSameSizeAs, llvm::SDTCisSubVecOfVec, llvm::SDTCisVec, llvm::SDTCisVT, llvm::SDTCisVTSmallerThanOp, and llvm::SDTCVecEltisVT.