LLVM: llvm::SDNodeInfo Class Reference (original) (raw)

#include "[llvm/CodeGen/SDNodeInfo.h](SDNodeInfo%5F8h%5Fsource.html)"

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.

getConstraints()

getDesc()

getName()

hasDesc()

bool llvm::SDNodeInfo::hasDesc ( unsigned Opcode) const inline

verifyNode()

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.


The documentation for this class was generated from the following files: