Lines Matching defs:BVN
2324 static bool isCommonSplatElement(BuildVectorSDNode *BVN) {
2325 unsigned NElts = BVN->getNumOperands();
2326 SDValue V0 = BVN->getOperand(0);
2329 if (BVN->getOperand(i) != V0)
2339 BuildVectorSDNode *BVN = 0;
2346 if ((BVN = dyn_cast<BuildVectorSDNode>(V1.getNode())) &&
2347 isCommonSplatElement(BVN))
2349 else if ((BVN = dyn_cast<BuildVectorSDNode>(V2.getNode())) &&
2350 isCommonSplatElement(BVN))
2355 SDValue CommonSplat = BVN->getOperand(0);
2395 BuildVectorSDNode *BVN = cast<BuildVectorSDNode>(Op.getNode());
2408 unsigned NElts = BVN->getNumOperands();
2412 (BVN->isConstantSplat(APSplatBits, APSplatUndef, SplatBitSize,
2422 SDValue V0 = BVN->getOperand(0);
2423 SDValue V1 = BVN->getOperand(1);
2447 if (BVN->getOperand(i).isUndef())
2449 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(BVN->getOperand(i));
2454 BVN->getOperand(1), BVN->getOperand(0));
2474 SDValue Operand = BVN->getOperand(OpIdx);
2505 SDValue Operand = BVN->getOperand(OpIdx);