• Home
  • Raw
  • Download

Lines Matching full:zero

165         auto zero = builder.Int32(0);  in HWTEST_F_L0()  local
166 auto result = instcombie.VisitGate(builder.Int32Add(builder.Int32Sub(zero, x), y)); in HWTEST_F_L0()
176 auto zero = builder.Int32(0); in HWTEST_F_L0() local
177 auto result = instcombie.VisitGate(builder.Int32Add(y, builder.Int32Sub(zero, x))); in HWTEST_F_L0()
725 auto zero = b.Double(0); in HWTEST_F_L0() local
735 EXPECT_EQ(instcombie.VisitGate(b.DoubleMod(x, zero)), nan); in HWTEST_F_L0()
807 auto zero = b.Int32(0); in HWTEST_F_L0() local
818 EXPECT_EQ(instcombie.VisitGate(b.Int32Mod(x, zero)), zero); in HWTEST_F_L0()
819 EXPECT_EQ(instcombie.VisitGate(b.Int32Mod(zero, x)), zero); in HWTEST_F_L0()
820 EXPECT_EQ(instcombie.VisitGate(b.Int32Mod(x, one)), zero); in HWTEST_F_L0()
821 EXPECT_EQ(instcombie.VisitGate(b.Int32Mod(x, neg_one)), zero); in HWTEST_F_L0()
822 EXPECT_EQ(instcombie.VisitGate(b.Int32Mod(x, x)), zero); in HWTEST_F_L0()
987 auto zero = b.Int64(0); in HWTEST_F_L0() local
989 auto Icmp = b.Equal(x, zero); in HWTEST_F_L0()
992 EXPECT_EQ(instcombie.VisitGate(b.Int64And(x, zero)), zero); // x & 0 => 0 in HWTEST_F_L0()
995 EXPECT_EQ(instcombie.VisitGate(b.Int64And(two, one)), zero); // K & K => K in HWTEST_F_L0()
1003 EXPECT_EQ(m.Right().Gate(), zero); in HWTEST_F_L0()
1008 auto zero = b.Int32(0); in HWTEST_F_L0() local
1010 auto Icmp = b.Equal(x, zero); in HWTEST_F_L0()
1013 EXPECT_EQ(instcombie.VisitGate(b.Int32And(x, zero)), zero); // x & 0 => 0 in HWTEST_F_L0()
1016 EXPECT_EQ(instcombie.VisitGate(b.Int32And(two, one)), zero); // K & K => K in HWTEST_F_L0()
1024 EXPECT_EQ(m.Right().Gate(), zero); in HWTEST_F_L0()
1042 auto zero = b.Int64(0); in HWTEST_F_L0() local
1047 EXPECT_EQ(instcombie.VisitGate(b.Int64Or(x, zero)), x); // x | 0 => x in HWTEST_F_L0()
1051 // (x & K1) | K2 => x | K2 if K2 has ones for every zero bit in K1. in HWTEST_F_L0()
1063 auto zero = b.Int32(0); in HWTEST_F_L0() local
1068 EXPECT_EQ(instcombie.VisitGate(b.Int32Or(x, zero)), x); // x | 0 => x in HWTEST_F_L0()
1072 // (x & K1) | K2 => x | K2 if K2 has ones for every zero bit in K1. in HWTEST_F_L0()
1096 auto zero = b.Int64(0); in HWTEST_F_L0() local
1101 EXPECT_EQ(instcombie.VisitGate(b.Int64Xor(x, zero)), x); // x ^ 0 => x in HWTEST_F_L0()
1103 EXPECT_EQ(instcombie.VisitGate(b.Int64Xor(x, x)), zero); // x ^ x => 0 in HWTEST_F_L0()
1110 auto zero = b.Int32(0); in HWTEST_F_L0() local
1115 EXPECT_EQ(instcombie.VisitGate(b.Int32Xor(x, zero)), x); // x ^ 0 => x in HWTEST_F_L0()
1117 EXPECT_EQ(instcombie.VisitGate(b.Int32Xor(x, x)), zero); // x ^ x => 0 in HWTEST_F_L0()
1138 auto zero = b.Int64(0); in HWTEST_F_L0() local
1140 EXPECT_EQ(instcombie.VisitGate(b.Int64LSR(x, zero)), x); // x >>> 0 => x in HWTEST_F_L0()
1149 auto zero = b.Int32(0); in HWTEST_F_L0() local
1151 EXPECT_EQ(instcombie.VisitGate(b.Int32LSR(x, zero)), x); // x >>> 0 => x in HWTEST_F_L0()
1157 … EXPECT_EQ(instcombie.VisitGate(b.Int32LSR(b.Int32And(x, b.Int32(1023)), b.Int32(10))), zero); in HWTEST_F_L0()
1175 auto zero = b.Int64(0); in HWTEST_F_L0() local
1178 EXPECT_EQ(instcombie.VisitGate(b.Int64ASR(x, zero)), x); in HWTEST_F_L0()
1186 auto zero = b.Int32(0); in HWTEST_F_L0() local
1189 EXPECT_EQ(instcombie.VisitGate(b.Int32ASR(x, zero)), x); in HWTEST_F_L0()
1211 auto zero = b.Int64(0); in HWTEST_F_L0() local
1214 EXPECT_EQ(instcombie.VisitGate(b.Int64LSL(x, zero)), x); in HWTEST_F_L0()
1220 auto zero = b.Int32(0); in HWTEST_F_L0() local
1223 EXPECT_EQ(instcombie.VisitGate(b.Int32LSL(x, zero)), x); in HWTEST_F_L0()
1264 auto zero = b.Int64(0); in HWTEST_F_L0() local
1265 … auto result = instcombie.VisitGate(b.Equal(b.Int64And(b.Int64Or(x, constant1), constant2), zero)); in HWTEST_F_L0()