Lines Matching refs:ME
82 static bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME);
88 unsigned &SH, unsigned &MB, unsigned &ME);
310 bool PPCDAGToDAGISel::isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { in isRunOfOnes() argument
315 ME = CountLeadingZeros_32((Val - 1) ^ Val); in isRunOfOnes()
321 ME = CountLeadingZeros_32(Val) - 1; in isRunOfOnes()
333 unsigned &MB, unsigned &ME) { in isRotateAndMask() argument
368 return isRunOfOnes(Mask, MB, ME); in isRotateAndMask()
415 unsigned MB, ME; in SelectBitfieldInsert() local
416 if (InsertMask && isRunOfOnes(InsertMask, MB, ME)) { in SelectBitfieldInsert()
437 getI32Imm(ME) }; in SelectBitfieldInsert()
930 unsigned Imm, Imm2, SH, MB, ME; in Select() local
935 isRotateAndMask(N->getOperand(0).getNode(), Imm, false, SH, MB, ME)) { in Select()
937 SDValue Ops[] = { Val, getI32Imm(SH), getI32Imm(MB), getI32Imm(ME) }; in Select()
943 isRunOfOnes(Imm, MB, ME) && in Select()
946 SDValue Ops[] = { Val, getI32Imm(0), getI32Imm(MB), getI32Imm(ME) }; in Select()
959 unsigned MB, ME; in Select() local
961 if (isRunOfOnes(Imm, MB, ME)) { in Select()
964 getI32Imm(0), getI32Imm(MB),getI32Imm(ME) }; in Select()
980 unsigned Imm, SH, MB, ME; in Select() local
982 isRotateAndMask(N, Imm, true, SH, MB, ME)) { in Select()
984 getI32Imm(SH), getI32Imm(MB), getI32Imm(ME) }; in Select()
992 unsigned Imm, SH, MB, ME; in Select() local
994 isRotateAndMask(N, Imm, true, SH, MB, ME)) { in Select()
996 getI32Imm(SH), getI32Imm(MB), getI32Imm(ME) }; in Select()