/art/compiler/optimizing/ |
D | gvn_test.cc | 38 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 …]
|
D | data_type-inl.h | 28 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()
|
D | nodes_test.cc | 151 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()
|
D | ssa_builder.cc | 44 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()
|
D | write_barrier_elimination.cc | 47 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()
|
D | ssa_liveness_analysis_test.cc | 82 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()
|
D | reference_type_propagation.cc | 533 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 …]
|
D | data_type.h | 32 kReference = 0, enumerator 69 case Type::kReference: in SizeShift() 96 case Type::kReference: in Size()
|
D | x86_memory_gen.cc | 44 DCHECK_EQ(array->GetType(), DataType::Type::kReference); in VisitBoundsCheck()
|
D | select_generator.cc | 157 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()
|
D | intrinsics_arm64.cc | 110 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 …]
|
D | intrinsics_arm_vixl.cc | 96 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 …]
|
D | intrinsics_riscv64.cc | 51 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 …]
|
D | side_effects_test.cc | 27 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()
|
D | load_store_analysis_test.cc | 71 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()
|
D | scheduler_arm.cc | 542 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()
|
D | intrinsics_x86.cc | 109 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 …]
|
D | instruction_simplifier_shared.cc | 202 access->AsArraySet()->GetValue()->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress() 208 access->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress()
|
D | scheduler_test.cc | 99 DataType::Type::kReference); in TestBuildDependencyGraphAndSchedule() 211 DataType::Type::kReference); in TestDependencyGraphOnAliasingArrayAccesses() 223 DataType::Type::kReference); in TestDependencyGraphOnAliasingArrayAccesses()
|
D | intrinsics_x86_64.cc | 106 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 …]
|
D | bounds_check_elimination_test.cc | 72 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()
|
D | data_type_test.cc | 44 CheckConversion<DataType::Type::kReference, Primitive::kPrimNot>(); in TEST()
|
D | reference_type_propagation_test.cc | 292 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/ |
D | reg_type.h | 274 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()
|
D | reg_type-inl.h | 97 case AssignmentType::kReference: in AssignableFrom()
|