Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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() argument
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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()