Searched refs:BV2 (Results 1 – 3 of 3) sorted by relevance
358 auto *BV2 = getOpcodeDef<GBuildVector>(BVO2, MRI); in matchOrToBSP() local359 if (!BV1 || !BV2) in matchOrToBSP()366 getIConstantVRegValWithLookThrough(BV2->getSourceReg(I), MRI); in matchOrToBSP()
1066 auto *BV2 = getOpcodeDef<GBuildVector>(Op2, MRI); in ConstantFoldICmp() local1067 if (!BV1 || !BV2) in ConstantFoldICmp()1069 assert(BV1->getNumSources() == BV2->getNumSources() && "Invalid vectors"); in ConstantFoldICmp()1072 TryFoldScalar(BV1->getSourceReg(I), BV2->getSourceReg(I))) { in ConstantFoldICmp()
6600 auto *BV2 = dyn_cast<BuildVectorSDNode>(N2); in FoldConstantArithmetic() local6601 if (BV1 && BV2 && N1.getValueType().isInteger() && in FoldConstantArithmetic()6608 BV2->getConstantRawBits(IsLE, EltBits, RawBits2, UndefElts2)) { in FoldConstantArithmetic()6626 BVEltVT = BV2->getOperand(0).getValueType(); in FoldConstantArithmetic()