Lines Matching defs:GetRem
275 Value GetRem(HInductionVarAnalysis::InductionInfo* info1,
277 return range_.GetRem(info1, info2);
578 TEST_F(InductionVarRangeTest, GetRem) {
579 ExpectEqual(Value(0), GetRem(CreateConst(1), CreateConst(1)));
580 ExpectEqual(Value(2), GetRem(CreateConst(2), CreateConst(5)));
581 ExpectEqual(Value(1), GetRem(CreateConst(11), CreateConst(5)));
582 ExpectEqual(Value(-2), GetRem(CreateConst(-2), CreateConst(5)));
583 ExpectEqual(Value(-1), GetRem(CreateConst(-11), CreateConst(5)));
584 ExpectEqual(Value(2), GetRem(CreateConst(2), CreateConst(-5)));
585 ExpectEqual(Value(1), GetRem(CreateConst(11), CreateConst(-5)));
586 ExpectEqual(Value(-2), GetRem(CreateConst(-2), CreateConst(-5)));
587 ExpectEqual(Value(-1), GetRem(CreateConst(-11), CreateConst(-5)));
588 ExpectEqual(Value(), GetRem(CreateConst(1), CreateConst(0)));