Lines Matching refs:getNumElements
58 unsigned NumElts = cast<FixedVectorType>(DstTy)->getNumElements(); in BitCastConstantVector()
59 if (NumElts != cast<FixedVectorType>(CV->getType())->getNumElements()) in BitCastConstantVector()
408 cast<FixedVectorType>(DestTy)->getNumElements() == in ConstantFoldCastInstruction()
409 cast<FixedVectorType>(V->getType())->getNumElements()) { in ConstantFoldCastInstruction()
421 e = cast<FixedVectorType>(V->getType())->getNumElements(); in ConstantFoldCastInstruction()
540 for (unsigned i = 0, e = V1VTy->getNumElements(); i != e; ++i) { in ConstantFoldSelectInstruction()
561 if (Result.size() == V1VTy->getNumElements()) in ConstantFoldSelectInstruction()
637 if (CIdx->uge(ValFVTy->getNumElements())) in ConstantFoldExtractElementInstruction()
695 unsigned NumElts = ValTy->getNumElements(); in ConstantFoldInsertElementInstruction()
792 NumElts = ST->getNumElements(); in ConstantFoldInsertValueInstruction()
794 NumElts = cast<ArrayType>(Agg->getType())->getNumElements(); in ConstantFoldInsertValueInstruction()
854 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) { in ConstantFoldUnaryInstruction()
1227 for (unsigned i = 0, e = FVTy->getNumElements(); i != e; ++i) { in ConstantFoldBinaryInstruction()
1302 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) in isMaybeZeroSizedType()
2323 if (isIndexInRangeOfArrayType(STy->getNumElements(), CI)) in ConstantFoldGetElementPtr()
2334 for (unsigned I = 0, E = CV->getNumElements(); I != E; ++I) { in ConstantFoldGetElementPtr()
2336 InRange &= isIndexInRangeOfArrayType(STy->getNumElements(), CI); in ConstantFoldGetElementPtr()
2370 cast<FixedVectorType>(PrevIdx->getType())->getNumElements(), CurrIdx); in ConstantFoldGetElementPtr()
2374 cast<FixedVectorType>(CurrIdx->getType())->getNumElements(), PrevIdx); in ConstantFoldGetElementPtr()
2381 ? cast<FixedVectorType>(PrevIdx->getType())->getNumElements() in ConstantFoldGetElementPtr()
2382 : cast<FixedVectorType>(CurrIdx->getType())->getNumElements(), in ConstantFoldGetElementPtr()
2401 ? cast<FixedVectorType>(PrevIdx->getType())->getNumElements() in ConstantFoldGetElementPtr()
2402 : cast<FixedVectorType>(CurrIdx->getType())->getNumElements()); in ConstantFoldGetElementPtr()