/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64.cc | 59 switch (patch.GetType()) { in IsAdrpPatch() 253 DCHECK(patch.GetType() == LinkerPatch::Type::kIntrinsicReference || in PatchPcRelativeReference() 254 patch.GetType() == LinkerPatch::Type::kMethodRelative || in PatchPcRelativeReference() 255 patch.GetType() == LinkerPatch::Type::kTypeRelative || in PatchPcRelativeReference() 256 patch.GetType() == LinkerPatch::Type::kStringRelative) << patch.GetType(); in PatchPcRelativeReference() 259 DCHECK(patch.GetType() == LinkerPatch::Type::kIntrinsicReference || in PatchPcRelativeReference() 260 patch.GetType() == LinkerPatch::Type::kMethodRelative || in PatchPcRelativeReference() 261 patch.GetType() == LinkerPatch::Type::kTypeRelative || in PatchPcRelativeReference() 262 patch.GetType() == LinkerPatch::Type::kStringRelative || in PatchPcRelativeReference() 263 patch.GetType() == LinkerPatch::Type::kTypeBssEntry || in PatchPcRelativeReference() [all …]
|
/art/compiler/optimizing/ |
D | ssa_builder.cc | 44 if ((left->GetType() == DataType::Type::kReference) && in FixNullConstantType() 45 (right->GetType() == DataType::Type::kInt32)) { in FixNullConstantType() 47 } else if ((right->GetType() == DataType::Type::kReference) && in FixNullConstantType() 48 (left->GetType() == DataType::Type::kInt32)) { in FixNullConstantType() 81 << "More then one phi equivalent with type " << phi->GetType() in EquivalentPhisCleanup() 120 if (add_all_live_phis || user->GetType() != instruction->GetType()) { in AddDependentInstructionsToWorklist() 130 DataType::Type common_type = phi->GetType(); in TypePhiFromInputs() 139 DataType::Type input_type = HPhi::ToPhiType(input->GetType()); in TypePhiFromInputs() 174 DataType::Type common_type = phi->GetType(); in TypeInputsOfPhi() 180 DCHECK(HPhi::ToPhiType(input->GetType()) == common_type); in TypeInputsOfPhi() [all …]
|
D | common_arm.h | 88 DataType::Type type = instr->GetType(); in OutputSRegister() 94 DataType::Type type = instr->GetType(); in OutputDRegister() 100 DataType::Type type = instr->GetType(); in OutputVRegister() 109 DataType::Type type = instr->InputAt(input_index)->GetType(); in InputSRegisterAt() 115 DataType::Type type = instr->InputAt(input_index)->GetType(); in InputDRegisterAt() 121 DataType::Type type = instr->InputAt(input_index)->GetType(); in InputVRegisterAt() 136 return RegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputRegister() 141 instr->InputAt(input_index)->GetType()); in InputRegisterAt() 200 instr->InputAt(input_index)->GetType()); in InputOperandAt()
|
D | graph_checker.cc | 501 if (check_reference_type_info_ && instruction->GetType() == DataType::Type::kReference) { in VisitInstruction() 774 && DataType::Is64BitType(insn1->GetType()) == DataType::Is64BitType(insn2->GetType()); in IsSameSizeConstant() 821 if (DataType::Kind(input->GetType()) != DataType::Kind(phi->GetType())) { in VisitPhi() 826 DataType::PrettyDescriptor(input->GetType()), in VisitPhi() 827 DataType::PrettyDescriptor(phi->GetType()))); in VisitPhi() 830 if (phi->GetType() != HPhi::ToPhiType(phi->GetType())) { in VisitPhi() 834 DataType::PrettyDescriptor(phi->GetType()))); in VisitPhi() 913 if (phi->GetType() == other_phi->GetType()) { in VisitPhi() 915 type_str << phi->GetType(); in VisitPhi() 920 } else if (phi->GetType() == DataType::Type::kReference) { in VisitPhi() [all …]
|
D | instruction_simplifier_shared.cc | 28 DCHECK(DataType::IsIntOrLongType(mul->GetType())); in TrySimpleMultiplyAccumulatePatterns() 80 mul->GetType(), op_kind, input_a, input_a, input_b, mul->GetDexPc()); in TrySimpleMultiplyAccumulatePatterns() 91 DataType::Type type = mul->GetType(); in TryCombineMultiplyAccumulate() 220 HBitwiseNegatedRight(op->GetType(), op->GetKind(), hother, src, op->GetDexPc()); in TryMergeNegatedInput() 243 access->AsArraySet()->GetValue()->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress() 250 access->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress() 353 HAdd* add = new (allocator) HAdd(last_sub->GetType(), last_sub_left, last_sub_right); in TryReplaceSubSubWithSubAdd()
|
D | pc_relative_fixups_x86.cc | 66 if ((value != nullptr && DataType::IsFloatingPointType(value->GetType()))) { in VisitReturn() 99 if (rhs != nullptr && DataType::IsFloatingPointType(rhs->GetType())) { in BinaryFP() 129 if (DataType::IsFloatingPointType(neg->GetType())) { in VisitNeg() 135 neg->GetType(), in VisitNeg() 214 if (input != nullptr && DataType::IsFloatingPointType(input->GetType())) { in HandleInvoke()
|
D | instruction_simplifier.cc | 205 if (!DataType::IsIntegralType(binop->GetType())) { in TryMoveNegOnInputsAfterBinop() 212 HNeg* neg = new (GetGraph()->GetAllocator()) HNeg(binop->GetType(), binop); in TryMoveNegOnInputsAfterBinop() 221 DataType::Type type = op->GetType(); in TryDeMorganNegationFactoring() 347 int64_t implicit_mask = (value->GetType() == DataType::Type::kInt64) in VisitShift() 370 DCHECK_EQ(shift_amount->GetType(), DataType::Type::kInt32); in VisitShift() 401 DCHECK_NE(shift_amount->GetType(), DataType::Type::kBool); // We never convert to bool. in VisitShift() 402 DataType::Type source_type = shift_amount->InputAt(0)->GetType(); in VisitShift() 423 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor() 450 DCHECK(DataType::IsIntOrLongType(ushr->GetType())); in TryReplaceWithRotate() 451 if (ushr->GetType() == shl->GetType() && in TryReplaceWithRotate() [all …]
|
D | common_arm64.h | 82 return RegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputRegister() 87 instr->InputAt(input_index)->GetType()); in InputRegisterAt() 121 return FPRegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputFPRegister() 126 instr->InputAt(input_index)->GetType()); in InputFPRegisterAt() 136 return DataType::IsFloatingPointType(instr->GetType()) in OutputCPURegister() 142 return DataType::IsFloatingPointType(instr->InputAt(index)->GetType()) in InputCPURegisterAt() 150 DataType::Type input_type = input->GetType(); in InputCPURegisterOrZeroRegAt() 173 instr->InputAt(input_index)->GetType()); in InputOperandAt()
|
D | instruction_simplifier_x86_shared.cc | 22 DataType::Type type = instruction->GetType(); in TryCombineAndNot() 58 DataType::Type type = instruction->GetType(); in TryGenerateResetLeastSetBit() 91 DataType::Type type = instruction->GetType(); in TryGenerateMaskUptoLeastSetBit()
|
D | constant_folding.cc | 220 DataType::Type type = instruction->GetType(); in VisitAnd() 255 if (DataType::IsFloatingPointType(input_value->GetType()) && in VisitCompare() 273 DataType::Type type = instruction->GetType(); in VisitMul() 306 DataType::Type type = instruction->GetType(); in VisitRem() 350 DataType::Type type = instruction->GetType(); in VisitSub() 384 DataType::Type type = instruction->GetType(); in VisitXor()
|
D | scheduler_arm.cc | 207 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateLongTestConstant() 273 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateLongTest() 304 const DataType::Type type = condition->GetLeft()->GetType(); in HandleGenerateTest() 320 if (condition->GetLeft()->GetType() == DataType::Type::kInt64) { in CanGenerateTest() 358 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateEqualLong() 379 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateConditionLong() 429 const DataType::Type type = cond->GetLeft()->GetType(); in HandleGenerateConditionIntegralOrNonPrimitive() 487 const DataType::Type type = cond->GetLeft()->GetType(); in HandleCondition() 499 cond->GetRight()->GetType() == DataType::Type::kBool && in HandleCondition() 516 DataType::Type type = instr->InputAt(0)->GetType(); in VisitCompare() [all …]
|
D | ssa_builder.h | 72 DataType::Type type = aget->GetType(); in MaybeAddAmbiguousArrayGet() 80 DataType::Type type = aset->GetValue()->GetType(); in MaybeAddAmbiguousArraySet()
|
D | instruction_simplifier_arm.cc | 92 DataType::Type type = use->GetType(); in TryMergeIntoShifterOperand() 124 shift_amount &= use->GetType() == DataType::Type::kInt32 in TryMergeIntoShifterOperand() 129 if (!use->IsAdd() && (!use->IsSub() || use->GetType() != DataType::Type::kInt64)) { in TryMergeIntoShifterOperand() 197 DataType::Type type = instruction->GetType(); in VisitArrayGet()
|
D | register_allocation_resolver.cc | 102 switch (current->GetType()) { in Resolve() 124 LOG(FATAL) << "Unexpected type for interval " << current->GetType(); in Resolve() 210 switch (temp->GetType()) { in Resolve() 227 << temp->GetType(); in Resolve() 389 if (current->GetType() == DataType::Type::kReference) { in ConnectSiblings() 544 AddMove(move, source, destination, nullptr, input->GetType()); in AddInputMoveFor() 624 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAt() 654 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAtExitOf() 674 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAtEntryOf() 698 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertMoveAfter()
|
D | select_generator.cc | 162 if (true_value->GetType() == DataType::Type::kReference) { in Run() 163 DCHECK(false_value->GetType() == DataType::Type::kReference); in Run() 166 } else if (phi->GetType() == DataType::Type::kReference) { in Run()
|
D | x86_memory_gen.cc | 44 DCHECK_EQ(array->GetType(), DataType::Type::kReference); in VisitBoundsCheck()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_arm_base.h | 56 ThunkType GetType() const { in GetType() function 77 if (lhs.GetType() != rhs.GetType()) { in operator() 78 return lhs.GetType() < rhs.GetType(); in operator()
|
D | relative_patcher_arm_base.cc | 391 DCHECK_EQ(patch.GetType(), LinkerPatch::Type::kCallEntrypoint); in GetEntrypointCallKey() 397 DCHECK_EQ(patch.GetType(), LinkerPatch::Type::kBakerReadBarrierBranch); in GetBakerThunkKey() 410 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in ProcessPatches() 421 } else if (patch.GetType() == LinkerPatch::Type::kCallEntrypoint) { in ProcessPatches() 424 } else if (patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch) { in ProcessPatches() 440 DCHECK(key.GetType() != static_cast<ThunkType>(-1)); in ProcessPatches()
|
/art/runtime/mirror/ |
D | field-inl.h | 36 return GetType()->GetPrimitiveType(); in GetTypeAsPrimitiveType() 39 inline ObjPtr<mirror::Class> Field::GetType() { in GetType() function
|
D | emulated_stack_frame.cc | 211 ObjPtr<mirror::ObjectArray<mirror::Class>> from_types(GetType()->GetPTypes()); in WriteToShadowFrame() 216 ThrowWrongMethodTypeException(callee_type.Get(), GetType()); in WriteToShadowFrame() 221 Handle<mirror::MethodType> frame_callsite_type(hs.NewHandle(GetType())); in WriteToShadowFrame() 234 Handle<mirror::Class> r_type(hs.NewHandle(GetType()->GetRType())); in GetReturnValue() 258 Handle<mirror::Class> r_type(hs.NewHandle(GetType()->GetRType())); in SetReturnValue()
|
D | emulated_stack_frame-inl.h | 29 inline ObjPtr<mirror::MethodType> EmulatedStackFrame::GetType() { in GetType() function
|
/art/dex2oat/linker/ |
D | relative_patcher_test.h | 172 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in Link() 180 } else if (patch.GetType() == LinkerPatch::Type::kStringBssEntry) { in Link() 187 } else if (patch.GetType() == LinkerPatch::Type::kStringRelative) { in Link() 194 } else if (patch.GetType() == LinkerPatch::Type::kCallEntrypoint) { in Link() 198 } else if (patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch) { in Link() 203 LOG(FATAL) << "Bad patch type. " << patch.GetType(); in Link() 307 : type_(patch.GetType()), in ThunkKey() 310 CHECK(patch.GetType() == LinkerPatch::Type::kCallEntrypoint || in ThunkKey() 311 patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch || in ThunkKey() 312 patch.GetType() == LinkerPatch::Type::kCallRelative); in ThunkKey() [all …]
|
/art/runtime/gc/space/ |
D | space.h | 99 virtual SpaceType GetType() const = 0; 103 return GetType() == kSpaceTypeImageSpace; in IsImageSpace() 109 SpaceType type = GetType(); in IsMallocSpace() 126 return GetType() == kSpaceTypeZygoteSpace; in IsZygoteSpace() 132 return GetType() == kSpaceTypeBumpPointerSpace; in IsBumpPointerSpace() 137 return GetType() == kSpaceTypeRegionSpace; in IsRegionSpace() 143 return GetType() == kSpaceTypeLargeObjectSpace; in IsLargeObjectSpace()
|
/art/runtime/ |
D | java_frame_root_info.cc | 26 os << "Type=" << GetType() << " thread_id=" << GetThreadId() << " location=" << in Describe()
|
/art/compiler/jni/quick/ |
D | calling_convention.h | 38 return Primitive::GetType(shorty_[0]); in GetReturnType() 42 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[0])); in SizeOfReturnValue() 189 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[param])); in ParamSize()
|