Searched refs:constant1 (Results 1 - 3 of 3) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | instruction_combine.cpp | 189 // Match {EQ ((x or constant1) , constant2)} {((constant1 | constant2) != constant2)} => false in VisitICMP() 201 uint64_t constant1 = static_cast<uint64_t>(cmpLeft.Right().ResolvedValue()); in VisitICMP() local 203 bool flag = ((constant1 | constant2) != constant2); in VisitICMP() 212 // Match {EQ((X or constant1) & constant2, 0)} { (constan2 !=0 && constant1 & constant2 !=0) }=> false in VisitICMP() 219 auto constant1 = orOp.Right().HasResolvedValue() ? orOp.Right().ResolvedValue() : 0; in VisitICMP() local 220 bool flag = (constant1 & constant2) != 0; in VisitICMP()
|
/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
H A D | instruction_combine_test.cpp | 1242 // Match {EQ ((x or constant1) , constant2)} {((constant1 || constant2) != constant2)} => false in HWTEST_F_L0() 1245 auto constant1 = b.Int64(5); in HWTEST_F_L0() local 1247 auto result = instcombie.VisitGate(b.Equal(b.Int64Or(x, constant1), constant2)); in HWTEST_F_L0() 1254 auto constant1 = b.Int64(5); in HWTEST_F_L0() local 1256 auto result = instcombie.VisitGate(b.Equal(b.Int64ToTaggedPtr(b.Int64Or(x, constant1)), constant2)); in HWTEST_F_L0() 1259 // Match {EQ((X or constant1) & constant2, 0)} { (constan2 !=0 && constant1 & constant2 !=0) }=> false in HWTEST_F_L0() 1262 auto constant1 = b.Int64(15); in HWTEST_F_L0() local 1265 auto result = instcombie.VisitGate(b.Equal(b.Int64And(b.Int64Or(x, constant1), constant in HWTEST_F_L0() [all...] |
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | peepholes.cpp | 2493 auto constant1 = phiInput1->CastToConstant()->GetRawValue(); in IsBoolPhiInverted() local 2494 if (constant0 == constant1) { in IsBoolPhiInverted() 2497 // Here constant0 and constant1 are 0 and 1 in some order in IsBoolPhiInverted()
|
Completed in 9 milliseconds