Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp454 uint64_t Shift, uint64_t InputBits) { in isCTTZTable() argument
456 if (Length < InputBits || Length > InputBits * 2) in isCTTZTable()
459 APInt Mask = APInt::getBitsSetFrom(InputBits, Shift); in isCTTZTable()
464 if (Element >= InputBits) in isCTTZTable()
475 return Matched == InputBits; in isCTTZTable()
575 unsigned InputBits = X1->getType()->getScalarSizeInBits(); in tryToRecognizeTableBasedCttz() local
576 if (InputBits != 32 && InputBits != 64) in tryToRecognizeTableBasedCttz()
580 if (InputBits - Log2_32(InputBits) != ShiftConst && in tryToRecognizeTableBasedCttz()
581 InputBits - Log2_32(InputBits) - 1 != ShiftConst) in tryToRecognizeTableBasedCttz()
584 if (!isCTTZTable(*ConstData, MulConst, ShiftConst, InputBits)) in tryToRecognizeTableBasedCttz()
[all …]