Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchMatInt.cpp95 uint64_t Msb = 32; in generateInstSeq() local
96 uint64_t HighMask = ~((1ULL << (Msb + 1)) - 1); in generateInstSeq()
97 for (; Msb < 64; ++Msb, HighMask = HighMask << 1) { in generateInstSeq()
98 for (uint64_t Lsb = Msb; Lsb > 0; --Lsb) { in generateInstSeq()
101 uint64_t LsbToZero = TmpVal1 & ((1ULL << (Msb - Lsb + 1)) - 1); in generateInstSeq()
107 Insts.push_back(Inst(LoongArch::BSTRINS_D, Msb << 32 | Lsb)); in generateInstSeq()
111 LsbToZero = TmpVal2 & ((1ULL << (Msb - Lsb + 1)) - 1); in generateInstSeq()
117 Insts.push_back(Inst(LoongArch::BSTRINS_D, Msb << 32 | Lsb)); in generateInstSeq()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp617 auto BitfieldExtract = [&](SDValue N0, unsigned Msb, unsigned Lsb, in trySignedBitfieldExtract()
623 Msb = Msb - Lsb + 1; in trySignedBitfieldExtract()
626 CurDAG->getTargetConstant(Msb, DL, VT), in trySignedBitfieldExtract()
648 const unsigned Msb = MsbPlusOne - 1; in trySignedBitfieldExtract() local
651 SDNode *Sbe = BitfieldExtract(N0, Msb, Lsb, DL, VT); in trySignedBitfieldExtract()
666 const unsigned Msb = ExtSize - 1; in trySignedBitfieldExtract() local
669 const unsigned Lsb = RightShAmt > Msb ? Msb : RightShAmt; in trySignedBitfieldExtract()
671 SDNode *Sbe = BitfieldExtract(N0, Msb, Lsb, DL, VT); in trySignedBitfieldExtract()
735 auto BitfieldInsert = [&](SDValue N0, unsigned Msb, unsigned Lsb, in trySignedBitfieldInsertInSign()
739 if (Lsb == Msb) in trySignedBitfieldInsertInSign()
[all …]
H A DRISCVISelDAGToDAG.h84 SDValue X, unsigned Msb, unsigned Lsb);
86 SDValue X, unsigned Msb, unsigned Lsb);
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1670 ConstantInt *Msb = dyn_cast<ConstantInt>(I->getOperand(1)); in setupPreSimplifier() local
1671 if (!Msb || !Msb->getValue().isSignMask()) in setupPreSimplifier()
1675 return IRBuilder<>(Ctx).CreateXor(I->getOperand(0), Msb); in setupPreSimplifier()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/AsmParser/
H A DLoongArchAsmParser.cpp1604 const signed Msb = in checkTargetMatchPredicate() local
1612 if (Msb < Lsb) in checkTargetMatchPredicate()