Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMParallelDSP.cpp207 template<unsigned MaxBitWidth>
223 if (cast<TruncInst>(I)->getDestTy()->getIntegerBitWidth() == MaxBitWidth) in IsNarrowSequence()
224 return IsNarrowSequence<MaxBitWidth>(Val, VL); in IsNarrowSequence()
231 if (cast<CastInst>(I)->getSrcTy()->getIntegerBitWidth() != MaxBitWidth) { in IsNarrowSequence()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp119 uint64_t MaxBitWidth = DL.getTypeSizeInBits(Exit->getType()); in computeRecurrenceType() local
128 MaxBitWidth = Mask.getBitWidth() - Mask.countLeadingZeros(); in computeRecurrenceType()
131 if (MaxBitWidth == DL.getTypeSizeInBits(Exit->getType()) && AC && DT) { in computeRecurrenceType()
137 MaxBitWidth = NumTypeBits - NumSignBits; in computeRecurrenceType()
149 ++MaxBitWidth; in computeRecurrenceType()
152 if (!isPowerOf2_64(MaxBitWidth)) in computeRecurrenceType()
153 MaxBitWidth = NextPowerOf2(MaxBitWidth); in computeRecurrenceType()
155 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()