Home
last modified time | relevance | path

Searched refs:MinBW (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp402 unsigned MinBW = std::max(R.getLower().getMinSignedBits(), in validateAndTransform() local
404 LLVM_DEBUG(dbgs() << "F2I: MinBitwidth=" << MinBW << ", R: " << R << "\n"); in validateAndTransform()
414 if (MinBW > MaxRepresentableBits) { in validateAndTransform()
418 if (MinBW > 64) { in validateAndTransform()
426 Type *Ty = (MinBW > 32) ? Type::getInt64Ty(*Ctx) : Type::getInt32Ty(*Ctx); in validateAndTransform()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DVectorUtils.cpp477 uint64_t MinBW = (sizeof(LeaderDemandedBits) * 8) - in computeMinimumValueSizes() local
480 if (!isPowerOf2_64((uint64_t)MinBW)) in computeMinimumValueSizes()
481 MinBW = NextPowerOf2(MinBW); in computeMinimumValueSizes()
489 if (isa<PHINode>(*MI) && MinBW < (*MI)->getType()->getScalarSizeInBits()) { in computeMinimumValueSizes()
502 if (MinBW < Ty->getScalarSizeInBits()) in computeMinimumValueSizes()
503 MinBWs[cast<Instruction>(*MI)] = MinBW; in computeMinimumValueSizes()