Lines Matching refs:CnstBits

5331 static bool resolveBuildVector(BuildVectorSDNode *BVN, APInt &CnstBits,  in resolveBuildVector()  argument
5341 CnstBits <<= SplatBitSize; in resolveBuildVector()
5343 CnstBits |= SplatBits.zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
5364 APInt CnstBits(VT.getSizeInBits(), 0); in LowerVectorAND() local
5366 if (resolveBuildVector(BVN, CnstBits, UndefBits)) { in LowerVectorAND()
5368 CnstBits = ~CnstBits; in LowerVectorAND()
5375 if (CnstBits.getHiBits(64) == CnstBits.getLoBits(64)) { in LowerVectorAND()
5376 CnstBits = CnstBits.zextOrTrunc(64); in LowerVectorAND()
5377 uint64_t CnstVal = CnstBits.getZExtValue(); in LowerVectorAND()
5437 CnstBits = ~UndefBits; in LowerVectorAND()
5567 APInt CnstBits(VT.getSizeInBits(), 0); in LowerVectorOR() local
5569 if (resolveBuildVector(BVN, CnstBits, UndefBits)) { in LowerVectorOR()
5575 if (CnstBits.getHiBits(64) == CnstBits.getLoBits(64)) { in LowerVectorOR()
5576 CnstBits = CnstBits.zextOrTrunc(64); in LowerVectorOR()
5577 uint64_t CnstVal = CnstBits.getZExtValue(); in LowerVectorOR()
5637 CnstBits = UndefBits; in LowerVectorOR()
5678 APInt CnstBits(VT.getSizeInBits(), 0); in LowerBUILD_VECTOR() local
5680 if (resolveBuildVector(BVN, CnstBits, UndefBits)) { in LowerBUILD_VECTOR()
5686 if (CnstBits.getHiBits(64) == CnstBits.getLoBits(64)) { in LowerBUILD_VECTOR()
5687 CnstBits = CnstBits.zextOrTrunc(64); in LowerBUILD_VECTOR()
5688 uint64_t CnstVal = CnstBits.getZExtValue(); in LowerBUILD_VECTOR()
5887 CnstBits = UndefBits; in LowerBUILD_VECTOR()
6298 APInt CnstBits(VT.getSizeInBits(), 0); in EmitVectorComparison() local
6300 bool IsCnst = BVN && resolveBuildVector(BVN, CnstBits, UndefBits); in EmitVectorComparison()
6301 bool IsZero = IsCnst && (CnstBits == 0); in EmitVectorComparison()