Searched refs:BVN (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 1935 static bool isCommonSplatElement(BuildVectorSDNode *BVN) { in isCommonSplatElement() argument 1936 unsigned NElts = BVN->getNumOperands(); in isCommonSplatElement() 1937 SDValue V0 = BVN->getOperand(0); in isCommonSplatElement() 1940 if (BVN->getOperand(i) != V0) in isCommonSplatElement() 1950 BuildVectorSDNode *BVN = 0; in LowerVECTOR_SHIFT() local 1957 if ((BVN = dyn_cast<BuildVectorSDNode>(V1.getNode())) && in LowerVECTOR_SHIFT() 1958 isCommonSplatElement(BVN)) in LowerVECTOR_SHIFT() 1960 else if ((BVN = dyn_cast<BuildVectorSDNode>(V2.getNode())) && in LowerVECTOR_SHIFT() 1961 isCommonSplatElement(BVN)) in LowerVECTOR_SHIFT() 1966 SDValue CommonSplat = BVN->getOperand(0); in LowerVECTOR_SHIFT() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEISelDAGToDAG.cpp | 874 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Node); in selectNode() local 879 EVT ResVecTy = BVN->getValueType(0); in selectNode() 882 if (!Subtarget->hasMSA() || !BVN->getValueType(0).is128BitVector()) in selectNode() 885 if (!BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, in selectNode()
|
D | MipsSEISelLowering.cpp | 626 BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(N); in isVectorAllOnes() local 628 if (!BVN) in isVectorAllOnes() 637 if (BVN->isConstantSplat(SplatValue, SplatUndef, SplatBitSize, HasAnyUndefs)) in isVectorAllOnes()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 5331 static bool resolveBuildVector(BuildVectorSDNode *BVN, APInt &CnstBits, in resolveBuildVector() argument 5333 EVT VT = BVN->getValueType(0); in resolveBuildVector() 5337 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in resolveBuildVector() 5355 BuildVectorSDNode *BVN = in LowerVectorAND() local 5361 if (!BVN) in LowerVectorAND() 5366 if (resolveBuildVector(BVN, CnstBits, UndefBits)) { in LowerVectorAND() 5553 BuildVectorSDNode *BVN = in LowerVectorOR() local 5560 if (!BVN) { in LowerVectorOR() 5562 BVN = dyn_cast<BuildVectorSDNode>(Op.getOperand(1).getNode()); in LowerVectorOR() 5564 if (!BVN) in LowerVectorOR() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4972 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Op.getNode()); in LowerBUILD_VECTOR() local 4979 if (BVN->isConstantSplat(SplatBits, SplatUndef, SplatBitSize, HasAnyUndefs)) { in LowerBUILD_VECTOR() 5686 SDNode *BVN = N->getOperand(0).getNode(); in isExtendedBUILD_VECTOR() local 5687 if (BVN->getValueType(0) != MVT::v4i32 || in isExtendedBUILD_VECTOR() 5688 BVN->getOpcode() != ISD::BUILD_VECTOR) in isExtendedBUILD_VECTOR() 5692 ConstantSDNode *Lo0 = dyn_cast<ConstantSDNode>(BVN->getOperand(LoElt)); in isExtendedBUILD_VECTOR() 5693 ConstantSDNode *Hi0 = dyn_cast<ConstantSDNode>(BVN->getOperand(HiElt)); in isExtendedBUILD_VECTOR() 5694 ConstantSDNode *Lo1 = dyn_cast<ConstantSDNode>(BVN->getOperand(LoElt+2)); in isExtendedBUILD_VECTOR() 5695 ConstantSDNode *Hi1 = dyn_cast<ConstantSDNode>(BVN->getOperand(HiElt+2)); in isExtendedBUILD_VECTOR() 5832 SDNode *BVN = N->getOperand(0).getNode(); in SkipExtensionForVMULL() local [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 6545 BuildVectorSDNode *BVN = dyn_cast<BuildVectorSDNode>(Op.getNode()); in LowerBUILD_VECTOR() local 6546 assert(BVN && "Expected a BuildVectorSDNode in LowerBUILD_VECTOR"); in LowerBUILD_VECTOR() 6558 assert(BVN->getNumOperands() == 4 && in LowerBUILD_VECTOR() 6563 if (BVN->getOperand(i).getOpcode() == ISD::UNDEF) continue; in LowerBUILD_VECTOR() 6564 if (!isa<ConstantSDNode>(BVN->getOperand(i))) { in LowerBUILD_VECTOR() 6578 if (BVN->getOperand(i).getOpcode() == ISD::UNDEF) in LowerBUILD_VECTOR() 6580 else if (cast<ConstantSDNode>(BVN->getOperand(i))-> in LowerBUILD_VECTOR() 6607 if (BVN->getOperand(i).getOpcode() == ISD::UNDEF) continue; in LowerBUILD_VECTOR() 6613 unsigned StoreSize = BVN->getOperand(i).getValueType().getStoreSize(); in LowerBUILD_VECTOR() 6616 BVN->getOperand(i), Idx, in LowerBUILD_VECTOR() [all …]
|