Home
last modified time | relevance | path

Searched refs:MIR_IGNORE_NULL_CHECK (Results 1 – 17 of 17) sorted by relevance

/art/compiler/dex/
Dlocal_value_numbering_test.cc260 EXPECT_EQ(mirs_[1].optimization_flags, MIR_IGNORE_NULL_CHECK); in TEST_F()
262 EXPECT_EQ(mirs_[3].optimization_flags, MIR_IGNORE_NULL_CHECK); in TEST_F()
285 EXPECT_EQ((i == 2u) ? MIR_IGNORE_NULL_CHECK : 0, in TEST_F()
307 EXPECT_EQ((i == 1u || i == 3u) ? MIR_IGNORE_NULL_CHECK : 0, in TEST_F()
329 EXPECT_EQ((i == 2u || i == 3u) ? MIR_IGNORE_NULL_CHECK : 0, in TEST_F()
354 EXPECT_EQ((i == 1u || i == 3u || i == 4u || i == 5u) ? MIR_IGNORE_NULL_CHECK : 0, in TEST_F()
381 EXPECT_EQ((i == 2u || i == 4u) ? MIR_IGNORE_NULL_CHECK : 0, in TEST_F()
427 EXPECT_EQ(mirs_[1].optimization_flags, MIR_IGNORE_NULL_CHECK); in TEST_F()
429 EXPECT_EQ(mirs_[3].optimization_flags, MIR_IGNORE_NULL_CHECK); in TEST_F()
432 EXPECT_EQ((i == 1u || i == 3u || i >=5u) ? MIR_IGNORE_NULL_CHECK : 0, in TEST_F()
[all …]
Dgvn_dead_code_elimination.cc1120 uses_all_vregs = (mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0; in RecordMIR()
1155 if ((mir->optimization_flags & MIR_IGNORE_NULL_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()
1361 if ((mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0 || in RecordMIR()
1375 if ((mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0 || in RecordMIR()
1394 if ((mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0 || in RecordMIR()
Dmir_optimization_test.cc862 mirs_[5u].optimization_flags |= MIR_IGNORE_NULL_CHECK; in TEST_F()
868 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F()
916 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F()
946 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F()
978 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F()
Dgvn_dead_code_elimination_test.cc453 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()
Dglobal_value_numbering_test.cc1857 (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()
2218 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F()
Dmir_optimization.cc741 if (mir->optimization_flags & MIR_IGNORE_NULL_CHECK) { in CountChecks()
1826 if (((df_attributes & DF_HAS_NULL_CHKS) != 0) && ((opt_flags & MIR_IGNORE_NULL_CHECK) == 0)) { in CanThrow()
1833 DCHECK_NE(opt_flags & MIR_IGNORE_NULL_CHECK, 0); in CanThrow()
1848 DCHECK_NE(opt_flags & MIR_IGNORE_NULL_CHECK, 0); in CanThrow()
Dmir_graph.h157 #define MIR_IGNORE_NULL_CHECK (1 << kMIRIgnoreNullCheck) macro
Dlocal_value_numbering.cc1076 mir->optimization_flags |= MIR_IGNORE_NULL_CHECK; in HandleNullCheck()
1547 if ((mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0 && in GetValueNumber()
Dmir_graph.cc1009 … (mir->optimization_flags & MIR_IGNORE_NULL_CHECK) != 0 ? " no_nullcheck" : " ", in DumpCFG()
/art/compiler/dex/quick/arm64/
Dcall_arm64.cc166 if ((opt_flags & MIR_IGNORE_NULL_CHECK) && !(cu_->disable_opt & (1 << kNullCheckElimination))) { in GenMonitorEnter()
219 if ((opt_flags & MIR_IGNORE_NULL_CHECK) && !(cu_->disable_opt & (1 << kNullCheckElimination))) { in GenMonitorExit()
/art/compiler/dex/quick/arm/
Dcall_arm.cc155 if ((opt_flags & MIR_IGNORE_NULL_CHECK) && !(cu_->disable_opt & (1 << kNullCheckElimination))) { in GenMonitorEnter()
237 if ((opt_flags & MIR_IGNORE_NULL_CHECK) && !(cu_->disable_opt & (1 << kNullCheckElimination))) { in GenMonitorExit()
/art/compiler/dex/quick/
Dgen_common.cc295 if ((opt_flags & MIR_IGNORE_NULL_CHECK) == 0) { in GenNullCheck()
303 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenExplicitNullCheck()
311 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in MarkPossibleNullPointerException()
321 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in MarkPossibleNullPointerExceptionAfter()
336 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in ForceImplicitNullCheck()
1012 (opt_flags & MIR_IGNORE_NULL_CHECK)); in GenArrayObjPut()
Dgen_invoke.cc679 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenImplicitNullCheck()
1022 info->opt_flags |= MIR_IGNORE_NULL_CHECK; // Record that we've already null checked. in GenInlinedCharAt()
1373 info->opt_flags |= MIR_IGNORE_NULL_CHECK; // Record that we've null checked. in GenInlinedIndexOf()
1408 info->opt_flags |= MIR_IGNORE_NULL_CHECK; // Record that we've null checked. in GenInlinedStringCompareTo()
Ddex_file_method_inliner.cc686 if (is_static || (invoke->optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) { in GenInline()
/art/compiler/dex/quick/x86/
Dcall_x86.cc331 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenImplicitNullCheck()
Dtarget_x86.cc1288 info->opt_flags |= MIR_IGNORE_NULL_CHECK; // Record that we've null checked. in GenInlinedIndexOf()
2453 info->opt_flags |= MIR_IGNORE_NULL_CHECK; // Record that we've already null checked. in GenInlinedCharAt()
/art/compiler/dex/quick/mips/
Dutility_mips.cc837 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in ForceImplicitNullCheck()