/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsISelDAGToDAG.cpp | 235 auto *BVN = dyn_cast<BuildVectorSDNode>(C); in selectVecAddAsVecSubIfProfitable() local 236 if (!BVN) in selectVecAddAsVecSubIfProfitable() 243 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVecAddAsVecSubIfProfitable()
|
H A D | MipsSEISelDAGToDAG.cpp | 1085 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Node); in trySelect() local 1090 EVT ResVecTy = BVN->getValueType(0); in trySelect() 1093 if (!Subtarget->hasMSA() || !BVN->getValueType(0).is128BitVector()) in trySelect() 1096 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
|
H A D | MipsSEISelLowering.cpp | 559 BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(N); in isVectorAllOnes() local 561 if (!BVN) in isVectorAllOnes() 570 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchISelDAGToDAG.cpp | 95 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Node); in INITIALIZE_PASS() local 101 bool Is128Vec = BVN->getValueType(0).is128BitVector(); in INITIALIZE_PASS() 102 bool Is256Vec = BVN->getValueType(0).is256BitVector(); in INITIALIZE_PASS() 106 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in INITIALIZE_PASS()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VEISelLowering.cpp | 1798 const auto *BVN = cast<BuildVectorSDNode>(N); in getUniqueInsertion() local 1802 for (Idx = 0; Idx < BVN->getNumOperands(); ++Idx) { in getUniqueInsertion() 1803 auto ElemV = BVN->getOperand(Idx); in getUniqueInsertion() 1808 if (Idx == BVN->getNumOperands()) in getUniqueInsertion() 1813 for (; Idx < BVN->getNumOperands(); ++Idx) { in getUniqueInsertion() 1814 auto ElemV = BVN->getOperand(Idx); in getUniqueInsertion()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.cpp | 905 SystemZVectorConstantInfo::SystemZVectorConstantInfo(BuildVectorSDNode *BVN) { in SystemZVectorConstantInfo() argument 906 assert(BVN->isConstant() && "Expected a constant BUILD_VECTOR"); in SystemZVectorConstantInfo() 910 BVN->isConstantSplat(IntBits, SplatUndef, SplatBitSize, HasAnyUndefs, 128, in SystemZVectorConstantInfo() 914 BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, 8, in SystemZVectorConstantInfo() 5628 BuildVectorSDNode *BVN) { in tryBuildVectorShuffle() argument 5629 EVT VT = BVN->getValueType(0); in tryBuildVectorShuffle() 5640 SDValue Op = BVN->getOperand(I); in tryBuildVectorShuffle() 5654 ResidueOps.push_back(BVN->getOperand(I)); in tryBuildVectorShuffle() 5668 Op = DAG.getBuildVector(VT, SDLoc(BVN), ResidueOps); in tryBuildVectorShuffle() 5673 return GS.getNode(DAG, SDLoc(BVN)); in tryBuildVectorShuffle() [all …]
|
H A D | SystemZISelLowering.h | 825 SystemZVectorConstantInfo(BuildVectorSDNode *BVN);
|
H A D | SystemZISelDAGToDAG.cpp | 1739 auto *BVN = cast<BuildVectorSDNode>(Node); in Select() local 1740 SystemZVectorConstantInfo VCI(BVN); in Select()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 6614 BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(Op.getNode()); in getVShiftImm() local 6618 if (!BVN || in getVShiftImm() 6619 !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in getVShiftImm() 7918 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Op.getNode()); in LowerBUILD_VECTOR() local 7931 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR() 7939 all_of(BVN->uses(), in LowerBUILD_VECTOR() 7940 [BVN](const SDNode *U) { return IsQRMVEInstruction(U, BVN); })) { in LowerBUILD_VECTOR() 9421 SDNode *BVN = N->getOperand(0).getNode(); in isExtendedBUILD_VECTOR() local 9422 if (BVN->getValueType(0) != MVT::v4i32 || in isExtendedBUILD_VECTOR() 9423 BVN->getOpcode() != ISD::BUILD_VECTOR) in isExtendedBUILD_VECTOR() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 13387 static bool resolveBuildVector(BuildVectorSDNode *BVN, APInt &CnstBits, in resolveBuildVector() argument 13389 EVT VT = BVN->getValueType(0); in resolveBuildVector() 13393 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector() 13800 BuildVectorSDNode *BVN = in LowerVectorOR() local 13802 if (!BVN) { in LowerVectorOR() 13805 BVN = dyn_cast<BuildVectorSDNode>(Op.getOperand(0).getNode()); in LowerVectorOR() 13807 if (!BVN) in LowerVectorOR() 13812 if (resolveBuildVector(BVN, DefBits, UndefBits)) { in LowerVectorOR() 13873 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Op.getNode()); in ConstantBuildVector() local 13874 if (resolveBuildVector(BVN, DefBits, UndefBits)) { in ConstantBuildVector() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 9455 BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(Op.getNode()); in LowerBUILD_VECTOR() local 9456 assert(BVN && "Expected a BuildVectorSDNode in LowerBUILD_VECTOR"); in LowerBUILD_VECTOR() 9463 BVN->isConstantSplat(APSplatBits, APSplatUndef, SplatBitSize, in LowerBUILD_VECTOR() 9589 haveEfficientBuildVectorPattern(BVN, Subtarget.hasDirectMove(), in LowerBUILD_VECTOR() 10067 BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(RHS.getNode()); in lowerToXXSPLTI32DX() local 10068 if (!BVN) in lowerToXXSPLTI32DX() 10075 if (!BVN->isConstantSplat(APSplatValue, APSplatUndef, SplatBitSize, in lowerToXXSPLTI32DX() 16285 if (BuildVectorSDNode *BVN = in PerformDAGCombine() local 16290 bool BVNIsConstantSplat = BVN->isConstantSplat( in PerformDAGCombine()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 15825 auto *BVN = cast<BuildVectorSDNode>(BV); in ConstantFoldBITCASTofBUILD_VECTOR() local 15831 if (!BVN->getConstantRawBits(IsLE, DstBitSize, RawBits, UndefElements)) in ConstantFoldBITCASTofBUILD_VECTOR()
|