Home
last modified time | relevance | path

Searched refs:MaxBitWidth (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp117 uint64_t MaxBitWidth = DL.getTypeSizeInBits(Exit->getType()); in computeRecurrenceType() local
126 MaxBitWidth = Mask.getBitWidth() - Mask.countLeadingZeros(); in computeRecurrenceType()
129 if (MaxBitWidth == DL.getTypeSizeInBits(Exit->getType()) && AC && DT) { in computeRecurrenceType()
135 MaxBitWidth = NumTypeBits - NumSignBits; in computeRecurrenceType()
147 ++MaxBitWidth; in computeRecurrenceType()
150 if (!isPowerOf2_64(MaxBitWidth)) in computeRecurrenceType()
151 MaxBitWidth = NextPowerOf2(MaxBitWidth); in computeRecurrenceType()
153 return std::make_pair(Type::getIntNTy(Exit->getContext(), MaxBitWidth), in computeRecurrenceType()
/external/llvm-project/llvm/lib/Analysis/
DIVDescriptors.cpp117 uint64_t MaxBitWidth = DL.getTypeSizeInBits(Exit->getType()); in computeRecurrenceType() local
126 MaxBitWidth = Mask.getBitWidth() - Mask.countLeadingZeros(); in computeRecurrenceType()
129 if (MaxBitWidth == DL.getTypeSizeInBits(Exit->getType()) && AC && DT) { in computeRecurrenceType()
135 MaxBitWidth = NumTypeBits - NumSignBits; in computeRecurrenceType()
147 ++MaxBitWidth; in computeRecurrenceType()
150 if (!isPowerOf2_64(MaxBitWidth)) in computeRecurrenceType()
151 MaxBitWidth = NextPowerOf2(MaxBitWidth); in computeRecurrenceType()
153 return std::make_pair(Type::getIntNTy(Exit->getContext(), MaxBitWidth), in computeRecurrenceType()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3381 auto MaxBitWidth = 8u; in computeMinimumValueSizes() local
3387 MaxBitWidth = std::max<unsigned>( in computeMinimumValueSizes()
3388 Mask.getBitWidth() - Mask.countLeadingZeros(), MaxBitWidth); in computeMinimumValueSizes()
3400 if (MaxBitWidth == DL->getTypeSizeInBits(TreeRoot[0]->getType())) { in computeMinimumValueSizes()
3401 MaxBitWidth = 8u; in computeMinimumValueSizes()
3405 MaxBitWidth = std::max<unsigned>(NumTypeBits - NumSignBits, MaxBitWidth); in computeMinimumValueSizes()
3410 if (!isPowerOf2_64(MaxBitWidth)) in computeMinimumValueSizes()
3411 MaxBitWidth = NextPowerOf2(MaxBitWidth); in computeMinimumValueSizes()
3415 if (MaxBitWidth >= TreeRootIT->getBitWidth()) in computeMinimumValueSizes()
3426 MinBWs[Scalar] = MaxBitWidth; in computeMinimumValueSizes()
/external/llvm-project/llvm/lib/Target/ARM/
DARMParallelDSP.cpp335 template<unsigned MaxBitWidth>
338 if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth) in IsNarrowSequence()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMParallelDSP.cpp334 template<unsigned MaxBitWidth>
337 if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth) in IsNarrowSequence()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp5448 auto MaxBitWidth = 8u; in computeMinimumValueSizes() local
5454 MaxBitWidth = std::max<unsigned>( in computeMinimumValueSizes()
5455 Mask.getBitWidth() - Mask.countLeadingZeros(), MaxBitWidth); in computeMinimumValueSizes()
5472 if (MaxBitWidth == DL->getTypeSizeInBits(TreeRoot[0]->getType()) && in computeMinimumValueSizes()
5477 MaxBitWidth = 8u; in computeMinimumValueSizes()
5491 MaxBitWidth = std::max<unsigned>(NumTypeBits - NumSignBits, MaxBitWidth); in computeMinimumValueSizes()
5510 ++MaxBitWidth; in computeMinimumValueSizes()
5514 if (!isPowerOf2_64(MaxBitWidth)) in computeMinimumValueSizes()
5515 MaxBitWidth = NextPowerOf2(MaxBitWidth); in computeMinimumValueSizes()
5519 if (MaxBitWidth >= TreeRootIT->getBitWidth()) in computeMinimumValueSizes()
[all …]
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp5731 auto MaxBitWidth = 8u; in computeMinimumValueSizes() local
5737 MaxBitWidth = std::max<unsigned>( in computeMinimumValueSizes()
5738 Mask.getBitWidth() - Mask.countLeadingZeros(), MaxBitWidth); in computeMinimumValueSizes()
5755 if (MaxBitWidth == DL->getTypeSizeInBits(TreeRoot[0]->getType()) && in computeMinimumValueSizes()
5760 MaxBitWidth = 8u; in computeMinimumValueSizes()
5774 MaxBitWidth = std::max<unsigned>(NumTypeBits - NumSignBits, MaxBitWidth); in computeMinimumValueSizes()
5793 ++MaxBitWidth; in computeMinimumValueSizes()
5797 if (!isPowerOf2_64(MaxBitWidth)) in computeMinimumValueSizes()
5798 MaxBitWidth = NextPowerOf2(MaxBitWidth); in computeMinimumValueSizes()
5802 if (MaxBitWidth >= TreeRootIT->getBitWidth()) in computeMinimumValueSizes()
[all …]