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.cpp462 uint64_t Shift, uint64_t InputBits) { in isCTTZTable() argument
464 if (Length < InputBits || Length > InputBits * 2) in isCTTZTable()
467 APInt Mask = APInt::getBitsSetFrom(InputBits, Shift); in isCTTZTable()
472 if (Element >= InputBits) in isCTTZTable()
483 return Matched == InputBits; in isCTTZTable()
583 unsigned InputBits = X1->getType()->getScalarSizeInBits(); in tryToRecognizeTableBasedCttz() local
584 if (InputBits != 32 && InputBits != 64) in tryToRecognizeTableBasedCttz()
588 if (InputBits - Log2_32(InputBits) != ShiftConst && in tryToRecognizeTableBasedCttz()
589 InputBits - Log2_32(InputBits) - 1 != ShiftConst) in tryToRecognizeTableBasedCttz()
592 if (!isCTTZTable(*ConstData, MulConst, ShiftConst, InputBits)) in tryToRecognizeTableBasedCttz()
[all …]