Home
last modified time | relevance | path

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

123

/external/llvm-project/llvm/include/llvm/Support/
DTypeSize.h295 bool isScalable() const { return this->UnivariateDim == ScalableDim; }
310 assert(!isScalable() &&
326 if (!LHS.isScalable() || RHS.isScalable())
332 if (LHS.isScalable() || !RHS.isScalable())
338 if (!LHS.isScalable() || RHS.isScalable())
344 if (LHS.isScalable() || !RHS.isScalable())
359 LinearPolySize::get(getKnownMinValue() / RHS, isScalable()));
365 isScalable()));
370 if (isScalable())
391 bool isScalar() const { return !isScalable() && getKnownMinValue() == 1; }
[all …]
/external/skia/src/core/
DSkLatticeIter.cpp81 bool isScalable) { in set_points() argument
100 dstDelta = isScalable ? scale * srcDelta : srcDelta; in set_points()
102 dstDelta = isScalable ? 0.0f : scale * srcDelta; in set_points()
107 isScalable = !isScalable; in set_points()
/external/skqp/src/core/
DSkLatticeIter.cpp81 bool isScalable) { in set_points() argument
100 dstDelta = isScalable ? scale * srcDelta : srcDelta; in set_points()
102 dstDelta = isScalable ? 0.0f : scale * srcDelta; in set_points()
107 isScalable = !isScalable; in set_points()
/external/llvm-project/llvm/unittests/CodeGen/
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()
/external/llvm-project/llvm/include/llvm/Analysis/
DMemoryLocation.h102 if (Value.isScalable()) in precise()
116 if (Value.isScalable()) in upperBound()
282 return T.isScalable() ? UnknownSize : T.getFixedSize(); in getSizeOrUnknown()
/external/llvm-project/llvm/unittests/IR/
DVectorTypesTest.cpp123 ASSERT_FALSE(EltCnt.isScalable()); in TEST()
219 ASSERT_TRUE(EltCnt.isScalable()); in TEST()
253 EXPECT_EQ(isa<ScalableVectorType>(VI), ECI.isScalable()); in TEST()
287 EXPECT_FALSE(V2I32Len.isScalable()); in TEST()
333 EXPECT_TRUE(ScV2I32Len.isScalable()); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTypeSize.h137 bool isScalable() const { in isScalable() function
201 Size.isScalable()}; in alignTo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInjectTLIMappings.cpp61 static Type *ToVectorTy(Type *Scalar, unsigned VF, bool isScalable = false) { in ToVectorTy() argument
64 return VectorType::get(Scalar, {VF, isScalable}); in ToVectorTy()
/external/llvm-project/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorizationLegality.h112 return ElementCount::get(Width.Value, isScalable()); in getWidth()
124 bool isScalable() const { return Scalable.Value; } in isScalable() function
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp376 VF.isScalable()) != DL.getTypeStoreSize(VectorTy); in hasIrregularType()
1068 assert(!VF.isScalable() && "scalable vectors not yet supported."); in setDebugLocFromInst()
1130 return VF.isScalable() ? B.CreateVScale(StepVal) : StepVal; in createStepForVF()
2040 assert(!VF.isScalable() && "scalable vectors not yet supported."); in createVectorIntOrFpInductionPHI()
2177 assert(!VF.isScalable() && "scalable vectors not yet supported."); in widenIntOrFpInduction()
2313 assert((!VF.isScalable() || Lanes == 1) && in buildScalarSteps()
2328 assert((VF.isScalable() || isa<Constant>(StartIdx)) && in buildScalarSteps()
2376 assert((!VF.isScalable() || LastLane == 0) && in getOrCreateVectorValue()
2399 assert(!VF.isScalable() && "VF is assumed to be non scalable."); in getOrCreateVectorValue()
2466 assert(!VF.isScalable() && "Cannot reverse scalable vectors"); in reverseVector()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackOffset.h60 if (Size.isScalable())
DAArch64FrameLowering.cpp1930 bool isScalable() const { return Type == PPR || Type == ZPR; } in isScalable() function
2045 if (RPI.isScalable()) in computeCalleeSaveRegisterPairs()
2050 assert(!(RPI.isScalable() && RPI.isPaired()) && in computeCalleeSaveRegisterPairs()
2056 !RPI.isScalable() && RPI.Type != RegPairInfo::FPR128 && in computeCalleeSaveRegisterPairs()
2065 int Offset = RPI.isScalable() ? ScalableByteOffset : ByteOffset; in computeCalleeSaveRegisterPairs()
2069 assert(((!RPI.isScalable() && RPI.Offset >= -64 && RPI.Offset <= 63) || in computeCalleeSaveRegisterPairs()
2070 (RPI.isScalable() && RPI.Offset >= -256 && RPI.Offset <= 255)) && in computeCalleeSaveRegisterPairs()
2315 if (RPI.isScalable()) in restoreCalleeSavedRegisters()
2320 if (!RPI.isScalable()) in restoreCalleeSavedRegisters()
2324 if (!RPI.isScalable()) in restoreCalleeSavedRegisters()
/external/llvm-project/llvm/include/llvm/CodeGen/
DValueTypes.h357 return {(BaseSize.getKnownMinSize() + 7) / 8, BaseSize.isScalable()}; in getStoreSize()
435 NElts = ElementCount::get(NewMinCount, NElts.isScalable()); in getPow2VectorType()
/external/llvm-project/llvm/include/llvm/IR/
DDataLayout.h470 return { (BaseSize.getKnownMinSize() + 7) / 8, BaseSize.isScalable() }; in getTypeStoreSize()
703 return TypeSize(MinBits, EltCnt.isScalable()); in getTypeSizeInBits()
DDerivedTypes.h541 assert(!EC.isScalable() && in getNumElements()
544 if (EC.isScalable()) in getNumElements()
/external/llvm-project/llvm/lib/IR/
DType.cpp130 assert(!ETS.isScalable() && "Vector type should have fixed-width elements"); in getPrimitiveSizeInBits()
131 return {ETS.getFixedSize() * EC.getKnownMinValue(), EC.isScalable()}; in getPrimitiveSizeInBits()
601 if (EC.isScalable()) in get()
DIntrinsicInst.cpp285 if (EC.isScalable()) { in canIgnoreVectorLengthParam()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DType.cpp128 return TypeSize(VTy->getBitWidth(), VTy->isScalable()); in getPrimitiveSizeInBits()
513 return !VTy->isScalable(); in isValidElementType()
601 return !VTy->isScalable(); in isValidElementType()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h550 bool isScalable() const { in isScalable() function
571 return cast<VectorType>(this)->isScalable(); in getVectorIsScalable()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMTypeSyntax.cpp277 bool isScalable = dims.size() == 2; in parseVectorType() local
278 if (isScalable) in parseVectorType()
DLLVMTypes.cpp59 assert(!elementSize.isScalable() && in getPrimitiveSizeInBits()
63 elementCount.isScalable()); in getPrimitiveSizeInBits()
/external/llvm-project/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp497 if (STyL->getElementCount().isScalable() != in cmpTypes()
498 STyR->getElementCount().isScalable()) in cmpTypes()
499 return cmpNumbers(STyL->getElementCount().isScalable(), in cmpTypes()
500 STyR->getElementCount().isScalable()); in cmpTypes()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp2086 bool isScalable() const { return Type == PPR || Type == ZPR; } in isScalable() function
2216 int OffsetPre = RPI.isScalable() ? ScalableByteOffset : ByteOffset; in computeCalleeSaveRegisterPairs()
2219 if (RPI.isScalable()) in computeCalleeSaveRegisterPairs()
2224 assert(!(RPI.isScalable() && RPI.isPaired()) && in computeCalleeSaveRegisterPairs()
2230 !RPI.isScalable() && RPI.Type != RegPairInfo::FPR128 && in computeCalleeSaveRegisterPairs()
2242 int OffsetPost = RPI.isScalable() ? ScalableByteOffset : ByteOffset; in computeCalleeSaveRegisterPairs()
2249 assert(((!RPI.isScalable() && RPI.Offset >= -64 && RPI.Offset <= 63) || in computeCalleeSaveRegisterPairs()
2250 (RPI.isScalable() && RPI.Offset >= -256 && RPI.Offset <= 255)) && in computeCalleeSaveRegisterPairs()
2515 if (RPI.isScalable()) in restoreCalleeSavedRegisters()
2520 if (!RPI.isScalable()) in restoreCalleeSavedRegisters()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DValueTypes.h316 return {(BaseSize.getKnownMinSize() + 7) / 8, BaseSize.isScalable()}; in getStoreSize()
/external/skia/src/codec/
DSkRawCodec.cpp514 bool isScalable() const { in isScalable() function in SkDngImage
758 if (!fDngImage->isScalable()) { in onGetScaledDimensions()

123