Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/IPO/
DArgumentPromotion.h25 unsigned MaxElements; variable
28 ArgumentPromotionPass(unsigned MaxElements = 3u) : MaxElements(MaxElements) {} in MaxElements() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp565 AAResults &AAR, unsigned MaxElements) { in isSafeToPromoteArgument() argument
655 MaxElements); in isSafeToPromoteArgument()
690 if (MaxElements > 0 && ToPromote.size() == MaxElements) { in isSafeToPromoteArgument()
694 << "than " << MaxElements in isSafeToPromoteArgument()
817 unsigned MaxElements, in promoteArguments() argument
903 if (MaxElements > 0 && STy->getNumElements() > MaxElements) { in promoteArguments()
907 << " than " << MaxElements in promoteArguments()
949 MaxElements)) in promoteArguments()
982 Function *NewF = promoteArguments(&OldF, AARGetter, MaxElements, None); in run()
1012 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h684 unsigned MaxElements) { in clampMaxNumElements() argument
692 VecTy.getNumElements() > MaxElements; in clampMaxNumElements()
697 TypeIdx, LLT::vector(MaxElements, VecTy.getScalarSizeInBits())); 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()