Lines Matching refs:getNumElements
54 unsigned NumElts = DstTy->getNumElements(); in BitCastConstantVector()
120 if (STy->getNumElements() == 0) break; in FoldBitCast()
354 Constant *N = ConstantInt::get(DestTy, ATy->getNumElements()); in getFoldedSizeOf()
361 unsigned NumElems = STy->getNumElements(); in getFoldedSizeOf()
429 unsigned NumElems = STy->getNumElements(); in getFoldedAlignOf()
487 unsigned NumElems = STy->getNumElements(); in getFoldedOffsetOf()
654 STy->getNumElements() == 2 && in ConstantFoldCastInstruction()
892 NumElts = ST->getNumElements(); in ConstantFoldInsertValueInstruction()
894 NumElts = AT->getNumElements(); in ConstantFoldInsertValueInstruction()
1198 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) { in ConstantFoldBinaryInstruction()
1269 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) in isMaybeZeroSizedType()
1664 VT->getNumElements()); in ConstantFoldCompareInstruction()
2009 NumElements = ATy->getNumElements(); in isIndexInRangeOfSequentialType()
2011 NumElements = VTy->getNumElements(); in isIndexInRangeOfSequentialType()
2182 NumElements = ATy->getNumElements(); in ConstantFoldGetElementPtrImpl()
2184 NumElements = cast<VectorType>(Ty)->getNumElements(); in ConstantFoldGetElementPtrImpl()