Lines Matching refs:BV
1002 auto *BV = getOpcodeDef<GBuildVector>(Src, MRI); in ConstantFoldCountZeros() local
1003 if (!BV) in ConstantFoldCountZeros()
1005 for (unsigned SrcIdx = 0; SrcIdx < BV->getNumSources(); ++SrcIdx) { in ConstantFoldCountZeros()
1006 if (auto MaybeFold = tryFoldScalar(BV->getSourceReg(SrcIdx))) { in ConstantFoldCountZeros()
1484 GBuildVector *BV = dyn_cast<GBuildVector>(&MI); in isConstantOrConstantVector() local
1485 if (!BV) in isConstantOrConstantVector()
1487 for (unsigned SrcIdx = 0; SrcIdx < BV->getNumSources(); ++SrcIdx) { in isConstantOrConstantVector()
1488 if (getIConstantVRegValWithLookThrough(BV->getSourceReg(SrcIdx), MRI) || in isConstantOrConstantVector()
1489 getOpcodeDef<GImplicitDef>(BV->getSourceReg(SrcIdx), MRI)) in isConstantOrConstantVector()
1757 GBuildVector *BV = getOpcodeDef<GBuildVector>(ShiftAmount, MRI); in shiftAmountKnownInRange() local
1758 if (!BV) in shiftAmountKnownInRange()
1761 unsigned Sources = BV->getNumSources(); in shiftAmountKnownInRange()
1764 getIConstantVRegValWithLookThrough(BV->getSourceReg(I), MRI); in shiftAmountKnownInRange()
1910 GBuildVector *BV = cast<GBuildVector>(RegDef); in isGuaranteedNotToBeUndefOrPoison() local
1911 unsigned NumSources = BV->getNumSources(); in isGuaranteedNotToBeUndefOrPoison()
1913 if (!::isGuaranteedNotToBeUndefOrPoison(BV->getSourceReg(I), MRI, in isGuaranteedNotToBeUndefOrPoison()