Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp177 Info.MinBitWidth = in getMinBitWidth()
178 std::max(Info.MinBitWidth, InstInfoMap[IOp].MinBitWidth); in getMinBitWidth()
188 Info.MinBitWidth = std::max(Info.MinBitWidth, Info.ValidBitWidth); in getMinBitWidth()
202 unsigned MinBitWidth = InstInfoMap.lookup(cast<Instruction>(Src)).MinBitWidth; in getMinBitWidth() local
203 assert(MinBitWidth >= TruncBitWidth); in getMinBitWidth()
205 if (MinBitWidth > TruncBitWidth) { in getMinBitWidth()
212 Type *Ty = DL.getSmallestLegalIntType(DstTy->getContext(), MinBitWidth); in getMinBitWidth()
215 MinBitWidth = Ty ? Ty->getScalarSizeInBits() : OrigBitWidth; in getMinBitWidth()
221 bool FromLegal = MinBitWidth == 1 || DL.isLegalInteger(OrigBitWidth); in getMinBitWidth()
222 bool ToLegal = MinBitWidth == 1 || DL.isLegalInteger(MinBitWidth); in getMinBitWidth()
[all …]
DAggressiveInstCombineInternal.h66 unsigned MinBitWidth = 0; member