Home
last modified time | relevance | path

Searched refs:CanBeNull (Results 1 – 12 of 12) sorted by relevance

/art/compiler/optimizing/
Dconstant_folding.cc148 if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitEqual()
149 (instruction->GetRight()->IsNullConstant() && !instruction->GetLeft()->CanBeNull())) { in VisitEqual()
160 if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitNotEqual()
161 (instruction->GetRight()->IsNullConstant() && !instruction->GetLeft()->CanBeNull())) { in VisitNotEqual()
Dreference_type_propagation.cc405 if (!obj->CanBeNull() || obj->IsNullConstant()) { in BoundTypeForIfNotNull()
737 instr->SetCanBeNull(obj->CanBeNull() && instr->GetUpperCanBeNull()); in VisitBoundType()
784 phi->SetCanBeNull(first_input->CanBeNull()); in VisitPhi()
1008 bool existing_can_be_null = instr->CanBeNull(); in UpdateNullability()
1013 if (input->CanBeNull()) { in UpdateNullability()
1021 bound_type->SetCanBeNull(instr->InputAt(0)->CanBeNull() && bound_type->GetUpperCanBeNull()); in UpdateNullability()
1023 return existing_can_be_null != instr->CanBeNull(); in UpdateNullability()
Dinstruction_simplifier_test.cc296 EXPECT_FALSE(obj3->CanBeNull()); in TEST_F()
380 EXPECT_FALSE(obj1->CanBeNull()); in TEST_F()
381 EXPECT_FALSE(obj2->CanBeNull()); in TEST_F()
Dreference_type_propagation_test.cc293 ASSERT_TRUE(maybe_null_val->CanBeNull()); in RunVisitListTest()
354 EXPECT_TRUE(i->CanBeNull()); in RunVisitListTest()
356 EXPECT_FALSE(i->CanBeNull()); in RunVisitListTest()
Dinstruction_simplifier.cc574 if (!obj->CanBeNull()) { in VisitNullCheck()
584 if (!input->CanBeNull()) { in CanEnsureNotNullAt()
957 } else if (!target->CanBeNull()) { in VisitPredicatedInstanceFieldGet()
987 if (input->CanBeNull()) { in VisitPredicatedInstanceFieldGet()
2520 if (invoke->CanThrow() && !arg->CanBeNull()) { in SimplifyNPEOnArgN()
2721 DCHECK(!invoke->CanBeNull()); in TryReplaceStringBuilderAppend()
2722 DCHECK(!append->CanBeNull()); in TryReplaceStringBuilderAppend()
Dnodes.h2314 virtual bool CanBeNull() const { in CanBeNull() function
3071 bool CanBeNull() const override { return GetPackedFlag<kFlagCanBeNull>(); }
4512 bool CanBeNull() const override { return false; }
4930 bool CanBeNull() const override {
5093 bool CanBeNull() const override {
5111 return HInvoke::CanBeNull();
5234 bool CanBeNull() const override { return false; }
5928 bool CanBeNull() const override { return GetPackedFlag<kFlagCanBeNull>(); }
6079 bool CanBeNull() const override { return false; }
6800 bool CanBeNull() const override { return false; }
[all …]
Dinliner.cc1736 current->AsParameterValue()->SetCanBeNull(argument->CanBeNull()); in SubstituteArguments()
2065 if (declared_can_be_null && !actual_obj->CanBeNull()) { in IsReferenceTypeRefinement()
Dgraph_visualizer.cc750 << std::boolalpha << instruction->CanBeNull() << std::noboolalpha; in PrintInstruction()
Dnodes.cc3094 CanBeNull() == other_bt->CanBeNull(); in InstructionDataEquals()
Dintrinsics_arm64.cc1478 invoke->InputAt(1)->CanBeNull() in VisitStringCompareTo()
1526 const bool can_slow_path = invoke->InputAt(1)->CanBeNull(); in VisitStringCompareTo()
Dintrinsics_arm_vixl.cc578 invoke->InputAt(1)->CanBeNull() in VisitStringCompareTo()
632 const bool can_slow_path = invoke->InputAt(1)->CanBeNull(); in VisitStringCompareTo()
Dinstruction_builder.cc310 if (!ref->CanBeNull()) { in LoadNullCheckedLocal()