Home
last modified time | relevance | path

Searched refs:getKnownMinValue (Results 1 – 25 of 88) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeSize.h181 return getKnownMinValue() % RHS == 0; in isKnownMultipleOf()
190 return getKnownMinValue(); in getFixedValue()
206 return LHS.getKnownMinValue() < RHS.getKnownMinValue(); in isKnownLT()
213 return LHS.getKnownMinValue() > RHS.getKnownMinValue(); in isKnownGT()
220 return LHS.getKnownMinValue() <= RHS.getKnownMinValue(); in isKnownLE()
227 return LHS.getKnownMinValue() >= RHS.getKnownMinValue(); in isKnownGE()
258 getKnownMinValue() % RHS.getKnownMinValue() == 0; in hasKnownScalarFactor()
266 return getKnownMinValue() / RHS.getKnownMinValue(); in getKnownScalarFactor()
273 OS << getKnownMinValue(); in print()
308 return !isScalable() && getKnownMinValue() == 1; in isScalar()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLowLevelType.h155 return getElementCount().getKnownMinValue(); in getNumElements()
187 return TypeSize(getScalarSizeInBits() * EC.getKnownMinValue(), in getSizeInBits()
195 return {(BaseSize.getKnownMinValue() + 7) / 8, BaseSize.isScalable()}; in getSizeInBytes()
399 maskAndShift(EC.getKnownMinValue(), VectorElementsFieldInfo) |
404 maskAndShift(EC.getKnownMinValue(),
H A DMachineValueType.h249 unsigned NewMinCount = 1 << Log2_32_Ceil(NElts.getKnownMinValue()); in getPow2VectorType()
354 return {(BaseSize.getKnownMinValue() + 7) / 8, BaseSize.isScalable()}; in getStoreSize()
475 return getScalableVectorVT(VT, EC.getKnownMinValue()); in getVectorVT()
476 return getVectorVT(VT, EC.getKnownMinValue()); in getVectorVT()
H A DValueTypes.h343 return getVectorElementCount().getKnownMinValue(); in getVectorMinNumElements()
375 return {(BaseSize.getKnownMinValue() + 7) / 8, BaseSize.isScalable()}; in getStoreSize()
458 unsigned NewMinCount = 1 << Log2_32_Ceil(NElts.getKnownMinValue()); in getPow2VectorType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSVEIntrinsicOpts.cpp122 if (IntrUserVTy->getElementCount().getKnownMinValue() > in isPTruePromoted()
123 PTrueVTy->getElementCount().getKnownMinValue()) in isPTruePromoted()
145 return PTrue1VTy->getElementCount().getKnownMinValue() < in coalescePTrueIntrinsicCalls()
146 PTrue2VTy->getElementCount().getKnownMinValue(); in coalescePTrueIntrinsicCalls()
H A DAArch64TargetTransformInfo.h155 return VF.getKnownMinValue() * ST->getVScaleForTuning(); in getMaxNumElements()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DTypeSize.cpp54 return getKnownMinValue(); in operator TypeSize::ScalarTy()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp1163 if (!isPowerOf2_32(EC.getKnownMinValue())) { in getVectorTypeBreakdownMVT()
1165 NumVectorRegs = EC.getKnownMinValue(); in getVectorTypeBreakdownMVT()
1172 while (EC.getKnownMinValue() > 1 && in getVectorTypeBreakdownMVT()
1496 if (isPowerOf2_32(EC.getKnownMinValue())) { in computeRegisterProperties()
1502 SVT.getVectorElementCount().getKnownMinValue() > in computeRegisterProperties()
1503 EC.getKnownMinValue() && in computeRegisterProperties()
1548 else if (EC.getKnownMinValue() > 1) in computeRegisterProperties()
1642 divideCeil(VT.getVectorElementCount().getKnownMinValue(), in getVectorTypeBreakdown()
1651 if (!isPowerOf2_32(EltCnt.getKnownMinValue())) { in getVectorTypeBreakdown()
1652 NumVectorRegs = EltCnt.getKnownMinValue(); in getVectorTypeBreakdown()
[all …]
H A DValueTypes.cpp143 return EC.getKnownMinValue(); in getExtendedVectorNumElements()
166 utostr(getVectorElementCount().getKnownMinValue()) + in getEVTString()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2449 uint64_t MaxVF = VF.getKnownMinValue(); in isIndvarOverflowCheckKnownFalse()
2904 if (UF * VF.getKnownMinValue() >= MinProfitableTripCount.getKnownMinValue()) in emitIterationCountCheck()
4059 ScalarizationCost += VF.getKnownMinValue() * in getDivRemSpeculationCost()
4063 ScalarizationCost += VF.getKnownMinValue() * in getDivRemSpeculationCost()
5438 unsigned EstimatedVF = VF.getKnownMinValue(); in selectInterleaveCount()
6437 VF.getKnownMinValue()), in getInstructionCost()
6670 (VF.getKnownMinValue() * in setCostBasedWideningDecision()
6678 (VF.getKnownMinValue() * in setCostBasedWideningDecision()
6937 SmallVector<int> Mask(VF.getKnownMinValue()); in getInstructionCost()
7330 assert(isPowerOf2_32(VF.getKnownMinValue()) && in planInVPlanNativePath()
[all …]
H A DLoopVectorizationPlanner.h251 return std::make_tuple(LHS.isScalable(), LHS.getKnownMinValue()) < in operator()
252 std::make_tuple(RHS.isScalable(), RHS.getKnownMinValue()); in operator()
H A DVPlan.h95 return End.getKnownMinValue() <= Start.getKnownMinValue(); in isEmpty()
102 assert(isPowerOf2_32(Start.getKnownMinValue()) && in VFRange()
104 assert(isPowerOf2_32(End.getKnownMinValue()) && in VFRange()
129 assert(isPowerOf2_32(End.getKnownMinValue())); in end()
170 unsigned LaneOffset = VF.getKnownMinValue() - 1; in getLastLaneForVF()
202 assert(VF.isScalable() && Lane < VF.getKnownMinValue()); in mapToCacheIndex()
203 return VF.getKnownMinValue() + Lane; in mapToCacheIndex()
205 assert(Lane < VF.getKnownMinValue()); in mapToCacheIndex()
213 return VF.getKnownMinValue() * (VF.isScalable() ? 2 : 1); in getNumCachedLanes()
H A DVPlan.cpp72 Builder.getInt32(VF.getKnownMinValue() - Lane)); in getAsRuntimeExpr()
282 unsigned LastLane = IsUniform ? 0 : VF.getKnownMinValue() - 1; in get()
321 for (unsigned Lane = 0; Lane < VF.getKnownMinValue(); ++Lane) in get()
373 DIL->cloneByMultiplyingDuplicationFactor(UF * VF.getKnownMinValue()); in setDebugLocFrom()
661 for (unsigned Lane = 0, VF = State->VF.getKnownMinValue(); Lane < VF; in execute()
H A DLoopVectorizationLegality.cpp252 EC.getKnownMinValue() > 1); in allowReordering()
585 unsigned FixedVF = VF.getKnownMinValue(); in isUniform()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryLocation.h113 return LocationSize(Value.getKnownMinValue(), Value.isScalable()); in precise()
184 return hasValue() && getValue().getKnownMinValue() == 0; in isZero()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h474 return {divideCeil(BaseSize.getKnownMinValue(), 8), BaseSize.isScalable()}; in getTypeStoreSize()
711 uint64_t MinBits = EltCnt.getKnownMinValue() * in getTypeSizeInBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp69 return CEI->getValue().ult(EC.getKnownMinValue()); in cheapToScalarize()
206 ExtIndexC = NumElts.getKnownMinValue() - 1 - ExtIndexC; in foldBitcastExtElt()
239 if (NumSrcElts.getKnownMinValue() < NumElts.getKnownMinValue()) { in foldBitcastExtElt()
252 NumElts.getKnownMinValue() / NumSrcElts.getKnownMinValue(); in foldBitcastExtElt()
428 unsigned NumElts = EC.getKnownMinValue(); in visitExtractElementInst()
504 if (IndexC && IdxVal < EC.getKnownMinValue() && GEP->hasOneUse()) { in visitExtractElementInst()
576 unsigned NumElts = EC.getKnownMinValue(); in visitExtractElementInst()
2511 if (ShufTy->getElementCount().getKnownMinValue() > in foldCastShuffle()
2512 ShufOpTy->getElementCount().getKnownMinValue()) in foldCastShuffle()
H A DInstCombineLoadStoreAlloca.cpp470 if (DL.getTypeAllocSize(AI.getAllocatedType()).getKnownMinValue() == 0) { in visitAllocaInst()
488 .getKnownMinValue() != 0) { in visitAllocaInst()
788 auto EltAlign = commonAlignment(Align, Offset.getKnownMinValue()); in unpackLoadToAggregate()
1315 auto EltAlign = commonAlignment(Align, Offset.getKnownMinValue()); in unpackStoreToAggregate()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp500 Info.EC.getKnownMinValue() * in ConvertType()
521 ConvertType(Info.ElementType), Info.EC.getKnownMinValue()); in ConvertType()
526 Info.EC.getKnownMinValue() * in ConvertType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp194 return {ETS.getFixedValue() * EC.getKnownMinValue(), EC.isScalable()}; in getPrimitiveSizeInBits()
678 return ScalableVectorType::get(ElementType, EC.getKnownMinValue()); in get()
680 return FixedVectorType::get(ElementType, EC.getKnownMinValue()); in get()
H A DIntrinsicInst.cpp627 return VScaleFactor >= EC.getKnownMinValue(); in canIgnoreVectorLengthParam()
628 return (EC.getKnownMinValue() == 1) && match(VLParam, m_VScale()); in canIgnoreVectorLengthParam()
637 if (VLNum >= EC.getKnownMinValue()) in canIgnoreVectorLengthParam()
H A DIRBuilder.cpp100 Constant *MinEC = ConstantInt::get(DstType, EC.getKnownMinValue()); in CreateElementCount()
105 Constant *MinSize = ConstantInt::get(DstType, Size.getKnownMinValue()); in CreateTypeSize()
1178 int NumElts = Ty->getElementCount().getKnownMinValue(); in CreateVectorReverse()
1228 Zeros.resize(EC.getKnownMinValue()); in CreateVectorSplat()
H A DDataLayout.cpp841 unsigned BitWidth = getTypeSizeInBits(Ty).getKnownMinValue(); in getAlignment()
852 return Align(PowerOf2Ceil(getTypeStoreSize(Ty).getKnownMinValue())); in getAlignment()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelMatchTable.cpp357 << Ty.getElementCount().getKnownMinValue() << "s" in emitCxxEnumValue()
379 << Ty.getElementCount().getKnownMinValue() << "), " in emitCxxConstructorCall()
412 Ty.getElementCount().getKnownMinValue()) < in operator <()
414 Other.Ty.getElementCount().getKnownMinValue()); in operator <()
420 Ty.getSizeInBits().getKnownMinValue()) < in operator <()
422 Other.Ty.getSizeInBits().getKnownMinValue()) in operator <()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp4793 if (WidenEC.isKnownMultipleOf(InVTEC.getKnownMinValue())) { in WidenVecRes_Convert()
4796 WidenEC.getKnownMinValue() / InVTEC.getKnownMinValue(); in WidenVecRes_Convert()
4805 if (InVTEC.isKnownMultipleOf(WidenEC.getKnownMinValue())) { in WidenVecRes_Convert()
4849 return DAG.UnrollVectorOp(N, WidenNumElts.getKnownMinValue()); in WidenVecRes_FP_TO_XINT_SAT()
4870 return DAG.UnrollVectorOp(N, WidenNumElts.getKnownMinValue()); in WidenVecRes_XRINT()
6436 if (VT.getSizeInBits().getKnownMinValue() * VScaleMin >= in WidenVecOp_INSERT_SUBVECTOR()
6907 unsigned WidenWidth = WidenVT.getSizeInBits().getKnownMinValue(); in findMemType()
7029 WidthDiff.getKnownMinValue()); in GenWidenVectorLoads()
7142 NewLdTySize.getKnownMinValue() / LdTySize.getKnownMinValue(); in GenWidenVectorLoads()
7164 WidenWidth.getKnownMinValue() / LdTy.getSizeInBits().getKnownMinValue(); in GenWidenVectorLoads()
[all …]

1234