Lines Matching defs:one
808 auto one = b.Int32(1);
820 EXPECT_EQ(instcombie.VisitGate(b.Int32Mod(x, one)), zero);
990 auto one = b.Int64(1);
994 EXPECT_EQ(instcombie.VisitGate(b.Int64And(Icmp, one)), Icmp); // CMP & 1 => CMP
995 EXPECT_EQ(instcombie.VisitGate(b.Int64And(two, one)), zero); // K & K => K
998 auto result = instcombie.VisitGate(b.Int64And(b.Int64And(x, one), two));
1011 auto one = b.Int32(1);
1015 EXPECT_EQ(instcombie.VisitGate(b.Int32And(Icmp, one)), Icmp); // CMP & 1 => CMP
1016 EXPECT_EQ(instcombie.VisitGate(b.Int32And(two, one)), zero); // K & K => K
1019 auto result = instcombie.VisitGate(b.Int32And(b.Int32And(x, one), two));
1044 auto one = b.Int64(1);
1049 EXPECT_EQ(instcombie.VisitGate(b.Int64Or(two, one)), three); // 2 | 1 => 3
1065 auto one = b.Int32(1);
1070 EXPECT_EQ(instcombie.VisitGate(b.Int32Or(two, one)), three); // 2 | 1 => 3
1098 auto one = b.Int64(1);
1102 EXPECT_EQ(instcombie.VisitGate(b.Int64Xor(two, one)), three); // 2 | 1 => 3
1112 auto one = b.Int32(1);
1116 EXPECT_EQ(instcombie.VisitGate(b.Int32Xor(two, one)), three); // 2 | 1 => 3