Home
last modified time | relevance | path

Searched refs:BVN (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsISelDAGToDAG.cpp232 auto *BVN = dyn_cast<BuildVectorSDNode>(C); in selectVecAddAsVecSubIfProfitable() local
233 if (!BVN) in selectVecAddAsVecSubIfProfitable()
240 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs, in selectVecAddAsVecSubIfProfitable()
DMipsSEISelDAGToDAG.cpp983 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Node); in trySelect() local
988 EVT ResVecTy = BVN->getValueType(0); in trySelect()
991 if (!Subtarget->hasMSA() || !BVN->getValueType(0).is128BitVector()) in trySelect()
994 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in trySelect()
DMipsSEISelLowering.cpp560 BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(N); in isVectorAllOnes() local
562 if (!BVN) in isVectorAllOnes()
571 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp797 SystemZVectorConstantInfo::SystemZVectorConstantInfo(BuildVectorSDNode *BVN) { in SystemZVectorConstantInfo() argument
798 assert(BVN->isConstant() && "Expected a constant BUILD_VECTOR"); in SystemZVectorConstantInfo()
802 BVN->isConstantSplat(IntBits, SplatUndef, SplatBitSize, HasAnyUndefs, 128, in SystemZVectorConstantInfo()
806 BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, 8, in SystemZVectorConstantInfo()
4686 BuildVectorSDNode *BVN) { in tryBuildVectorShuffle() argument
4687 EVT VT = BVN->getValueType(0); in tryBuildVectorShuffle()
4698 SDValue Op = BVN->getOperand(I); in tryBuildVectorShuffle()
4712 ResidueOps.push_back(BVN->getOperand(I)); in tryBuildVectorShuffle()
4726 Op = DAG.getBuildVector(VT, SDLoc(BVN), ResidueOps); in tryBuildVectorShuffle()
4731 return GS.getNode(DAG, SDLoc(BVN)); in tryBuildVectorShuffle()
[all …]
DSystemZISelLowering.h697 SystemZVectorConstantInfo(BuildVectorSDNode *BVN);
DSystemZISelDAGToDAG.cpp1590 auto *BVN = cast<BuildVectorSDNode>(Node); in Select() local
1591 SystemZVectorConstantInfo VCI(BVN); in Select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7437 static bool resolveBuildVector(BuildVectorSDNode *BVN, APInt &CnstBits, in resolveBuildVector() argument
7439 EVT VT = BVN->getValueType(0); in resolveBuildVector()
7443 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector()
7761 BuildVectorSDNode *BVN = in LowerVectorOR() local
7763 if (!BVN) { in LowerVectorOR()
7766 BVN = dyn_cast<BuildVectorSDNode>(Op.getOperand(0).getNode()); in LowerVectorOR()
7768 if (!BVN) in LowerVectorOR()
7773 if (resolveBuildVector(BVN, DefBits, UndefBits)) { in LowerVectorOR()
7831 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Op.getNode()); in ConstantBuildVector() local
7832 if (resolveBuildVector(BVN, DefBits, UndefBits)) { in ConstantBuildVector()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp6041 BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(Op.getNode()); in getVShiftImm() local
6045 if (!BVN || in getVShiftImm()
6046 !BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs, in getVShiftImm()
7149 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Op.getNode()); in LowerBUILD_VECTOR() local
7159 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR()
8363 SDNode *BVN = N->getOperand(0).getNode(); in isExtendedBUILD_VECTOR() local
8364 if (BVN->getValueType(0) != MVT::v4i32 || in isExtendedBUILD_VECTOR()
8365 BVN->getOpcode() != ISD::BUILD_VECTOR) in isExtendedBUILD_VECTOR()
8369 ConstantSDNode *Lo0 = dyn_cast<ConstantSDNode>(BVN->getOperand(LoElt)); in isExtendedBUILD_VECTOR()
8370 ConstantSDNode *Hi0 = dyn_cast<ConstantSDNode>(BVN->getOperand(HiElt)); in isExtendedBUILD_VECTOR()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp8603 BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(Op.getNode()); in LowerBUILD_VECTOR() local
8604 assert(BVN && "Expected a BuildVectorSDNode in LowerBUILD_VECTOR"); in LowerBUILD_VECTOR()
8617 assert(BVN->getNumOperands() == 4 && in LowerBUILD_VECTOR()
8622 if (BVN->getOperand(i).isUndef()) continue; in LowerBUILD_VECTOR()
8623 if (!isa<ConstantSDNode>(BVN->getOperand(i))) { in LowerBUILD_VECTOR()
8637 if (BVN->getOperand(i).isUndef()) in LowerBUILD_VECTOR()
8639 else if (isNullConstant(BVN->getOperand(i))) in LowerBUILD_VECTOR()
8658 if (BVN->getOperand(i).isUndef()) continue; in LowerBUILD_VECTOR()
8664 unsigned StoreSize = BVN->getOperand(i).getValueType().getStoreSize(); in LowerBUILD_VECTOR()
8667 DAG.getTruncStore(DAG.getEntryNode(), dl, BVN->getOperand(i), Idx, in LowerBUILD_VECTOR()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2098 if (auto *BVN = dyn_cast<BuildVectorSDNode>(Op.getOperand(1).getNode())) { in getVectorShiftByInt() local
2099 if (SDValue S = BVN->getSplatValue()) { in getVectorShiftByInt()