Home
last modified time | relevance | path

Searched refs:isScalable (Results 1 – 25 of 86) sorted by relevance

1234

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DTypeSize.h313 assert(!isScalable() &&
329 if (!LHS.isScalable() || RHS.isScalable())
335 if (LHS.isScalable() || !RHS.isScalable())
341 if (!LHS.isScalable() || RHS.isScalable())
347 if (LHS.isScalable() || !RHS.isScalable())
362 LinearPolySize::get(getKnownMinValue() / RHS, isScalable()));
373 isScalable()));
379 return isScalable() == RHS.isScalable() &&
392 if (isScalable())
510 Size.isScalable()};
[all …]
H A DLowLevelTypeImpl.h127 if (isScalable()) in getNumElements()
137 bool isScalable() const { in isScalable() function
148 isScalable()); in getElementCount()
157 EC.isScalable()); in getSizeInBits()
164 return {(BaseSize.getKnownMinSize() + 7) / 8, BaseSize.isScalable()}; in getSizeInBytes()
368 maskAndShift(EC.isScalable() ? 1 : 0, VectorScalableFieldInfo);
375 maskAndShift(EC.isScalable() ? 1 : 0,
H A DMachineValueType.h519 NElts = ElementCount::get(NewMinCount, NElts.isScalable()); in getPow2VectorType()
1103 return {(BaseSize.getKnownMinSize() + 7) / 8, BaseSize.isScalable()}; in getStoreSize()
1443 if (EC.isScalable()) in getVectorVT()
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DScalableVectorMVTsTest.cpp76 ASSERT_TRUE(EltCnt.isScalable()); in TEST()
87 ASSERT_FALSE(EltCnt.isScalable()); in TEST()
177 ASSERT_FALSE(v4i32.getSizeInBits().isScalable()); in TEST()
178 ASSERT_TRUE(nxv4i32.getSizeInBits().isScalable()); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemoryLocation.h103 if (Value.isScalable()) in precise()
117 if (Value.isScalable()) in upperBound()
285 return T.isScalable() ? UnknownSize : T.getFixedSize(); in getSizeOrUnknown()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DVectorTypesTest.cpp127 ASSERT_FALSE(EltCnt.isScalable()); in TEST()
223 ASSERT_TRUE(EltCnt.isScalable()); in TEST()
257 EXPECT_EQ(isa<ScalableVectorType>(VI), ECI.isScalable()); in TEST()
291 EXPECT_FALSE(V2I32Len.isScalable()); in TEST()
337 EXPECT_TRUE(ScV2I32Len.isScalable()); in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationPlanner.h232 *(Max.isScalable() ? &ScalableVF : &FixedVF) = Max; in FixedScalableVFPair()
237 assert(!FixedVF.isScalable() && ScalableVF.isScalable() && in FixedScalableVFPair()
H A DLoopVectorize.cpp2953 if (!VF.isScalable()) in emitIterationCountCheck()
4255 if (VF.isScalable()) { in collectLoopScalars()
5122 assert((LHS.isScalable() == RHS.isScalable()) && in getMaximizedVFForTarget()
5230 if (!A.Width.isScalable() && !B.Width.isScalable() && FoldTailByMasking && in isMoreProfitable()
5257 if (A.Width.isScalable() && !B.Width.isScalable()) in isMoreProfitable()
5305 if (i.isScalable()) in selectVectorizationFactor()
5520 if (((!NextVF.Width.isScalable() && MainLoopVF.isScalable() && in selectEpilogueVectorizationFactor()
6305 if (VF.isScalable()) in getMemInstScalarizationCost()
6434 if (VF.isScalable()) in getInterleaveGroupCost()
6714 if (VF.isScalable()) in getScalarizationOverhead()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DTypeSize.cpp50 if (isScalable()) { in operator TypeSize::ScalarTy()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMTypes.cpp900 if (ty.isScalable()) in getVectorNumElements()
922 vectorType.cast<VectorType>().isScalable()); in isScalableVectorType()
926 bool isScalable) { in getVectorType() argument
933 if (isScalable) in getVectorType()
937 return VectorType::get(numElements, elementType, (unsigned)isScalable); in getVectorType()
983 elementSize.isScalable()); in getPrimitiveTypeSizeInBits()
991 elementSize.isScalable()); in getPrimitiveTypeSizeInBits()
H A DLLVMTypeSyntax.cpp279 bool isScalable = dims.size() == 2; in parseVectorType() local
280 if (isScalable) in parseVectorType()
/llvm-project-15.0.7/llvm/lib/IR/
H A DVectorBuilder.cpp51 assert(!StaticVectorLength.isScalable() && "TODO vscale lowering"); in requestEVL()
H A DType.cpp182 assert(!ETS.isScalable() && "Vector type should have fixed-width elements"); in getPrimitiveSizeInBits()
183 return {ETS.getFixedSize() * EC.getKnownMinValue(), EC.isScalable()}; in getPrimitiveSizeInBits()
669 if (EC.isScalable()) in get()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DValueTypes.h364 return {(BaseSize.getKnownMinSize() + 7) / 8, BaseSize.isScalable()}; in getStoreSize()
448 NElts = ElementCount::get(NewMinCount, NElts.isScalable()); in getPow2VectorType()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h145 if (!VF.isScalable()) in getMaxNumElements()
287 if (!ST->hasNEON() || NumElements.isScalable()) in isLegalBroadcastLoad()
H A DAArch64FrameLowering.cpp2503 bool isScalable() const { return Type == PPR || Type == ZPR; } in isScalable() function
2625 int OffsetPre = RPI.isScalable() ? ScalableByteOffset : ByteOffset; in computeCalleeSaveRegisterPairs()
2628 if (RPI.isScalable()) in computeCalleeSaveRegisterPairs()
2639 assert(!(RPI.isScalable() && RPI.isPaired()) && in computeCalleeSaveRegisterPairs()
2645 !RPI.isScalable() && RPI.Type != RegPairInfo::FPR128 && in computeCalleeSaveRegisterPairs()
2656 int OffsetPost = RPI.isScalable() ? ScalableByteOffset : ByteOffset; in computeCalleeSaveRegisterPairs()
2669 assert(((!RPI.isScalable() && RPI.Offset >= -64 && RPI.Offset <= 63) || in computeCalleeSaveRegisterPairs()
2670 (RPI.isScalable() && RPI.Offset >= -256 && RPI.Offset <= 255)) && in computeCalleeSaveRegisterPairs()
2913 if (RPI.isScalable()) in restoreCalleeSavedRegisters()
2929 if (RPI.isScalable()) in restoreCalleeSavedRegisters()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDataLayout.h476 return {divideCeil(BaseSize.getKnownMinSize(), 8), BaseSize.isScalable()}; in getTypeStoreSize()
714 return TypeSize(MinBits, EltCnt.isScalable()); in getTypeSizeInBits()
/llvm-project-15.0.7/mlir/lib/IR/
H A DTypeUtilities.cpp134 if (vType && vType.isScalable()) in verifyCompatibleShapes()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp505 if (STyL->getElementCount().isScalable() != in cmpTypes()
506 STyR->getElementCount().isScalable()) in cmpTypes()
507 return cmpNumbers(STyL->getElementCount().isScalable(), in cmpTypes()
508 STyR->getElementCount().isScalable()); in cmpTypes()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp124 if (NumElements.isScalable()) { in replaceWithCallToVeclib()
H A DExpandVectorPredication.cpp216 if (ElemCount.isScalable()) { in convertEVLToMask()
478 if (StaticElemCount.isScalable()) { in discardEVLParameter()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DTypeToLLVM.cpp142 if (type.isScalable()) in translate()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h194 if (!VF.isScalable()) in isLegalToVectorizeReduction()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp178 assert(!StoreSize.isScalable() && "Can't track scalable-typed stores"); in addStore()
386 if (DL.getTypeStoreSize(SI->getOperand(0)->getType()).isScalable()) in tryMergingIntoMemset()
443 if (DL.getTypeStoreSize(StoredVal->getType()).isScalable()) in tryMergingIntoMemset()
873 if (cpySize.isScalable()) in performCallSlotOptzn()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/
H A DLLVMTypes.h522 bool isScalable = false);

1234