Home
last modified time | relevance | path

Searched refs:EltCnt (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h440 auto EltCnt = getVectorElementCount(); in getHalfNumVectorElementsVT() local
441 assert(EltCnt.isKnownEven() && "Splitting vector, but not in half!"); in getHalfNumVectorElementsVT()
442 return EVT::getVectorVT(Context, EltVT, EltCnt.divideCoefficientBy(2)); in getHalfNumVectorElementsVT()
450 auto EltCnt = getVectorElementCount(); in getDoubleNumVectorElementsVT() local
451 return EVT::getVectorVT(Context, EltVT, EltCnt * 2); in getDoubleNumVectorElementsVT()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DMachineValueType.h218 auto EltCnt = getVectorElementCount(); in getHalfNumVectorElementsVT() local
219 assert(EltCnt.isKnownEven() && "Splitting vector, but not in half!"); in getHalfNumVectorElementsVT()
220 return getVectorVT(EltVT, EltCnt.divideCoefficientBy(2)); in getHalfNumVectorElementsVT()
227 auto EltCnt = getVectorElementCount(); in getDoubleNumVectorElementsVT() local
228 return MVT::getVectorVT(EltVT, EltCnt * 2); in getDoubleNumVectorElementsVT()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h508 auto EltCnt = VTy->getElementCount(); in getHalfElementsVectorType() local
509 assert(EltCnt.isKnownEven() && in getHalfElementsVectorType()
512 EltCnt.divideCoefficientBy(2)); in getHalfElementsVectorType()
518 auto EltCnt = VTy->getElementCount(); in getDoubleElementsVectorType() local
519 assert((EltCnt.getKnownMinValue() * 2ull) <= UINT_MAX && in getDoubleElementsVectorType()
521 return VectorType::get(VTy->getElementType(), EltCnt * 2); in getDoubleElementsVectorType()
H A DDataLayout.h710 auto EltCnt = VTy->getElementCount(); in getTypeSizeInBits() local
711 uint64_t MinBits = EltCnt.getKnownMinValue() * in getTypeSizeInBits()
713 return TypeSize(MinBits, EltCnt.isScalable()); in getTypeSizeInBits()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeSize.h435 static unsigned getHashValue(const ElementCount &EltCnt) {
436 unsigned HashVal = EltCnt.getKnownMinValue() * 37U;
437 if (EltCnt.isScalable())
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1521 ElementCount EltCnt = VT.getVectorElementCount(); in getVectorTypeBreakdown() local
1529 if (!EltCnt.isScalar() && in getVectorTypeBreakdown()
1547 if (EltCnt.isScalable()) { in getVectorTypeBreakdown()
1571 if (!isPowerOf2_32(EltCnt.getKnownMinValue())) { in getVectorTypeBreakdown()
1572 NumVectorRegs = EltCnt.getKnownMinValue(); in getVectorTypeBreakdown()
1573 EltCnt = ElementCount::getFixed(1); in getVectorTypeBreakdown()
1578 while (EltCnt.getKnownMinValue() > 1 && in getVectorTypeBreakdown()
1579 !isTypeLegal(EVT::getVectorVT(Context, EltTy, EltCnt))) { in getVectorTypeBreakdown()
1580 EltCnt = EltCnt.divideCoefficientBy(2); in getVectorTypeBreakdown()
1586 EVT NewVT = EVT::getVectorVT(Context, EltTy, EltCnt); in getVectorTypeBreakdown()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp889 auto EltCnt = Op.getValueType().getVectorElementCount(); in BitConvertVectorToIntegerVector() local
891 EVT::getVectorVT(*DAG.getContext(), EltNVT, EltCnt), Op); in BitConvertVectorToIntegerVector()
H A DDAGCombiner.cpp14992 auto EltCnt = VecTy.getVectorElementCount(); in visitTRUNCATE() local
14994 auto NewEltCnt = EltCnt * SizeRatio; in visitTRUNCATE()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp17141 auto EltCnt = VT.getVectorElementCount(); in PerformDAGCombine() local
17142 assert(EltCnt.isKnownEven() && "Splitting vector, but not in half!"); in PerformDAGCombine()
17144 EltCnt.divideCoefficientBy(2)); in PerformDAGCombine()
17147 EltCnt.divideCoefficientBy(2)); in PerformDAGCombine()