|
LLVM 22.0.0git
|
#include "Target/VE/VECustomDAG.h"
Definition at line 142 of file VECustomDAG.h.
|
inline |
Definition at line 149 of file VECustomDAG.h.
|
inline |
Definition at line 151 of file VECustomDAG.h.
|
inline |
Definition at line 153 of file VECustomDAG.h.
Definition at line 475 of file VECustomDAG.cpp.
References getNode(), llvm::SDValue::getValueType(), llvm::isLegalAVL(), and llvm::VEISD::LEGALAVL.
Referenced by getTargetSplitMask(), and llvm::VETargetLowering::legalizePackedAVL().
Definition at line 452 of file VECustomDAG.cpp.
References assert(), getMaskBroadcast(), getNode(), llvm::isMaskType(), llvm::isPackedVectorType(), and llvm::EVT::isVector().
Referenced by getGatherScatterAddress(), getMaskBroadcast(), and llvm::VETargetLowering::lowerBUILD_VECTOR().
| SDValue llvm::VECustomDAG::getConstant | ( | uint64_t | Val, |
| EVT | VT, | ||
| bool | IsTarget = false, | ||
| bool | IsOpaque = false ) const |
Definition at line 405 of file VECustomDAG.cpp.
Referenced by getConstantMask(), llvm::getLoadStoreStride(), getSplitPtrStride(), getTargetSplitMask(), llvm::VETargetLowering::legalizePackedAVL(), llvm::VETargetLowering::lowerBUILD_VECTOR(), llvm::VETargetLowering::lowerToVVP(), llvm::VETargetLowering::lowerVVP_GATHER_SCATTER(), llvm::VETargetLowering::lowerVVP_LOAD_STORE(), and llvm::VETargetLowering::splitMaskArithmetic().
Definition at line 410 of file VECustomDAG.cpp.
References getConstant(), llvm::getLegalVectorType(), and getNode().
Referenced by getMaskBroadcast(), getTargetSplitMask(), llvm::VETargetLowering::lowerToVVP(), llvm::VETargetLowering::lowerVVP_GATHER_SCATTER(), and llvm::VETargetLowering::lowerVVP_LOAD_STORE().
|
inline |
Definition at line 147 of file VECustomDAG.h.
Referenced by llvm::VETargetLowering::lowerVVP_LOAD_STORE().
| SDValue llvm::VECustomDAG::getGatherScatterAddress | ( | SDValue | BasePtr, |
| SDValue | Scale, | ||
| SDValue | Index, | ||
| SDValue | Mask, | ||
| SDValue | AVL ) const |
Definition at line 537 of file VECustomDAG.cpp.
References getBroadcast(), getNode(), llvm::isNullConstant(), and llvm::isOneConstant().
Referenced by llvm::VETargetLowering::lowerVVP_GATHER_SCATTER().
| SDValue llvm::VECustomDAG::getLegalReductionOpVVP | ( | unsigned | VVPOpcode, |
| EVT | ResVT, | ||
| SDValue | StartV, | ||
| SDValue | VectorV, | ||
| SDValue | Mask, | ||
| SDValue | AVL, | ||
| SDNodeFlags | Flags ) const |
} getNode
Legalizing getNode {
Definition at line 563 of file VECustomDAG.cpp.
References assert(), getNode(), llvm::getScalarReductionOpcode(), llvm::SDValue::getValueType(), llvm::hasReductionStartParam(), and llvm::isMaskType().
Referenced by llvm::VETargetLowering::lowerToVVP().
Definition at line 423 of file VECustomDAG.cpp.
References assert(), llvm::dyn_cast(), getBroadcast(), getConstantMask(), llvm::SDValue::getNode(), llvm::getTypePacking(), llvm::EVT::getVectorNumElements(), llvm::MVT::getVectorVT(), and llvm::ISD::SETNE.
Referenced by getBroadcast().
} Packing
Definition at line 194 of file VECustomDAG.h.
Referenced by llvm::VETargetLowering::lowerVVP_GATHER_SCATTER(), llvm::VETargetLowering::lowerVVP_LOAD_STORE(), and llvm::VETargetLowering::splitPackedLoadStore().
|
inline |
Definition at line 164 of file VECustomDAG.h.
References N.
|
inline |
Definition at line 172 of file VECustomDAG.h.
References N.
|
inline |
getNode {
Definition at line 156 of file VECustomDAG.h.
References N.
Referenced by annotateLegalAVL(), getBroadcast(), getConstantMask(), getGatherScatterAddress(), getLegalReductionOpVVP(), getSplitPtrOffset(), getSplitPtrStride(), getTargetSplitMask(), llvm::VETargetLowering::legalizePackedAVL(), llvm::VETargetLowering::lowerBUILD_VECTOR(), llvm::VETargetLowering::lowerToVVP(), llvm::VETargetLowering::lowerVVP_GATHER_SCATTER(), llvm::VETargetLowering::lowerVVP_LOAD_STORE(), llvm::VETargetLowering::splitMaskArithmetic(), llvm::VETargetLowering::splitPackedLoadStore(), and llvm::VETargetLowering::splitVectorOp().
Definition at line 491 of file VECustomDAG.cpp.
References assert(), and llvm::getAnnotatedNodeAVL().
Referenced by llvm::VETargetLowering::splitMaskArithmetic(), llvm::VETargetLowering::splitPackedLoadStore(), and llvm::VETargetLowering::splitVectorOp().
| SDValue llvm::VECustomDAG::getSplitPtrOffset | ( | SDValue | Ptr, |
| SDValue | ByteStride, | ||
| PackElem | Part ) const |
Definition at line 522 of file VECustomDAG.cpp.
References llvm::ISD::ADD, getNode(), llvm::Hi, and Ptr.
Referenced by llvm::VETargetLowering::splitPackedLoadStore().
Definition at line 531 of file VECustomDAG.cpp.
References llvm::dyn_cast(), getConstant(), getNode(), and llvm::ISD::SHL.
Referenced by llvm::VETargetLowering::splitPackedLoadStore().
| VETargetMasks llvm::VECustomDAG::getTargetSplitMask | ( | SDValue | RawMask, |
| SDValue | RawAVL, | ||
| PackElem | Part ) const |
Definition at line 499 of file VECustomDAG.cpp.
References llvm::ISD::ADD, annotateLegalAVL(), getConstant(), getConstantMask(), getNode(), getUnpack(), llvm::Hi, llvm::Normal, and llvm::ISD::SRL.
Referenced by llvm::VETargetLowering::splitPackedLoadStore(), and llvm::VETargetLowering::splitVectorOp().
Definition at line 180 of file VECustomDAG.h.
Referenced by llvm::VETargetLowering::lowerBUILD_VECTOR().
} Legalizing getNode
Packing {
Definition at line 481 of file VECustomDAG.cpp.
References assert(), llvm::getAnnotatedNodeAVL(), and llvm::Lo.
Referenced by getTargetSplitMask(), llvm::VETargetLowering::splitMaskArithmetic(), llvm::VETargetLowering::splitPackedLoadStore(), and llvm::VETargetLowering::splitVectorOp().
Definition at line 216 of file VECustomDAG.h.
References llvm::EVT::getVectorVT().