Lines Matching refs:getElementCount
65 return ConstantVector::getSplat(DstTy->getElementCount(), in BitCastConstantVector()
415 cast<VectorType>(DestTy)->getElementCount(), in ConstantFoldCastInstruction()
671 if (CIdx->getValue().ult(ValVTy->getElementCount().getKnownMinValue())) { in ConstantFoldExtractElementInstruction()
743 unsigned SrcNumElts = V1VTy->getElementCount().getKnownMinValue(); in ConstantFoldShuffleVectorInstruction()
849 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction()
1218 VTy->getElementCount(), in ConstantFoldBinaryInstruction()
1705 VT->getElementCount()); in ConstantFoldCompareInstruction()
1854 C1VTy->getElementCount(), in ConstantFoldCompareInstruction()
1867 for (unsigned I = 0, E = C1VTy->getElementCount().getKnownMinValue(); in ConstantFoldCompareInstruction()
2217 cast<VectorType>(GEPTy)->getElementCount(), C) in ConstantFoldGetElementPtr()
2236 GEPTy = VectorType::get(OrigGEPTy, VT->getElementCount()); in ConstantFoldGetElementPtr()
2245 GEPTy = VectorType::get(OrigGEPTy, VT->getElementCount()); in ConstantFoldGetElementPtr()