LLVM 20.0.0git
|
#include "CodeGen/SelectionDAG/MatchContext.h"
Public Member Functions | |
VPMatchContext (SelectionDAG &DAG, const TargetLowering &TLI, SDNode *_Root) | |
unsigned | getRootBaseOpcode () |
bool | match (SDValue OpVal, unsigned Opc) const |
whether OpVal is a node that is functionally compatible with the NodeType Opc | |
SDValue | getNode (unsigned Opcode, const SDLoc &DL, EVT VT, SDValue Operand) |
SDValue | getNode (unsigned Opcode, const SDLoc &DL, EVT VT, SDValue N1, SDValue N2) |
SDValue | getNode (unsigned Opcode, const SDLoc &DL, EVT VT, SDValue N1, SDValue N2, SDValue N3) |
SDValue | getNode (unsigned Opcode, const SDLoc &DL, EVT VT, SDValue Operand, SDNodeFlags Flags) |
SDValue | getNode (unsigned Opcode, const SDLoc &DL, EVT VT, SDValue N1, SDValue N2, SDNodeFlags Flags) |
SDValue | getNode (unsigned Opcode, const SDLoc &DL, EVT VT, SDValue N1, SDValue N2, SDValue N3, SDNodeFlags Flags) |
bool | isOperationLegal (unsigned Op, EVT VT) const |
bool | isOperationLegalOrCustom (unsigned Op, EVT VT, bool LegalOnly=false) const |
unsigned | getNumOperands (SDValue N) const |
Definition at line 52 of file MatchContext.h.
|
inline |
Definition at line 60 of file MatchContext.h.
References assert(), llvm::SelectionDAG::getAllOnesConstant(), llvm::SDNode::getOpcode(), llvm::SDNode::getOperand(), llvm::SDValue::getValueType(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPMaskIdx(), and llvm::SDNode::isVPOpcode().
|
inline |
Definition at line 120 of file MatchContext.h.
References assert(), DL, llvm::SelectionDAG::getNode(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPForBaseOpcode(), and llvm::ISD::getVPMaskIdx().
|
inline |
Definition at line 146 of file MatchContext.h.
References assert(), DL, llvm::SelectionDAG::getNode(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPForBaseOpcode(), and llvm::ISD::getVPMaskIdx().
|
inline |
Definition at line 128 of file MatchContext.h.
References assert(), DL, llvm::SelectionDAG::getNode(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPForBaseOpcode(), and llvm::ISD::getVPMaskIdx().
|
inline |
Definition at line 155 of file MatchContext.h.
References assert(), DL, llvm::SelectionDAG::getNode(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPForBaseOpcode(), and llvm::ISD::getVPMaskIdx().
|
inline |
Definition at line 112 of file MatchContext.h.
References assert(), DL, llvm::SelectionDAG::getNode(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPForBaseOpcode(), and llvm::ISD::getVPMaskIdx().
|
inline |
Definition at line 137 of file MatchContext.h.
References assert(), DL, llvm::SelectionDAG::getNode(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPForBaseOpcode(), and llvm::ISD::getVPMaskIdx().
Definition at line 175 of file MatchContext.h.
References N.
|
inline |
Definition at line 74 of file MatchContext.h.
References assert(), llvm::ISD::getBaseOpcodeForVP(), llvm::SDNode::getFlags(), llvm::SDNode::getOpcode(), and llvm::SDNodeFlags::hasNoFPExcept().
Definition at line 164 of file MatchContext.h.
References llvm::ISD::getVPForBaseOpcode(), and llvm::TargetLoweringBase::isOperationLegal().
|
inline |
Definition at line 169 of file MatchContext.h.
References llvm::ISD::getVPForBaseOpcode(), and llvm::TargetLoweringBase::isOperationLegalOrCustom().
whether OpVal
is a node that is functionally compatible with the NodeType Opc
Definition at line 83 of file MatchContext.h.
References llvm::ISD::getBaseOpcodeForVP(), llvm::SDNode::getFlags(), llvm::SDValue::getNode(), llvm::SDNode::getOpcode(), llvm::SDValue::getOperand(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPMaskIdx(), llvm::SDNodeFlags::hasNoFPExcept(), llvm::ISD::isConstantSplatVectorAllOnes(), and llvm::SDNode::isVPOpcode().