Home
last modified time | relevance | path

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

/art/compiler/dex/
Dlocal_value_numbering_test.cc232 EXPECT_EQ(mirs_[1].optimization_flags, MIR_IGNORE_NULL_CHECK); in TEST_F()
234 EXPECT_EQ(mirs_[3].optimization_flags, MIR_IGNORE_NULL_CHECK); in TEST_F()
257 EXPECT_EQ((i == 2u) ? MIR_IGNORE_NULL_CHECK : 0, in TEST_F()
279 EXPECT_EQ((i == 1u || i == 3u) ? MIR_IGNORE_NULL_CHECK : 0, in TEST_F()
301 EXPECT_EQ((i == 2u || i == 3u) ? MIR_IGNORE_NULL_CHECK : 0, in TEST_F()
326 EXPECT_EQ((i == 1u || i == 3u || i == 4u || i == 5u) ? MIR_IGNORE_NULL_CHECK : 0, in TEST_F()
350 EXPECT_EQ((i == 2u) ? MIR_IGNORE_NULL_CHECK : 0, in TEST_F()
393 EXPECT_EQ(mirs_[1].optimization_flags, MIR_IGNORE_NULL_CHECK); in TEST_F()
395 EXPECT_EQ(mirs_[3].optimization_flags, MIR_IGNORE_NULL_CHECK); in TEST_F()
398 EXPECT_EQ((i == 1u || i == 3u || i >=5u) ? MIR_IGNORE_NULL_CHECK : 0, in TEST_F()
[all …]
Dmir_optimization.cc585 if (mir->optimization_flags & MIR_IGNORE_NULL_CHECK) { in CountChecks()
684 can_combine &= ((throw_insn->optimization_flags & MIR_IGNORE_NULL_CHECK) != 0); in CombineBlocks()
848 mir->optimization_flags |= MIR_IGNORE_NULL_CHECK; in EliminateNullChecksAndInferTypes()
851 mir->optimization_flags &= ~MIR_IGNORE_NULL_CHECK; in EliminateNullChecksAndInferTypes()
Dglobal_value_numbering_test.cc1690 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F()
1733 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F()
1777 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F()
1815 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F()
2051 (mirs_[i].optimization_flags & MIR_IGNORE_NULL_CHECK) != 0) << i; in TEST_F()
Dmir_graph.h187 #define MIR_IGNORE_NULL_CHECK (1 << kMIRIgnoreNullCheck) macro
Dlocal_value_numbering.cc982 mir->optimization_flags |= MIR_IGNORE_NULL_CHECK; in HandleNullCheck()
1393 gvn_->CanModify() && (mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0) { in GetValueNumber()
Dmir_graph.cc942 … (mir->optimization_flags & MIR_IGNORE_NULL_CHECK) != 0 ? " no_nullcheck" : " ", in DumpCFG()
/art/compiler/dex/quick/arm64/
Dcall_arm64.cc199 if ((opt_flags & MIR_IGNORE_NULL_CHECK) && !(cu_->disable_opt & (1 << kNullCheckElimination))) { in GenMonitorEnter()
247 if ((opt_flags & MIR_IGNORE_NULL_CHECK) && !(cu_->disable_opt & (1 << kNullCheckElimination))) { in GenMonitorExit()
/art/compiler/dex/quick/arm/
Dcall_arm.cc187 if ((opt_flags & MIR_IGNORE_NULL_CHECK) && !(cu_->disable_opt & (1 << kNullCheckElimination))) { in GenMonitorEnter()
258 if ((opt_flags & MIR_IGNORE_NULL_CHECK) && !(cu_->disable_opt & (1 << kNullCheckElimination))) { in GenMonitorExit()
/art/compiler/dex/quick/
Dgen_invoke.cc864 (info->opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenDalvikArgsNoRange()
878 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenImplicitNullCheck()
1102 (info->opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenDalvikArgsRange()
1289 info->opt_flags |= MIR_IGNORE_NULL_CHECK; // Record that we've already null checked. in GenInlinedCharAt()
1524 info->opt_flags |= MIR_IGNORE_NULL_CHECK; // Record that we've null checked. in GenInlinedIndexOf()
1559 info->opt_flags |= MIR_IGNORE_NULL_CHECK; // Record that we've null checked. in GenInlinedStringCompareTo()
1703 (info->opt_flags & MIR_IGNORE_NULL_CHECK) == 0)) { in GenInvoke()
Dgen_common.cc164 if ((opt_flags & MIR_IGNORE_NULL_CHECK) == 0) { in GenNullCheck()
172 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenExplicitNullCheck()
180 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in MarkPossibleNullPointerException()
190 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in MarkPossibleNullPointerExceptionAfter()
205 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in ForceImplicitNullCheck()
813 (opt_flags & MIR_IGNORE_NULL_CHECK)); in GenArrayObjPut()
/art/compiler/dex/quick/x86/
Dcall_x86.cc324 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()
2887 info->opt_flags |= MIR_IGNORE_NULL_CHECK; // Record that we've already null checked. in GenInlinedCharAt()
/art/compiler/llvm/
Dgbc_expander.cc2581 bool ignore_null_check = ((opt_flags & MIR_IGNORE_NULL_CHECK) != 0); in EmitGuard_NullPointerException()