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 |
Definition at line 50 of file MatchContext.h.
|
inline |
Definition at line 58 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 118 of file MatchContext.h.
References assert(), DL, llvm::SelectionDAG::getNode(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPForBaseOpcode(), and llvm::ISD::getVPMaskIdx().
|
inline |
Definition at line 144 of file MatchContext.h.
References assert(), DL, llvm::SelectionDAG::getNode(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPForBaseOpcode(), and llvm::ISD::getVPMaskIdx().
|
inline |
Definition at line 126 of file MatchContext.h.
References assert(), DL, llvm::SelectionDAG::getNode(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPForBaseOpcode(), and llvm::ISD::getVPMaskIdx().
|
inline |
Definition at line 153 of file MatchContext.h.
References assert(), DL, llvm::SelectionDAG::getNode(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPForBaseOpcode(), and llvm::ISD::getVPMaskIdx().
|
inline |
Definition at line 110 of file MatchContext.h.
References assert(), DL, llvm::SelectionDAG::getNode(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPForBaseOpcode(), and llvm::ISD::getVPMaskIdx().
|
inline |
Definition at line 135 of file MatchContext.h.
References assert(), DL, llvm::SelectionDAG::getNode(), llvm::ISD::getVPExplicitVectorLengthIdx(), llvm::ISD::getVPForBaseOpcode(), and llvm::ISD::getVPMaskIdx().
|
inline |
Definition at line 72 of file MatchContext.h.
References assert(), llvm::ISD::getBaseOpcodeForVP(), llvm::SDNode::getFlags(), llvm::SDNode::getOpcode(), and llvm::SDNodeFlags::hasNoFPExcept().
Definition at line 162 of file MatchContext.h.
References llvm::ISD::getVPForBaseOpcode(), and llvm::TargetLoweringBase::isOperationLegal().
|
inline |
Definition at line 167 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 81 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().