Searched refs:MIR_IGNORE_NULL_CHECK (Results 1 – 13 of 13) sorted by relevance
/art/compiler/dex/ |
D | local_value_numbering_test.cc | 232 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 …]
|
D | mir_optimization.cc | 585 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()
|
D | global_value_numbering_test.cc | 1690 (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()
|
D | mir_graph.h | 187 #define MIR_IGNORE_NULL_CHECK (1 << kMIRIgnoreNullCheck) macro
|
D | local_value_numbering.cc | 982 mir->optimization_flags |= MIR_IGNORE_NULL_CHECK; in HandleNullCheck() 1393 gvn_->CanModify() && (mir->optimization_flags & MIR_IGNORE_NULL_CHECK) == 0) { in GetValueNumber()
|
D | mir_graph.cc | 942 … (mir->optimization_flags & MIR_IGNORE_NULL_CHECK) != 0 ? " no_nullcheck" : " ", in DumpCFG()
|
/art/compiler/dex/quick/arm64/ |
D | call_arm64.cc | 199 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/ |
D | call_arm.cc | 187 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/ |
D | gen_invoke.cc | 864 (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()
|
D | gen_common.cc | 164 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/ |
D | call_x86.cc | 324 if (!(cu_->disable_opt & (1 << kNullCheckElimination)) && (opt_flags & MIR_IGNORE_NULL_CHECK)) { in GenImplicitNullCheck()
|
D | target_x86.cc | 1288 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/ |
D | gbc_expander.cc | 2581 bool ignore_null_check = ((opt_flags & MIR_IGNORE_NULL_CHECK) != 0); in EmitGuard_NullPointerException()
|