/art/compiler/dex/ |
D | local_value_numbering_test.cc | 165 mir->optimization_flags = 0u; in DoPrepareMIRs() 259 EXPECT_EQ(mirs_[0].optimization_flags, 0u); in TEST_F() 260 EXPECT_EQ(mirs_[1].optimization_flags, MIR_IGNORE_NULL_CHECK); in TEST_F() 261 EXPECT_EQ(mirs_[2].optimization_flags, 0u); in TEST_F() 262 EXPECT_EQ(mirs_[3].optimization_flags, MIR_IGNORE_NULL_CHECK); in TEST_F() 286 mirs_[i].optimization_flags) << i; in TEST_F() 308 mirs_[i].optimization_flags) << i; in TEST_F() 330 mirs_[i].optimization_flags) << i; in TEST_F() 355 mirs_[i].optimization_flags) << i; in TEST_F() 382 mirs_[i].optimization_flags) << i; in TEST_F() [all …]
|
D | mir_optimization_test.cc | 311 mir->optimization_flags = 0u; in DoPrepareMIRs() 530 (mirs_[i].optimization_flags & MIR_CLASS_IS_INITIALIZED) != 0) << i; in TEST_F() 532 (mirs_[i].optimization_flags & MIR_CLASS_IS_IN_DEX_CACHE) != 0) << i; in TEST_F() 571 (mirs_[i].optimization_flags & MIR_CLASS_IS_INITIALIZED) != 0) << i; in TEST_F() 573 (mirs_[i].optimization_flags & MIR_CLASS_IS_IN_DEX_CACHE) != 0) << i; in TEST_F() 637 (mirs_[i].optimization_flags & MIR_CLASS_IS_INITIALIZED) != 0) << i; in TEST_F() 639 (mirs_[i].optimization_flags & MIR_CLASS_IS_IN_DEX_CACHE) != 0) << i; in TEST_F() 698 (mirs_[i].optimization_flags & MIR_CLASS_IS_INITIALIZED) != 0) << i; in TEST_F() 700 (mirs_[i].optimization_flags & MIR_CLASS_IS_IN_DEX_CACHE) != 0) << i; in TEST_F() 729 (mirs_[i].optimization_flags & MIR_CLASS_IS_INITIALIZED) != 0) << i; in TEST_F() [all …]
|
D | gvn_dead_code_elimination.cc | 1120 uses_all_vregs = (mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0; in RecordMIR() 1150 uses_all_vregs = (mir->optimization_flags & MIR_IGNORE_CHECK_CAST) == 0; in RecordMIR() 1155 if ((mir->optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) { in RecordMIR() 1316 if ((mir->optimization_flags & MIR_IGNORE_DIV_ZERO_CHECK) == 0) { in RecordMIR() 1333 if ((mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0) { in RecordMIR() 1346 if ((mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0 || in RecordMIR() 1347 (mir->optimization_flags & MIR_IGNORE_RANGE_CHECK) == 0) { in RecordMIR() 1361 if ((mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0 || in RecordMIR() 1362 (mir->optimization_flags & MIR_IGNORE_RANGE_CHECK) == 0) { in RecordMIR() 1375 if ((mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0 || in RecordMIR() [all …]
|
D | mir_optimization.cc | 741 if (mir->optimization_flags & MIR_IGNORE_NULL_CHECK) { in CountChecks() 747 if (mir->optimization_flags & MIR_IGNORE_RANGE_CHECK) { in CountChecks() 937 mir->optimization_flags &= ~MIR_MARK; in EliminateNullChecksGate() 1029 mir->optimization_flags |= MIR_MARK; in EliminateNullChecks() 1032 mir->optimization_flags &= ~MIR_MARK; in EliminateNullChecks() 1120 (mir->optimization_flags & MIR_MARK) >> kMarkToIgnoreNullCheckShift; in EliminateNullChecksEnd() 1121 mir->optimization_flags |= mirMarkAdjustedToIgnoreNullCheck; in EliminateNullChecksEnd() 1305 mir->optimization_flags |= MIR_CLASS_IS_IN_DEX_CACHE; in EliminateClassInitChecks() 1308 mir->optimization_flags &= ~MIR_CLASS_IS_IN_DEX_CACHE; in EliminateClassInitChecks() 1316 mir->optimization_flags |= MIR_CLASS_IS_INITIALIZED; in EliminateClassInitChecks() [all …]
|
D | mir_graph.cc | 1008 … (mir->optimization_flags & MIR_IGNORE_RANGE_CHECK) != 0 ? " no_rangecheck" : " ", in DumpCFG() 1009 … (mir->optimization_flags & MIR_IGNORE_NULL_CHECK) != 0 ? " no_nullcheck" : " ", in DumpCFG() 1010 … (mir->optimization_flags & MIR_IGNORE_SUSPEND_CHECK) != 0 ? " no_suspendcheck" : " ", in DumpCFG() 1011 … (mir->optimization_flags & MIR_STORE_NON_TEMPORAL) != 0 ? " non_temporal" : " ", in DumpCFG() 1012 (mir->optimization_flags & MIR_CALLEE) != 0 ? " inlined" : " ", in DumpCFG() 1013 … (mir->optimization_flags & MIR_CLASS_IS_INITIALIZED) != 0 ? " cl_inited" : " ", in DumpCFG() 1014 … (mir->optimization_flags & MIR_CLASS_IS_IN_DEX_CACHE) != 0 ? " cl_in_cache" : " ", in DumpCFG() 1015 … (mir->optimization_flags & MIR_IGNORE_DIV_ZERO_CHECK) != 0 ? " no_div_check" : " ", in DumpCFG() 1755 info->opt_flags = mir->optimization_flags; in NewMemCallInfo() 2322 mir->optimization_flags &= (~reset_flags); in ResetOptimizationFlags()
|
D | global_value_numbering_test.cc | 266 mir->optimization_flags = 0u; in DoPrepareMIRs() 1857 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F() 1900 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F() 1944 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F() 1982 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F() 1984 (mirs_[i].optimization_flags & MIR_IGNORE_RANGE_CHECK) != 0) << i; in TEST_F() 2218 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F() 2220 (mirs_[i].optimization_flags & MIR_IGNORE_RANGE_CHECK) != 0) << i; in TEST_F() 2333 EXPECT_EQ(expected, mirs_[i].optimization_flags) << i; in TEST_F() 2373 EXPECT_EQ(expected, mirs_[i].optimization_flags) << i; in TEST_F() [all …]
|
D | local_value_numbering.cc | 1076 mir->optimization_flags |= MIR_IGNORE_NULL_CHECK; in HandleNullCheck() 1091 mir->optimization_flags |= MIR_IGNORE_RANGE_CHECK; in HandleRangeCheck() 1106 mir->optimization_flags |= MIR_IGNORE_DIV_ZERO_CHECK; in HandleDivZeroCheck() 1121 mir->optimization_flags |= MIR_STORE_NON_NULL_VALUE; in HandlePutObject() 1405 (mir->optimization_flags & MIR_CLASS_IS_INITIALIZED) == 0)) { in HandleSGet() 1442 (mir->optimization_flags & MIR_CLASS_IS_INITIALIZED) == 0) { in HandleSPut() 1547 if ((mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0 && in GetValueNumber() 1625 mir->optimization_flags |= MIR_IGNORE_CHECK_CAST; in GetValueNumber()
|
D | mir_graph.h | 333 uint16_t optimization_flags; variable 356 explicit MIR() : offset(0), optimization_flags(0), m_unit_index(0), bb(NullBasicBlockId), in MIR()
|
D | gvn_dead_code_elimination_test.cc | 296 mir->optimization_flags = 0u; in DoPrepareMIRs() 453 EXPECT_EQ(MIR_IGNORE_NULL_CHECK, mirs_[idx].optimization_flags & MIR_IGNORE_NULL_CHECK) in ExpectNoNullCheck() 458 if ((mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) { in ExpectNoNullCheck() 1118 EXPECT_EQ(MIR_IGNORE_NULL_CHECK, mirs_[4].optimization_flags & MIR_IGNORE_NULL_CHECK); in TEST_F() 1119 EXPECT_EQ(MIR_IGNORE_NULL_CHECK, mirs_[5].optimization_flags & MIR_IGNORE_NULL_CHECK); in TEST_F()
|
D | type_inference.cc | 473 (mir->optimization_flags & MIR_CALLEE) != 0); in Apply() 753 if ((mir->optimization_flags & MIR_CALLEE) != 0) { in InitializeSRegs()
|
D | type_inference_test.cc | 434 mir->optimization_flags = 0u; in DoPrepareMIRs()
|
/art/compiler/dex/quick/ |
D | mir_to_lir.cc | 481 const int opt_flags = mir->optimization_flags; in CompileDalvikInstruction() 1146 GenSuspendTest(mir->optimization_flags); in HandleExtendedMethodMIR() 1152 GenSuspendTest(mir->optimization_flags); in HandleExtendedMethodMIR() 1158 GenSuspendTest(mir->optimization_flags); in HandleExtendedMethodMIR() 1164 GenSuspendTest(mir->optimization_flags); in HandleExtendedMethodMIR() 1170 GenSuspendTest(mir->optimization_flags); in HandleExtendedMethodMIR() 1183 GenExplicitNullCheck(rl_obj.reg, mir->optimization_flags); in HandleExtendedMethodMIR()
|
D | gen_common.cc | 701 r_base = GenGetOtherTypeForSgetSput(field_info, mir->optimization_flags); in GenSput() 703 (mir->optimization_flags & MIR_CLASS_IS_INITIALIZED) == 0) { in GenSput() 727 MarkGCCard(mir->optimization_flags, rl_src.reg, r_base); in GenSput() 779 r_base = GenGetOtherTypeForSgetSput(field_info, mir->optimization_flags); in GenSget() 781 (mir->optimization_flags & MIR_CLASS_IS_INITIALIZED) == 0) { in GenSget()
|
D | dex_file_method_inliner.cc | 116 insn->optimization_flags = MIR_CALLEE; in AllocReplacementMIR() 686 if (is_static || (invoke->optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) { in GenInline()
|
D | ralloc_util.cc | 1145 (mir->optimization_flags & MIR_IGNORE_CHECK_CAST) != 0) { in AnalyzeMIR()
|
/art/compiler/dex/quick/x86/ |
D | target_x86.cc | 2066 … GenArithOpLong(Instruction::ADD_LONG_2ADDR, rl_dest, temp_loc, temp_loc, mir->optimization_flags); in GenAddReduceVector()
|