Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp471 unsigned TruncRatio = SrcBits / DstBits; in foldVecExtTruncToExtElt() local
487 uint64_t BitCastNumElts = VecElts.getKnownMinValue() * TruncRatio; in foldVecExtTruncToExtElt()
490 ? (VecOpIdx + 1) * TruncRatio - 1 in foldVecExtTruncToExtElt()
491 : VecOpIdx * TruncRatio; in foldVecExtTruncToExtElt()
H A DInstCombineVectorOps.cpp2487 uint64_t TruncRatio = in foldTruncShuffle() local
2493 uint64_t LSBIndex = IsBigEndian ? (i + 1) * TruncRatio - 1 : i * TruncRatio; in foldTruncShuffle()