Lines Matching refs:getElementCount
63 return ConstantVector::getSplat(DstTy->getElementCount(), in BitCastConstantVector()
413 cast<VectorType>(DestTy)->getElementCount(), in ConstantFoldCastInstruction()
666 if (CIdx->getValue().ult(ValVTy->getElementCount().getKnownMinValue())) { in ConstantFoldExtractElementInstruction()
747 unsigned SrcNumElts = V1VTy->getElementCount().getKnownMinValue(); in ConstantFoldShuffleVectorInstruction()
853 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction()
1227 return ConstantVector::getSplat(VTy->getElementCount(), Res); in ConstantFoldBinaryInstruction()
1586 VT->getElementCount()); in ConstantFoldCompareInstruction()
1683 C1VTy->getElementCount(), in ConstantFoldCompareInstruction()
1696 for (unsigned I = 0, E = C1VTy->getElementCount().getKnownMinValue(); in ConstantFoldCompareInstruction()
2061 cast<VectorType>(GEPTy)->getElementCount(), C) in ConstantFoldGetElementPtr()
2079 GEPTy = VectorType::get(OrigGEPTy, VT->getElementCount()); in ConstantFoldGetElementPtr()
2088 GEPTy = VectorType::get(OrigGEPTy, VT->getElementCount()); in ConstantFoldGetElementPtr()