Lines Matching refs:MB
93 static bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME);
99 unsigned &SH, unsigned &MB, unsigned &ME);
332 bool PPCDAGToDAGISel::isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) {
335 MB = CountLeadingZeros_32(Val);
345 MB = CountLeadingZeros_32((Val - 1) ^ Val) + 1;
355 unsigned &MB, unsigned &ME) {
390 return isRunOfOnes(Mask, MB, ME);
437 unsigned MB, ME;
438 if (InsertMask && isRunOfOnes(InsertMask, MB, ME)) {
458 SDValue Ops[] = { Op0, Op1, getI32Imm(SH), getI32Imm(MB),
1124 unsigned Imm, Imm2, SH, MB, ME;
1130 isRotateAndMask(N->getOperand(0).getNode(), Imm, false, SH, MB, ME)) {
1132 SDValue Ops[] = { Val, getI32Imm(SH), getI32Imm(MB), getI32Imm(ME) };
1138 isRunOfOnes(Imm, MB, ME) &&
1141 SDValue Ops[] = { Val, getI32Imm(0), getI32Imm(MB), getI32Imm(ME) };
1148 MB = 64 - CountTrailingOnes_64(Imm64);
1149 SDValue Ops[] = { Val, getI32Imm(0), getI32Imm(MB) };
1162 unsigned MB, ME;
1164 if (isRunOfOnes(Imm, MB, ME)) {
1167 getI32Imm(0), getI32Imm(MB),getI32Imm(ME) };
1183 unsigned Imm, SH, MB, ME;
1185 isRotateAndMask(N, Imm, true, SH, MB, ME)) {
1187 getI32Imm(SH), getI32Imm(MB), getI32Imm(ME) };
1195 unsigned Imm, SH, MB, ME;
1197 isRotateAndMask(N, Imm, true, SH, MB, ME)) {
1199 getI32Imm(SH), getI32Imm(MB), getI32Imm(ME) };