Home
last modified time | relevance | path

Searched refs:MaxElements (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DArgumentPromotion.h24 unsigned MaxElements; variable
27 ArgumentPromotionPass(unsigned MaxElements = 3u) : MaxElements(MaxElements) {} in MaxElements() function
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DArgumentPromotion.h25 unsigned MaxElements; variable
28 ArgumentPromotionPass(unsigned MaxElements = 3u) : MaxElements(MaxElements) {} in MaxElements() function
/external/llvm-project/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp566 unsigned MaxElements) { in isSafeToPromoteArgument() argument
682 return isSafeToPromoteArgument(Arg, ByValTy, AAR, MaxElements); in isSafeToPromoteArgument()
720 if (MaxElements > 0 && ToPromote.size() == MaxElements) { in isSafeToPromoteArgument()
724 << "than " << MaxElements in isSafeToPromoteArgument()
868 unsigned MaxElements, in promoteArguments() argument
959 if (MaxElements > 0 && STy->getNumElements() > MaxElements) { in promoteArguments()
963 << " than " << MaxElements in promoteArguments()
1006 if (isSafeToPromoteArgument(PtrArg, ByValTy, AAR, MaxElements)) in promoteArguments()
1045 promoteArguments(&OldF, AARGetter, MaxElements, None, TTI); in run()
1075 explicit ArgPromotion(unsigned MaxElements = 3) in ArgPromotion()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp572 unsigned MaxElements) { in isSafeToPromoteArgument() argument
688 return isSafeToPromoteArgument(Arg, ByValTy, AAR, MaxElements); in isSafeToPromoteArgument()
726 if (MaxElements > 0 && ToPromote.size() == MaxElements) { in isSafeToPromoteArgument()
730 << "than " << MaxElements in isSafeToPromoteArgument()
868 unsigned MaxElements, in promoteArguments() argument
959 if (MaxElements > 0 && STy->getNumElements() > MaxElements) { in promoteArguments()
963 << " than " << MaxElements in promoteArguments()
1006 if (isSafeToPromoteArgument(PtrArg, ByValTy, AAR, MaxElements)) in promoteArguments()
1045 promoteArguments(&OldF, AARGetter, MaxElements, None, TTI); in run()
1075 explicit ArgPromotion(unsigned MaxElements = 3) in ArgPromotion()
[all …]
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp98 unsigned MaxElements);
102 unsigned MaxElements);
122 unsigned MaxElements) { in runImpl() argument
130 PromoteArguments(OldNode, CG, AARGetter, MaxElements)) { in runImpl()
244 unsigned MaxElements) { in PromoteArguments() argument
315 if (MaxElements > 0 && STy->getNumElements() > MaxElements) { in PromoteArguments()
318 << " than " << MaxElements << " arguments to the function.\n"); in PromoteArguments()
359 MaxElements)) in PromoteArguments()
459 AAResults &AAR, unsigned MaxElements) { in isSafeToPromoteArgument() argument
548 MaxElements); in isSafeToPromoteArgument()
[all …]
/external/llvm-project/compiler-rt/lib/xray/tests/unit/
Dsegmented_array_test.cpp178 constexpr auto MaxElements = Array<TestData>::ElementsPerSegment; in TEST() local
181 for (auto i = MaxElements; i > 0u; --i) in TEST()
185 EXPECT_THAT(Data, SizeIs(MaxElements)); in TEST()
188 Data.trim(MaxElements + 1); in TEST()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h990 unsigned MaxElements) { in clampMaxNumElements() argument
998 VecTy.getNumElements() > MaxElements; in clampMaxNumElements()
1002 LLT NewTy = LLT::scalarOrVector(MaxElements, VecTy.getElementType()); in clampMaxNumElements()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h877 unsigned MaxElements) { in clampMaxNumElements() argument
885 VecTy.getNumElements() > MaxElements; in clampMaxNumElements()
889 LLT NewTy = LLT::scalarOrVector(MaxElements, VecTy.getElementType()); in clampMaxNumElements()
/external/clang/lib/Sema/
DSemaInit.cpp2448 llvm::APSInt MaxElements(cast<ConstantArrayType>(AT)->getSize(), false); in CheckDesignatedInitializer() local
2450 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()
2451 DesignatedStartIndex.setIsUnsigned(MaxElements.isUnsigned()); in CheckDesignatedInitializer()
2453 = DesignatedEndIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()
2454 DesignatedEndIndex.setIsUnsigned(MaxElements.isUnsigned()); in CheckDesignatedInitializer()
2455 if (DesignatedEndIndex >= MaxElements) { in CheckDesignatedInitializer()
2459 << DesignatedEndIndex.toString(10) << MaxElements.toString(10) in CheckDesignatedInitializer()
/external/llvm-project/clang/lib/Sema/
DSemaInit.cpp2836 llvm::APSInt MaxElements(cast<ConstantArrayType>(AT)->getSize(), false); in CheckDesignatedInitializer() local
2838 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()
2839 DesignatedStartIndex.setIsUnsigned(MaxElements.isUnsigned()); in CheckDesignatedInitializer()
2841 = DesignatedEndIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()
2842 DesignatedEndIndex.setIsUnsigned(MaxElements.isUnsigned()); in CheckDesignatedInitializer()
2843 if (DesignatedEndIndex >= MaxElements) { in CheckDesignatedInitializer()
2847 << DesignatedEndIndex.toString(10) << MaxElements.toString(10) in CheckDesignatedInitializer()