Home
last modified time | relevance | path

Searched refs:kReference (Results 1 – 25 of 59) sorted by relevance

123

/art/compiler/optimizing/
Dgvn_test.cc38 DataType::Type::kReference); in TEST_F()
47 DataType::Type::kReference, in TEST_F()
56 DataType::Type::kReference, in TEST_F()
66 DataType::Type::kReference, in TEST_F()
78 DataType::Type::kReference, in TEST_F()
87 DataType::Type::kReference, in TEST_F()
119 DataType::Type::kReference); in TEST_F()
199 DataType::Type::kReference); in TEST_F()
366 DataType::Type::kReference, in TEST_F()
391 DataType::Type::kReference, in TEST_F()
[all …]
Ddata_type-inl.h28 case Primitive::kPrimNot: return DataType::Type::kReference; in DataTypeFromPrimitive()
46 case DataType::Type::kReference: return Primitive::kPrimNot; in DataTypeToPrimitive()
81 case DataType::Type::kReference: return 'l'; // Java reference (L). in TypeId()
Dnodes_test.cc151 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
191 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
193 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
216 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
234 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
Dssa_builder.cc44 if ((left->GetType() == DataType::Type::kReference) && in FixNullConstantType()
47 } else if ((right->GetType() == DataType::Type::kReference) && in FixNullConstantType()
150 input_type == DataType::Type::kReference); in TypePhiFromInputs()
156 common_type == DataType::Type::kReference); in TypePhiFromInputs()
160 (common_type == DataType::Type::kFloat32 && input_type == DataType::Type::kReference) || in TypePhiFromInputs()
161 (common_type == DataType::Type::kReference && input_type == DataType::Type::kFloat32)); in TypePhiFromInputs()
186 DCHECK(common_type == DataType::Type::kReference || in TypeInputsOfPhi()
194 HInstruction* equivalent = (common_type == DataType::Type::kReference) in TypeInputsOfPhi()
729 return GetFloatDoubleOrReferenceEquivalentOfPhi(value->AsPhi(), DataType::Type::kReference); in GetReferenceTypeEquivalent()
Dwrite_barrier_elimination.cc47 if (instruction->GetFieldType() != DataType::Type::kReference || in VisitInstanceFieldSet()
74 if (instruction->GetFieldType() != DataType::Type::kReference || in VisitStaticFieldSet()
102 if (instruction->GetComponentType() != DataType::Type::kReference || in VisitArraySet()
Dssa_liveness_analysis_test.cc82 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
90 graph_->GetDexFile(), dex::TypeIndex(4), 4, DataType::Type::kReference); in TEST_F()
151 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
159 graph_->GetDexFile(), dex::TypeIndex(4), 4, DataType::Type::kReference); in TEST_F()
Dreference_type_propagation.cc533 DCHECK_EQ(instr->GetType(), DataType::Type::kReference); in UpdateReferenceTypeInfo()
559 if (instr->GetType() == DataType::Type::kReference && !instr->GetReferenceTypeInfo().IsValid()) { in VisitParameterValue()
569 if (instr->GetType() != DataType::Type::kReference) { in UpdateFieldAccessTypeInfo()
595 if (instr->GetFieldType() == DataType::Type::kReference) { in VisitUnresolvedInstanceFieldGet()
603 if (instr->GetFieldType() == DataType::Type::kReference) { in VisitUnresolvedStaticFieldGet()
727 if (phi->IsDead() || phi->GetType() != DataType::Type::kReference) { in VisitPhi()
810 DCHECK_EQ(DataType::Type::kReference, instr->GetType()); in UpdateArrayGet()
854 if (instr->GetType() != DataType::Type::kReference) { in VisitInvoke()
867 if (instr->GetType() != DataType::Type::kReference) { in VisitArrayGet()
992 DCHECK_EQ(instruction->GetType(), DataType::Type::kReference) in AddToWorklist()
[all …]
Ddata_type.h32 kReference = 0, enumerator
69 case Type::kReference: in SizeShift()
96 case Type::kReference: in Size()
Dx86_memory_gen.cc44 DCHECK_EQ(array->GetType(), DataType::Type::kReference); in VisitBoundsCheck()
Dselect_generator.cc157 if (true_value->GetType() == DataType::Type::kReference) { in TryGenerateSelectSimpleDiamondPattern()
158 DCHECK(false_value->GetType() == DataType::Type::kReference); in TryGenerateSelectSimpleDiamondPattern()
161 } else if (phi->GetType() == DataType::Type::kReference) { in TryGenerateSelectSimpleDiamondPattern()
Dintrinsics_arm64.cc110 const int32_t element_size = DataType::Size(DataType::Type::kReference); in EmitNativeCode()
697 codegen_->Load(DataType::Type::kReference, WRegisterFrom(invoke->GetLocations()->Out()), in VisitThreadCurrentThread()
709 (type == DataType::Type::kReference)); in GenUnsafeGet()
717 if (type == DataType::Type::kReference && codegen->EmitBakerReadBarrier()) { in GenUnsafeGet()
738 if (type == DataType::Type::kReference) { in GenUnsafeGet()
862 GenUnsafeGet(invoke, DataType::Type::kReference, /*is_volatile=*/ false, codegen_); in VisitJdkUnsafeGetReference()
865 GenUnsafeGet(invoke, DataType::Type::kReference, /*is_volatile=*/ true, codegen_); in VisitJdkUnsafeGetReferenceVolatile()
868 GenUnsafeGet(invoke, DataType::Type::kReference, /*is_volatile=*/ true, codegen_); in VisitJdkUnsafeGetReferenceAcquire()
973 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
988 if (type == DataType::Type::kReference) { in GenUnsafePut()
[all …]
Dintrinsics_arm_vixl.cc96 DataType::Type type = DataType::Type::kReference; in EmitNativeCode()
1505 const DataType::Type type = DataType::Type::kReference; in VisitSystemArrayCopy()
2374 codegen_->LoadFromShiftedRegOffset(DataType::Type::kReference, locations->Out(), temp, out); in BOXED_TYPES()
2621 case DataType::Type::kReference: in GenerateIntrinsicGet()
2667 if (type == DataType::Type::kReference && !codegen->EmitBakerReadBarrier()) { in GenerateIntrinsicGet()
2694 if ((type == DataType::Type::kReference && codegen->EmitBakerReadBarrier()) || in CreateUnsafeGetLocations()
2713 if ((type == DataType::Type::kReference && codegen->EmitBakerReadBarrier()) || in GenUnsafeGet()
2841 CreateUnsafeGetLocations(invoke, codegen_, DataType::Type::kReference, /*atomic=*/ false); in VisitJdkUnsafeGetReference()
2846 invoke, codegen_, DataType::Type::kReference, std::memory_order_relaxed, /*atomic=*/ false); in VisitJdkUnsafeGetReference()
2850 CreateUnsafeGetLocations(invoke, codegen_, DataType::Type::kReference, /*atomic=*/ true); in VisitJdkUnsafeGetReferenceVolatile()
[all …]
Dintrinsics_riscv64.cc51 const int32_t element_size = DataType::Size(DataType::Type::kReference); in EmitNativeCode()
671 calling_convention.GetReturnLocation(DataType::Type::kReference), \
797 out, obj.AsRegister<XRegister>(), referent_offset, DataType::Type::kReference); in VisitReferenceGetReferent()
820 Location::RegisterLocation(out), obj, referent_offset, DataType::Type::kReference); in VisitReferenceRefersTo()
963 locations->SetOut(calling_convention.GetReturnLocation(DataType::Type::kReference)); in VisitStringNewStringFromBytes()
988 locations->SetOut(calling_convention.GetReturnLocation(DataType::Type::kReference)); in VisitStringNewStringFromChars()
1007 locations->SetOut(calling_convention.GetReturnLocation(DataType::Type::kReference)); in VisitStringNewStringFromString()
1081 case DataType::Type::kReference: in EmitLoadReserved()
1223 case DataType::Type::kReference: in EmitStoreConditional()
1253 DCHECK_IMPLIES(expected2 != kNoXRegister, type == DataType::Type::kReference); in GenerateCompareAndSet()
[all …]
Dside_effects_test.cc27 DataType::Type::kReference,
229 SideEffects::FieldWriteOfType(DataType::Type::kReference, false).ToString().c_str()); in TEST()
232 SideEffects::FieldWriteOfType(DataType::Type::kReference, true).ToString().c_str()); in TEST()
Dload_store_analysis_test.cc71 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
155 DataType::Type::kReference); in TEST_F()
226 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
322 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
534 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
660 DataType::Type::kReference); in TEST_F()
1110 HParameterValue(graph_->GetDexFile(), dex::TypeIndex(10), 3, DataType::Type::kReference); in TEST_F()
1158 new (GetAllocator()) HPhi(GetAllocator(), kNoRegNumber, 2, DataType::Type::kReference); in TEST_F()
1185 new (GetAllocator()) HPhi(GetAllocator(), kNoRegNumber, 2, DataType::Type::kReference); in TEST_F()
1188 DataType::Type::kReference, in TEST_F()
Dscheduler_arm.cc542 DCHECK(DataType::IsIntegralType(type) || type == DataType::Type::kReference) << type; in HandleGenerateConditionIntegralOrNonPrimitive()
605 DCHECK(DataType::IsIntegralType(type) || type == DataType::Type::kReference) << type; in HandleCondition()
782 case DataType::Type::kReference: { in VisitArrayGet()
868 case DataType::Type::kReference: { in VisitArraySet()
1043 case DataType::Type::kReference: in HandleFieldGetLatencies()
1108 case DataType::Type::kReference: in HandleFieldSetLatencies()
1109 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSetLatencies()
Dintrinsics_x86.cc109 const DataType::Type type = DataType::Type::kReference; in EmitNativeCode()
1691 case DataType::Type::kReference: { in GenUnsafeGet()
1835 allocator_, invoke, codegen_, DataType::Type::kReference, /*is_volatile=*/ false); in VisitJdkUnsafeGetReference()
1839 allocator_, invoke, codegen_, DataType::Type::kReference, /*is_volatile=*/ true); in VisitJdkUnsafeGetReferenceVolatile()
1843 allocator_, invoke, codegen_, DataType::Type::kReference, /*is_volatile=*/ true); in VisitJdkUnsafeGetReferenceAcquire()
1869 GenUnsafeGet(invoke, DataType::Type::kReference, /*is_volatile=*/ false, codegen_); in VisitJdkUnsafeGetReference()
1872 GenUnsafeGet(invoke, DataType::Type::kReference, /*is_volatile=*/ true, codegen_); in VisitJdkUnsafeGetReferenceVolatile()
1875 GenUnsafeGet(invoke, DataType::Type::kReference, /*is_volatile=*/ true, codegen_); in VisitJdkUnsafeGetReferenceAcquire()
1891 if (type == DataType::Type::kReference) { in CreateIntIntIntIntToVoidPlusTempsLocations()
1951 allocator_, DataType::Type::kReference, invoke, /*is_volatile=*/ false); in VisitJdkUnsafePutReference()
[all …]
Dinstruction_simplifier_shared.cc202 access->AsArraySet()->GetValue()->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress()
208 access->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress()
Dscheduler_test.cc99 DataType::Type::kReference); in TestBuildDependencyGraphAndSchedule()
211 DataType::Type::kReference); in TestDependencyGraphOnAliasingArrayAccesses()
223 DataType::Type::kReference); in TestDependencyGraphOnAliasingArrayAccesses()
Dintrinsics_x86_64.cc106 const DataType::Type type = DataType::Type::kReference; in EmitNativeCode()
1075 const DataType::Type type = DataType::Type::kReference; in VisitSystemArrayCopy()
1826 case DataType::Type::kReference: { in GenUnsafeGet()
1968 GenUnsafeGet(invoke, DataType::Type::kReference, /*is_volatile=*/ false, codegen_); in VisitJdkUnsafeGetReference()
1971 GenUnsafeGet(invoke, DataType::Type::kReference, /*is_volatile=*/ true, codegen_); in VisitJdkUnsafeGetReferenceVolatile()
1974 GenUnsafeGet(invoke, DataType::Type::kReference, /*is_volatile=*/ true, codegen_); in VisitJdkUnsafeGetReferenceAcquire()
1989 if (type == DataType::Type::kReference) { in CreateIntIntIntIntToVoidPlusTempsLocations()
2040 CreateIntIntIntIntToVoidPlusTempsLocations(allocator_, DataType::Type::kReference, invoke); in VisitJdkUnsafePutReference()
2043 CreateIntIntIntIntToVoidPlusTempsLocations(allocator_, DataType::Type::kReference, invoke); in VisitJdkUnsafePutObjectOrdered()
2046 CreateIntIntIntIntToVoidPlusTempsLocations(allocator_, DataType::Type::kReference, invoke); in VisitJdkUnsafePutReferenceVolatile()
[all …]
Dbounds_check_elimination_test.cc72 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); // array in TEST_F()
169 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); // array in TEST_F()
234 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); // array in TEST_F()
299 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
368 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildSSAGraph1()
483 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildSSAGraph2()
695 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildSSAGraph4()
798 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
Ddata_type_test.cc44 CheckConversion<DataType::Type::kReference, Primitive::kPrimNot>(); in TEST()
Dreference_type_propagation_test.cc292 HParameterValue(graph_->GetDexFile(), dex::TypeIndex(1), 1, DataType::Type::kReference); in RunVisitListTest()
324 GetAllocator(), kNoRegNumber, blk->GetPredecessors().size(), DataType::Type::kReference); in RunVisitListTest()
416 GetAllocator(), kNoRegNumber, blk->GetPredecessors().size(), DataType::Type::kReference); in RunVisitListTest()
/art/runtime/verifier/
Dreg_type.h274 kReference, enumerator
301 CHECK(AssignmentType::kReference == t); in GetAssignmentType()
750 return AssignmentType::kReference; in GetAssignmentTypeImpl()
784 return AssignmentType::kReference; in GetAssignmentTypeImpl()
895 return AssignmentType::kReference; in GetAssignmentTypeImpl()
918 return AssignmentType::kReference; in GetAssignmentTypeImpl()
934 return AssignmentType::kReference; in GetAssignmentTypeImpl()
Dreg_type-inl.h97 case AssignmentType::kReference: in AssignableFrom()

123