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.cpp191 unsigned TrailingOnes = llvm::countr_one((uint64_t)Val); in extractRotateInfo() local
192 if (TrailingOnes > 0 && TrailingOnes < 64 && in extractRotateInfo()
193 (LeadingOnes + TrailingOnes) > (64 - 12)) in extractRotateInfo()
194 return 64 - TrailingOnes; in extractRotateInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp1262 unsigned TrailingOnes = llvm::countr_one(Mask); in Select() local
1263 if (ShAmt >= TrailingOnes) in Select()
1266 if (TrailingOnes == 32) { in Select()
1279 if (HasBitTest && ShAmt + 1 == TrailingOnes) { in Select()
1287 const unsigned Msb = TrailingOnes - 1; in Select()
1292 unsigned LShAmt = Subtarget->getXLen() - TrailingOnes; in Select()
H A DRISCVInstrInfo.td579 uint64_t TrailingOnes = llvm::countr_one(N->getZExtValue());
580 return CurDAG->getTargetConstant(XLen - TrailingOnes, SDLoc(N),