Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp158 unsigned TrailingOnes = llvm::countr_one((uint64_t)Val); in extractRotateInfo() local
159 if (TrailingOnes > 0 && TrailingOnes < 64 && in extractRotateInfo()
160 (LeadingOnes + TrailingOnes) > (64 - 12)) in extractRotateInfo()
161 return 64 - TrailingOnes; in extractRotateInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp1041 unsigned TrailingOnes = llvm::countr_one(Mask); in Select() local
1042 if (ShAmt >= TrailingOnes) in Select()
1045 if (TrailingOnes == 32) { in Select()
1058 if (HasBitTest && ShAmt + 1 == TrailingOnes) { in Select()
1066 unsigned LShAmt = Subtarget->getXLen() - TrailingOnes; in Select()
H A DRISCVInstrInfo.td458 uint64_t TrailingOnes = llvm::countr_one(N->getZExtValue());
459 return CurDAG->getTargetConstant(XLen - TrailingOnes, SDLoc(N),