Home
last modified time | relevance | path

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

123

/art/compiler/optimizing/
Dgvn_test.cc37 DataType::Type::kReference); in TEST_F()
46 DataType::Type::kReference, in TEST_F()
55 DataType::Type::kReference, in TEST_F()
65 DataType::Type::kReference, in TEST_F()
77 DataType::Type::kReference, in TEST_F()
86 DataType::Type::kReference, in TEST_F()
118 DataType::Type::kReference); in TEST_F()
198 DataType::Type::kReference); in TEST_F()
365 DataType::Type::kReference, in TEST_F()
390 DataType::Type::kReference, in TEST_F()
[all …]
Dnodes_test.cc38 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
78 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
80 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
103 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
121 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
Ddata_type-inl.h28 case Primitive::kPrimNot: return DataType::Type::kReference; in DataTypeFromPrimitive()
62 case DataType::Type::kReference: return 'l'; // Java reference (L). in TypeId()
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()
711 return GetFloatDoubleOrReferenceEquivalentOfPhi(value->AsPhi(), DataType::Type::kReference); in GetReferenceTypeEquivalent()
Dssa_liveness_analysis_test.cc79 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
87 graph_->GetDexFile(), dex::TypeIndex(4), 4, DataType::Type::kReference); in TEST_F()
148 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
156 graph_->GetDexFile(), dex::TypeIndex(4), 4, DataType::Type::kReference); in TEST_F()
Dselect_generator.cc164 if (true_value->GetType() == DataType::Type::kReference) { in Run()
165 DCHECK(false_value->GetType() == DataType::Type::kReference); in Run()
168 } else if (phi->GetType() == DataType::Type::kReference) { in Run()
Dreference_type_propagation.cc173 if (instr->GetType() == DataType::Type::kReference) { in ValidateTypes()
592 DCHECK_EQ(instr->GetType(), DataType::Type::kReference); in UpdateReferenceTypeInfo()
613 if (instr->GetType() == DataType::Type::kReference && !instr->GetReferenceTypeInfo().IsValid()) { in VisitParameterValue()
623 if (instr->GetType() != DataType::Type::kReference) { in UpdateFieldAccessTypeInfo()
649 if (instr->GetFieldType() == DataType::Type::kReference) { in VisitUnresolvedInstanceFieldGet()
657 if (instr->GetFieldType() == DataType::Type::kReference) { in VisitUnresolvedStaticFieldGet()
782 if (phi->IsDead() || phi->GetType() != DataType::Type::kReference) { in VisitPhi()
866 DCHECK_EQ(DataType::Type::kReference, instr->GetType()); in UpdateArrayGet()
910 if (instr->GetType() != DataType::Type::kReference) { in VisitInvoke()
921 if (instr->GetType() != DataType::Type::kReference) { in VisitArrayGet()
[all …]
Ddata_type.h31 kReference = 0, enumerator
68 case Type::kReference: in SizeShift()
95 case Type::kReference: in Size()
Dx86_memory_gen.cc44 DCHECK_EQ(array->GetType(), DataType::Type::kReference); in VisitBoundsCheck()
Dside_effects_test.cc26 DataType::Type::kReference,
228 SideEffects::FieldWriteOfType(DataType::Type::kReference, false).ToString().c_str()); in TEST()
231 SideEffects::FieldWriteOfType(DataType::Type::kReference, true).ToString().c_str()); in TEST()
Dintrinsics_mips64.cc65 if (DataType::IsIntegralType(type) || type == DataType::Type::kReference) { in MoveFromReturnRegister()
860 if (type == DataType::Type::kReference && kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in CreateIntIntIntToIntLocations()
876 (type == DataType::Type::kReference)) << type; in GenUnsafeGet()
888 if (!(kEmitCompilerReadBarrier && kUseBakerReadBarrier && (type == DataType::Type::kReference))) { in GenUnsafeGet()
907 case DataType::Type::kReference: in GenUnsafeGet()
987 CreateIntIntIntToIntLocations(allocator_, invoke, DataType::Type::kReference); in VisitUnsafeGetObject()
991 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ false, codegen_); in VisitUnsafeGetObject()
996 CreateIntIntIntToIntLocations(allocator_, invoke, DataType::Type::kReference); in VisitUnsafeGetObjectVolatile()
1000 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ true, codegen_); in VisitUnsafeGetObjectVolatile()
1021 (type == DataType::Type::kReference)); in GenUnsafePut()
[all …]
Dintrinsics_arm64.cc88 if (DataType::IsIntegralType(type) || type == DataType::Type::kReference) { in MoveFromReturnRegister()
176 const int32_t element_size = DataType::Size(DataType::Type::kReference); in EmitNativeCode()
726 codegen_->Load(DataType::Type::kReference, WRegisterFrom(invoke->GetLocations()->Out()), in VisitThreadCurrentThread()
737 (type == DataType::Type::kReference)); in GenUnsafeGet()
745 if (type == DataType::Type::kReference && kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in GenUnsafeGet()
766 if (type == DataType::Type::kReference) { in GenUnsafeGet()
828 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ false, codegen_); in VisitUnsafeGetObject()
831 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ true, codegen_); in VisitUnsafeGetObjectVolatile()
890 if (kPoisonHeapReferences && type == DataType::Type::kReference) { in GenUnsafePut()
905 if (type == DataType::Type::kReference) { in GenUnsafePut()
[all …]
Dintrinsics_mips.cc77 if (DataType::IsIntegralType(type) || type == DataType::Type::kReference) { in MoveFromReturnRegister()
985 if (type == DataType::Type::kReference && kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in CreateIntIntIntToIntLocations()
1002 (type == DataType::Type::kReference)) << type; in GenUnsafeGet()
1015 if (!(kEmitCompilerReadBarrier && kUseBakerReadBarrier && (type == DataType::Type::kReference))) { in GenUnsafeGet()
1050 case DataType::Type::kReference: { in GenUnsafeGet()
1133 CreateIntIntIntToIntLocations(allocator_, invoke, DataType::Type::kReference); in VisitUnsafeGetObject()
1137 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ false, IsR6(), codegen_); in VisitUnsafeGetObject()
1142 CreateIntIntIntToIntLocations(allocator_, invoke, DataType::Type::kReference); in VisitUnsafeGetObjectVolatile()
1146 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ true, IsR6(), codegen_); in VisitUnsafeGetObjectVolatile()
1168 (type == DataType::Type::kReference)) << type; in GenUnsafePut()
[all …]
Dscheduler_arm.cc431 DCHECK(DataType::IsIntegralType(type) || type == DataType::Type::kReference) << type; in HandleGenerateConditionIntegralOrNonPrimitive()
494 DCHECK(DataType::IsIntegralType(type) || type == DataType::Type::kReference) << type; in HandleCondition()
671 case DataType::Type::kReference: { in VisitArrayGet()
757 case DataType::Type::kReference: { in VisitArraySet()
932 case DataType::Type::kReference: in HandleFieldGetLatencies()
999 case DataType::Type::kReference: in HandleFieldSetLatencies()
Dintrinsics_arm_vixl.cc132 DCHECK_EQ(type, DataType::Type::kReference); in GenSystemArrayCopyBaseAddress()
155 DCHECK_EQ(type, DataType::Type::kReference); in GenSystemArrayCopyEndAddress()
187 DataType::Type type = DataType::Type::kReference; in EmitNativeCode()
636 case DataType::Type::kReference: { in GenUnsafeGet()
709 if (type == DataType::Type::kReference && kEmitCompilerReadBarrier && kUseBakerReadBarrier) { in CreateIntIntIntToIntLocations()
729 CreateIntIntIntToIntLocations(allocator_, invoke, DataType::Type::kReference); in VisitUnsafeGetObject()
732 CreateIntIntIntToIntLocations(allocator_, invoke, DataType::Type::kReference); in VisitUnsafeGetObjectVolatile()
748 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ false, codegen_); in VisitUnsafeGetObject()
751 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ true, codegen_); in VisitUnsafeGetObjectVolatile()
772 } else if (type == DataType::Type::kReference) { in CreateIntIntIntIntToVoid()
[all …]
Dload_store_analysis_test.cc48 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
127 DataType::Type::kReference); in TEST_F()
195 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
285 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
495 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
619 DataType::Type::kReference); in TEST_F()
Dscheduler_test.cc104 DataType::Type::kReference); in TestBuildDependencyGraphAndSchedule()
217 DataType::Type::kReference); in TestDependencyGraphOnAliasingArrayAccesses()
229 DataType::Type::kReference); in TestDependencyGraphOnAliasingArrayAccesses()
Dinstruction_simplifier_shared.cc243 access->AsArraySet()->GetValue()->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress()
250 access->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress()
Dintrinsics_x86_64.cc93 int32_t element_size = DataType::Size(DataType::Type::kReference); in EmitNativeCode()
834 DCHECK_EQ(type, DataType::Type::kReference); in GenSystemArrayCopyAddresses()
1110 const DataType::Type type = DataType::Type::kReference; in VisitSystemArrayCopy()
1864 case DataType::Type::kReference: { in GenUnsafeGet()
1945 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ false, codegen_); in VisitUnsafeGetObject()
1948 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ true, codegen_); in VisitUnsafeGetObjectVolatile()
1961 if (type == DataType::Type::kReference) { in CreateIntIntIntIntToVoidPlusTempsLocations()
1978 CreateIntIntIntIntToVoidPlusTempsLocations(allocator_, DataType::Type::kReference, invoke); in VisitUnsafePutObject()
1981 CreateIntIntIntIntToVoidPlusTempsLocations(allocator_, DataType::Type::kReference, invoke); in VisitUnsafePutObjectOrdered()
1984 CreateIntIntIntIntToVoidPlusTempsLocations(allocator_, DataType::Type::kReference, invoke); in VisitUnsafePutObjectVolatile()
[all …]
Dintrinsics_x86.cc95 int32_t element_size = DataType::Size(DataType::Type::kReference); in EmitNativeCode()
1696 case DataType::Type::kReference: { in GenUnsafeGet()
1787 allocator_, invoke, DataType::Type::kReference, /* is_volatile= */ false); in VisitUnsafeGetObject()
1791 allocator_, invoke, DataType::Type::kReference, /* is_volatile= */ true); in VisitUnsafeGetObjectVolatile()
1808 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ false, codegen_); in VisitUnsafeGetObject()
1811 GenUnsafeGet(invoke, DataType::Type::kReference, /* is_volatile= */ true, codegen_); in VisitUnsafeGetObjectVolatile()
1825 if (type == DataType::Type::kReference) { in CreateIntIntIntIntToVoidPlusTempsLocations()
1850 allocator_, DataType::Type::kReference, invoke, /* is_volatile= */ false); in VisitUnsafePutObject()
1854 allocator_, DataType::Type::kReference, invoke, /* is_volatile= */ false); in VisitUnsafePutObjectOrdered()
1858 allocator_, DataType::Type::kReference, invoke, /* is_volatile= */ true); in VisitUnsafePutObjectVolatile()
[all …]
Dbounds_check_elimination_test.cc71 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); // array in TEST_F()
168 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); // array in TEST_F()
233 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); // array in TEST_F()
298 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
367 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildSSAGraph1()
482 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildSSAGraph2()
694 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildSSAGraph4()
797 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in TEST_F()
Ddata_type_test.cc44 CheckConversion<DataType::Type::kReference, Primitive::kPrimNot>(); in TEST()
Dinstruction_builder.cc272 HInstruction* ref = LoadLocal(register_index, DataType::Type::kReference); in LoadNullCheckedLocal()
510 } else if (type == DataType::Type::kReference) { in LoadLocal()
569 DataType::Type::kReference, in InitializeParameters()
948 /* return_type= */ DataType::Type::kReference, in BuildInvoke()
1448 ? LoadLocal(obj_reg, DataType::Type::kReference) in HandleInvoke()
1491 HInstruction* arg_this = LoadLocal(orig_this_reg, DataType::Type::kReference); in HandleStringInit()
1548 ? LoadLocal(obj_reg, DataType::Type::kReference) in BuildInstanceFieldAccess()
1832 DataType::Type type = is_reference_array ? DataType::Type::kReference : DataType::Type::kInt32; in BuildFilledNewArray()
2039 HInstruction* object = LoadLocal(reference, DataType::Type::kReference); in BuildTypeCheck()
2205 value->GetType() == DataType::Type::kReference); in ProcessDexInstruction()
[all …]
/art/runtime/verifier/
Dreg_type.h284 kReference, enumerator
311 CHECK(AssignmentType::kReference == t); in GetAssignmentType()
901 return AssignmentType::kReference; in GetAssignmentTypeImpl()
938 return AssignmentType::kReference; in GetAssignmentTypeImpl()
1046 return AssignmentType::kReference; in GetAssignmentTypeImpl()
1069 return AssignmentType::kReference; in GetAssignmentTypeImpl()
1083 return AssignmentType::kReference; in GetAssignmentTypeImpl()
Dreg_type-inl.h97 case AssignmentType::kReference: in AssignableFrom()

123