Lines Matching refs:getNumElements
53 unsigned NumElts = DstTy->getNumElements(); in BitCastConstantVector()
119 if (STy->getNumElements() == 0) break; in FoldBitCast()
353 Constant *N = ConstantInt::get(DestTy, ATy->getNumElements()); in getFoldedSizeOf()
360 unsigned NumElems = STy->getNumElements(); in getFoldedSizeOf()
426 unsigned NumElems = STy->getNumElements(); in getFoldedAlignOf()
482 unsigned NumElems = STy->getNumElements(); in getFoldedOffsetOf()
664 STy->getNumElements() == 2 && in ConstantFoldCastInstruction()
897 NumElts = ST->getNumElements(); in ConstantFoldInsertValueInstruction()
899 NumElts = cast<SequentialType>(Agg->getType())->getNumElements(); in ConstantFoldInsertValueInstruction()
1224 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) { in ConstantFoldBinaryInstruction()
1298 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) in isMaybeZeroSizedType()
1702 VT->getNumElements()); in ConstantFoldCompareInstruction()
2084 cast<VectorType>(GEPTy)->getNumElements(), C) in ConstantFoldGetElementPtr()
2103 GEPTy = VectorType::get(OrigGEPTy, VT->getNumElements()); in ConstantFoldGetElementPtr()
2109 GEPTy = VectorType::get(OrigGEPTy, VT->getNumElements()); in ConstantFoldGetElementPtr()
2268 if (isIndexInRangeOfArrayType(STy->getNumElements(), CI)) in ConstantFoldGetElementPtr()
2279 for (unsigned I = 0, E = CV->getNumElements(); I != E; ++I) { in ConstantFoldGetElementPtr()
2281 InRange &= isIndexInRangeOfArrayType(STy->getNumElements(), CI); in ConstantFoldGetElementPtr()