Home
last modified time | relevance | path

Searched refs:MinNumElts (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h588 ScalableVectorType(Type *ElTy, unsigned MinNumElts) in ScalableVectorType() argument
589 : VectorType(ElTy, MinNumElts, ScalableVectorTyID) {} in ScalableVectorType()
592 static ScalableVectorType *get(Type *ElementType, unsigned MinNumElts);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp714 unsigned MinNumElts) { in get() argument
715 assert(MinNumElts > 0 && "#Elements of a VectorType must be greater than 0"); in get()
720 auto EC = ElementCount::getScalable(MinNumElts); in get()
727 Entry = new (pImpl->Alloc) ScalableVectorType(ElementType, MinNumElts); in get()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/
H A DAArch64BaseInfo.h507 getSVEPredPatternFromNumElements(unsigned MinNumElts) { in getSVEPredPatternFromNumElements() argument
508 switch (MinNumElts) { in getSVEPredPatternFromNumElements()
519 return MinNumElts; in getSVEPredPatternFromNumElements()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1261 unsigned MinNumElts = getNumElementsFromSVEPredPattern(PTruePattern); in instCombineSVELast() local
1262 if (!MinNumElts) in instCombineSVELast()
1265 unsigned Idx = MinNumElts - 1; in instCombineSVELast()
1354 unsigned MinNumElts = getNumElementsFromSVEPredPattern(Pattern); in instCombineSVECntElts() local
1356 return MinNumElts && NumElts >= MinNumElts in instCombineSVECntElts()
1358 II, ConstantInt::get(II.getType(), MinNumElts))) in instCombineSVECntElts()
H A DAArch64ISelLowering.cpp28149 unsigned MinNumElts = AArch64::SVEBitsPerBlock / BitsPerElt; in GenerateFixedLengthSVETBL() local
28151 ? DAG.getVScale(DL, MVT::i64, APInt(64, MinNumElts)) in GenerateFixedLengthSVETBL()
28152 : DAG.getVScale(DL, MVT::i32, APInt(32, MinNumElts)); in GenerateFixedLengthSVETBL()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp5245 unsigned MinNumElts = VecVTy->getElementCount().getKnownMinValue(); in simplifyExtractElementInst() local
5246 if (isa<FixedVectorType>(VecVTy) && IdxC->getValue().uge(MinNumElts)) in simplifyExtractElementInst()
5249 if (IdxC->getValue().ult(MinNumElts)) in simplifyExtractElementInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp7758 unsigned MinNumElts = std::min(WidenNumElts, InNumElts); in ModifyToType() local
7760 for (Idx = 0; Idx < MinNumElts; ++Idx) in ModifyToType()
7776 MaskOps.append(MinNumElts, DAG.getAllOnesConstant(dl, EltVT)); in ModifyToType()
7777 MaskOps.append(WidenNumElts - MinNumElts, DAG.getConstant(0, dl, EltVT)); in ModifyToType()
H A DSelectionDAG.cpp3204 const APInt MinNumElts = in computeKnownBits() local
3210 .umul_ov(MinNumElts, Overflow); in computeKnownBits()