Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp161 unsigned TrailingOnes = llvm::countr_one((uint64_t)Val); in extractRotateInfo() local
162 if (TrailingOnes > 0 && TrailingOnes < 64 && in extractRotateInfo()
163 (LeadingOnes + TrailingOnes) > (64 - 12)) in extractRotateInfo()
164 return 64 - TrailingOnes; in extractRotateInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp1140 unsigned TrailingOnes = llvm::countr_one(Mask); in Select() local
1141 if (ShAmt >= TrailingOnes) in Select()
1144 if (TrailingOnes == 32) { in Select()
1157 if (HasBitTest && ShAmt + 1 == TrailingOnes) { in Select()
1165 unsigned LShAmt = Subtarget->getXLen() - TrailingOnes; in Select()
H A DRISCVInstrInfo.td464 uint64_t TrailingOnes = llvm::countr_one(N->getZExtValue());
465 return CurDAG->getTargetConstant(XLen - TrailingOnes, SDLoc(N),