Home
last modified time | relevance | path

Searched refs:IsScalable (Results 1 – 18 of 18) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTypeSize.h52 bool IsScalable; // If true, then the runtime size is an integer multiple variable
57 : MinSize(MinSize), IsScalable(Scalable) {} in TypeSize()
71 return std::tie(LHS.MinSize, LHS.IsScalable) ==
72 std::tie(RHS.MinSize, RHS.IsScalable);
89 assert(LHS.IsScalable == RHS.IsScalable &&
110 return { MinSize * RHS, IsScalable };
114 return { LHS * RHS.MinSize, RHS.IsScalable };
118 return { MinSize / RHS, IsScalable };
125 assert(!IsScalable && "Request for a fixed size on a scalable object"); in getFixedSize()
138 return IsScalable; in isScalable()
[all …]
DMachineValueType.h1084 static MVT getVectorVT(MVT VT, unsigned NumElements, bool IsScalable) { in getVectorVT() argument
1085 if (IsScalable) in getVectorVT()
/external/llvm-project/llvm/unittests/Analysis/
DVectorFunctionABITest.cpp51 bool &IsScalable = Info.Shape.IsScalable; member in __anonf8e8727b0111::VFABIParserTest
176 EXPECT_FALSE(IsScalable); in TEST_F()
195 EXPECT_FALSE(IsScalable); in TEST_F()
208 EXPECT_FALSE(IsScalable); in TEST_F()
224 EXPECT_TRUE(IsScalable); in TEST_F()
234 EXPECT_FALSE(IsScalable); in TEST_F()
333 EXPECT_FALSE(IsScalable); in TEST_F()
363 EXPECT_FALSE(IsScalable); \ in TEST_F()
438 EXPECT_FALSE(IsScalable); in TEST_F()
450 EXPECT_FALSE(IsScalable); in TEST_F()
[all …]
DVectorUtilsTest.cpp505 void buildShape(unsigned VF, bool IsScalable, bool HasGlobalPred) { in buildShape() argument
506 Shape = VFShape::get(*CI, ElementCount::get(VF, IsScalable), HasGlobalPred); in buildShape()
/external/llvm-project/llvm/lib/Analysis/
DVFABIDemangling.cpp71 ParseRet tryParseVLEN(StringRef &ParseString, unsigned &VF, bool &IsScalable) { in tryParseVLEN() argument
77 IsScalable = true; in tryParseVLEN()
88 IsScalable = false; in tryParseVLEN()
344 bool IsScalable; in tryDemangleForVFABI() local
345 if (tryParseVLEN(MangledName, VF, IsScalable) != ParseRet::OK) in tryDemangleForVFABI()
438 if (IsScalable) { in tryDemangleForVFABI()
457 const VFShape Shape({VF, IsScalable, Parameters}); in tryDemangleForVFABI()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DVFABIDemangling.cpp71 ParseRet tryParseVLEN(StringRef &ParseString, unsigned &VF, bool &IsScalable) { in tryParseVLEN() argument
74 IsScalable = true; in tryParseVLEN()
81 IsScalable = false; in tryParseVLEN()
318 bool IsScalable; in tryDemangleForVFABI() local
319 if (tryParseVLEN(MangledName, VF, IsScalable) != ParseRet::OK) in tryDemangleForVFABI()
405 const VFShape Shape({VF, IsScalable, Parameters}); in tryDemangleForVFABI()
/external/llvm-project/llvm/include/llvm/CodeGen/
DValueTypes.h75 bool IsScalable = false) {
76 MVT M = MVT::getVectorVT(VT.V, NumElements, IsScalable);
79 return getExtendedVectorVT(Context, VT, NumElements, IsScalable);
483 bool IsScalable);
/external/llvm-project/llvm/include/llvm/IR/
DIntrinsics.h190 static IITDescriptor getVector(unsigned Width, bool IsScalable) { in getVector()
192 Result.Vector_Width = ElementCount::get(Width, IsScalable); in getVector()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DValueTypes.h74 bool IsScalable = false) {
75 MVT M = MVT::getVectorVT(VT.V, NumElements, IsScalable);
79 assert(!IsScalable && "We don't support extended scalable types yet");
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DVectorUtils.h84 bool IsScalable; // True if the function is a scalable function. member
88 return std::tie(VF, IsScalable, Parameters) ==
89 std::tie(Other.VF, Other.IsScalable, Other.Parameters);
/external/llvm-project/llvm/include/llvm/Analysis/
DVectorUtils.h84 bool IsScalable; // True if the function is a scalable function. member
88 return std::tie(VF, IsScalable, Parameters) ==
89 std::tie(Other.VF, Other.IsScalable, Other.Parameters);
/external/llvm-project/llvm/include/llvm/Support/
DTypeSize.h415 TypeSize(ScalarTy MinVal, bool IsScalable)
416 : LinearPolySize(LinearPolySize::get(MinVal, IsScalable)) {}
DMachineValueType.h1301 static MVT getVectorVT(MVT VT, unsigned NumElements, bool IsScalable) { in getVectorVT() argument
1302 if (IsScalable) in getVectorVT()
/external/llvm-project/clang/utils/TableGen/
DSveEmitter.cpp69 bool DefaultType, IsScalable, Predicate, PredicatePattern, PrefetchOp; member in __anon5c0d77c40111::SVEType
78 IsScalable(true), Predicate(false), PredicatePattern(false), in SVEType()
91 bool isScalableVector() const { return isVector() && IsScalable; } in isScalableVector()
/external/llvm-project/llvm/lib/CodeGen/
DValueTypes.cpp42 bool IsScalable) { in getExtendedVectorVT() argument
45 VectorType::get(VT.getTypeForEVT(Context), NumElements, IsScalable); in getExtendedVectorVT()
DTargetLoweringBase.cpp1401 bool IsScalable = VT.isScalableVector(); in computeRegisterProperties() local
1405 MVT::SimpleValueType EndVT = IsScalable ? in computeRegisterProperties()
1436 SVT.isScalableVector() == IsScalable && in computeRegisterProperties()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1247 bool IsScalable = VT.isScalableVector(); in computeRegisterProperties() local
1251 MVT::SimpleValueType EndVT = IsScalable ? in computeRegisterProperties()
1263 SVT.isScalableVector() == IsScalable && isTypeLegal(SVT)) { in computeRegisterProperties()
1284 && SVT.isScalableVector() == IsScalable && isTypeLegal(SVT)) { in computeRegisterProperties()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopUtils.cpp310 Optional<int> IsScalable = getOptionalIntLoopAttribute( in getOptionalElementCountLoopAttribute() local
313 IsScalable.hasValue() ? *IsScalable : false); in getOptionalElementCountLoopAttribute()