/art/compiler/optimizing/ |
D | ssa_builder.cc | 38 if ((left->GetType() == Primitive::kPrimNot) && (right->GetType() == Primitive::kPrimInt)) { in FixNullConstantType() 40 } else if ((right->GetType() == Primitive::kPrimNot) in FixNullConstantType() 41 && (left->GetType() == Primitive::kPrimInt)) { in FixNullConstantType() 74 << "More then one phi equivalent with type " << phi->GetType() in EquivalentPhisCleanup() 114 if (add_all_live_phis || user->GetType() != instruction->GetType()) { in AddDependentInstructionsToWorklist() 124 Primitive::Type common_type = phi->GetType(); in TypePhiFromInputs() 134 Primitive::Type input_type = HPhi::ToPhiType(input->GetType()); in TypePhiFromInputs() 166 Primitive::Type common_type = phi->GetType(); in TypeInputsOfPhi() 175 DCHECK(input->IsPhi() && input->GetType() == Primitive::kPrimVoid); in TypeInputsOfPhi() 177 DCHECK((input->IsPhi() && input->GetType() == Primitive::kPrimVoid) || in TypeInputsOfPhi() [all …]
|
D | intrinsics.cc | 98 static Primitive::Type GetType(uint64_t data, bool is_op_size) { in GetType() function 150 switch (GetType(method.d.data, true)) { in GetIntrinsic() 160 switch (GetType(method.d.data, true)) { in GetIntrinsic() 172 switch (GetType(method.d.data, true)) { in GetIntrinsic() 182 switch (GetType(method.d.data, true)) { in GetIntrinsic() 194 switch (GetType(method.d.data, true)) { in GetIntrinsic() 204 switch (GetType(method.d.data, true)) { in GetIntrinsic() 214 switch (GetType(method.d.data, true)) { in GetIntrinsic() 224 switch (GetType(method.d.data, true)) { in GetIntrinsic() 234 switch (GetType(method.d.data, true)) { in GetIntrinsic() [all …]
|
D | graph_checker.cc | 450 if (instruction->GetType() == Primitive::kPrimNot) { in VisitInstruction() 671 && Primitive::Is64BitType(insn1->GetType()) == Primitive::Is64BitType(insn2->GetType()); in IsSameSizeConstant() 710 if (Primitive::PrimitiveKind(input->GetType()) != Primitive::PrimitiveKind(phi->GetType())) { in VisitPhi() 715 Primitive::PrettyDescriptor(input->GetType()), in VisitPhi() 716 Primitive::PrettyDescriptor(phi->GetType()))); in VisitPhi() 719 if (phi->GetType() != HPhi::ToPhiType(phi->GetType())) { in VisitPhi() 723 Primitive::PrettyDescriptor(phi->GetType()))); in VisitPhi() 803 if (phi->GetType() == other_phi->GetType()) { in VisitPhi() 805 type_str << phi->GetType(); in VisitPhi() 810 } else if (phi->GetType() == Primitive::kPrimNot) { in VisitPhi() [all …]
|
D | pc_relative_fixups_x86.cc | 66 if ((value != nullptr && Primitive::IsFloatingPointType(value->GetType()))) { in VisitReturn() 94 if (rhs != nullptr && Primitive::IsFloatingPointType(rhs->GetType())) { in BinaryFP() 124 if (Primitive::IsFloatingPointType(neg->GetType())) { in VisitNeg() 130 neg->GetType(), in VisitNeg() 207 if (input != nullptr && Primitive::IsFloatingPointType(input->GetType())) { in HandleInvoke()
|
D | instruction_simplifier_shared.cc | 26 DCHECK(Primitive::IsIntOrLongType(mul->GetType())); in TrySimpleMultiplyAccumulatePatterns() 78 mul->GetType(), op_kind, input_a, input_a, input_b, mul->GetDexPc()); in TrySimpleMultiplyAccumulatePatterns() 89 Primitive::Type type = mul->GetType(); in TryCombineMultiplyAccumulate() 218 HBitwiseNegatedRight(op->GetType(), op->GetKind(), hother, src, op->GetDexPc()); in TryMergeNegatedInput()
|
D | instruction_simplifier.cc | 168 if (!Primitive::IsIntegralType(binop->GetType())) { in TryMoveNegOnInputsAfterBinop() 175 HNeg* neg = new (GetGraph()->GetArena()) HNeg(binop->GetType(), binop); in TryMoveNegOnInputsAfterBinop() 184 Primitive::Type type = op->GetType(); in TryDeMorganNegationFactoring() 242 int64_t mask = (input_other->GetType() == Primitive::kPrimLong) in VisitShift() 266 HRor* ror = new (GetGraph()->GetArena()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor() 292 DCHECK(Primitive::IsIntOrLongType(ushr->GetType())); in TryReplaceWithRotate() 293 if (ushr->GetType() == shl->GetType() && in TryReplaceWithRotate() 325 size_t reg_bits = Primitive::ComponentSize(ushr->GetType()) * kBitsPerByte; in TryReplaceWithRotateConstantPattern() 386 size_t reg_bits = Primitive::ComponentSize(ushr->GetType()) * kBitsPerByte; in TryReplaceWithRotateRegisterSubPattern() 544 if ((instruction->GetValue()->GetType() == Primitive::kPrimNot) in VisitInstanceFieldSet() [all …]
|
D | common_arm64.h | 71 return RegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputRegister() 76 instr->InputAt(input_index)->GetType()); in InputRegisterAt() 95 return FPRegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputFPRegister() 100 instr->InputAt(input_index)->GetType()); in InputFPRegisterAt() 109 return Primitive::IsFloatingPointType(instr->GetType()) in OutputCPURegister() 115 return Primitive::IsFloatingPointType(instr->InputAt(index)->GetType()) in InputCPURegisterAt() 142 instr->InputAt(input_index)->GetType()); in InputOperandAt()
|
D | instruction_simplifier_arm64.cc | 50 access->AsArraySet()->GetValue()->GetType() == Primitive::kPrimNot) { in TryExtractArrayAccessAddress() 89 Primitive::Type type = use->GetType(); in TryMergeIntoShifterOperand() 102 left = GetGraph()->GetConstant(right->GetType(), 0); in TryMergeIntoShifterOperand() 195 Primitive::ComponentSize(instruction->GetType())); in VisitArrayGet()
|
D | constant_folding.cc | 207 if (Primitive::IsFloatingPointType(input_value->GetType()) && in VisitCompare() 225 Primitive::Type type = instruction->GetType(); in VisitMul() 258 Primitive::Type type = instruction->GetType(); in VisitRem() 302 Primitive::Type type = instruction->GetType(); in VisitSub() 336 Primitive::Type type = instruction->GetType(); in VisitXor()
|
D | ssa_builder.h | 69 Primitive::Type type = aget->GetType(); in MaybeAddAmbiguousArrayGet() 77 Primitive::Type type = aset->GetValue()->GetType(); in MaybeAddAmbiguousArraySet()
|
D | nodes.h | 1807 virtual Primitive::Type GetType() const { return Primitive::kPrimVoid; } in GetType() function 1828 DCHECK_EQ(GetType(), Primitive::kPrimNot) << "CanBeNull only applies to reference types"; in CanBeNull() 1837 return GetType() == Primitive::kPrimNot; in IsActualObject() 1843 DCHECK_EQ(GetType(), Primitive::kPrimNot); in GetReferenceTypeInfo() 2296 Primitive::Type GetType() const OVERRIDE { in GetType() function 2353 DCHECK_NE(GetType(), Primitive::kPrimVoid); in HInstruction() 2373 Primitive::Type GetType() const OVERRIDE { return GetPackedField<TypeField>(); } in GetType() function 2378 DCHECK(GetType() == new_type || in SetType() 2379 (GetType() == Primitive::kPrimInt && new_type == Primitive::kPrimFloat) || in SetType() 2380 (GetType() == Primitive::kPrimInt && new_type == Primitive::kPrimNot) || in SetType() [all …]
|
D | reference_type_propagation.cc | 136 if (instr->GetType() == Primitive::kPrimNot) { in ValidateTypes() 476 DCHECK_EQ(instr->GetType(), Primitive::kPrimNot); in UpdateReferenceTypeInfo() 504 if (instr->GetType() == Primitive::kPrimNot && !instr->GetReferenceTypeInfo().IsValid()) { in VisitParameterValue() 516 if (instr->GetType() != Primitive::kPrimNot) { in UpdateFieldAccessTypeInfo() 530 klass = field->GetType<false>(); in UpdateFieldAccessTypeInfo() 664 if (phi->IsDead() || phi->GetType() != Primitive::kPrimNot) { in VisitPhi() 733 DCHECK_EQ(Primitive::kPrimNot, instr->GetType()); in UpdateArrayGet() 777 if (instr->GetType() != Primitive::kPrimNot) { in VisitInvoke() 792 if (instr->GetType() != Primitive::kPrimNot) { in VisitArrayGet() 909 DCHECK_EQ(instruction->GetType(), Primitive::kPrimNot) in AddToWorklist() [all …]
|
D | code_generator.cc | 104 DCHECK(CheckType(instruction->GetType(), locations->InAt(0))) in CheckTypeConsistency() 105 << instruction->GetType() in CheckTypeConsistency() 108 DCHECK(CheckType(instruction->GetType(), locations->Out())) in CheckTypeConsistency() 109 << instruction->GetType() in CheckTypeConsistency() 114 DCHECK(CheckType(instruction->InputAt(i)->GetType(), locations->InAt(i))) in CheckTypeConsistency() 115 << instruction->InputAt(i)->GetType() in CheckTypeConsistency() 122 Primitive::Type type = environment->GetInstructionAt(i)->GetType(); in CheckTypeConsistency() 307 locations->SetInAt(i, visitor->GetNextLocation(input->GetType())); in CreateCommonInvokeLocationSummary() 310 locations->SetOut(visitor->GetReturnLocation(invoke->GetType())); in CreateCommonInvokeLocationSummary() 973 if (current->GetType() == Primitive::kPrimLong) { in EmitEnvironment() [all …]
|
D | register_allocator.cc | 98 bool is_core_register = (interval->GetType() != Primitive::kPrimDouble) in ShouldProcess() 99 && (interval->GetType() != Primitive::kPrimFloat); in ShouldProcess() 275 bool core_register = (instruction->GetType() != Primitive::kPrimDouble) in ProcessInstruction() 276 && (instruction->GetType() != Primitive::kPrimFloat); in ProcessInstruction() 327 if (codegen_->NeedsTwoRegisters(current->GetType())) { in ProcessInstruction() 1323 switch (interval->GetType()) { in AllocateSpillSlotFor() 1342 LOG(FATAL) << "Unexpected type for interval " << interval->GetType(); in AllocateSpillSlotFor() 1443 AddMove(move, source, destination, nullptr, input->GetType()); in AddInputMoveFor() 1523 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAt() 1553 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAtExitOf() [all …]
|
D | intrinsics_utils.h | 70 codegen->MoveFromReturnRegister(out, invoke_->GetType()); in EmitNativeCode()
|
D | intrinsics.h | 106 Location cc_loc = calling_convention_visitor->GetNextLocation(input->GetType()); in INTRINSICS_LIST() 109 parallel_move.AddMove(actual_loc, cc_loc, input->GetType(), nullptr); in INTRINSICS_LIST()
|
D | nodes_x86.h | 40 : HExpression(constant->GetType(), SideEffects::None(), kNoDexPc) { in HX86LoadFromConstantTable()
|
D | builder.h | 60 Primitive::GetType(dex_compilation_unit_->GetShorty()[0]), in HGraphBuilder()
|
/art/runtime/gc/space/ |
D | space.h | 100 virtual SpaceType GetType() const = 0; 104 return GetType() == kSpaceTypeImageSpace; in IsImageSpace() 110 SpaceType type = GetType(); in IsMallocSpace() 127 return GetType() == kSpaceTypeZygoteSpace; in IsZygoteSpace() 133 return GetType() == kSpaceTypeBumpPointerSpace; in IsBumpPointerSpace() 138 return GetType() == kSpaceTypeRegionSpace; in IsRegionSpace() 144 return GetType() == kSpaceTypeLargeObjectSpace; in IsLargeObjectSpace()
|
D | zygote_space.h | 40 SpaceType GetType() const OVERRIDE { in GetType() function
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64.cc | 34 LinkerPatch::Type type = patch.GetType(); in IsAdrpPatch() 213 DCHECK(patch.GetType() == LinkerPatch::Type::kStringRelative) << patch.GetType(); in PatchPcRelativeReference() 217 DCHECK(patch.GetType() == LinkerPatch::Type::kDexCacheArray) << patch.GetType(); in PatchPcRelativeReference()
|
/art/compiler/jni/quick/ |
D | calling_convention.h | 36 return Primitive::GetType(shorty_[0]); in GetReturnType() 40 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[0])); in SizeOfReturnValue() 178 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[param])); in ParamSize()
|
/art/compiler/linker/ |
D | relative_patcher_test.h | 152 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in Link() 158 } else if (patch.GetType() == LinkerPatch::Type::kDexCacheArray) { in Link() 164 } else if (patch.GetType() == LinkerPatch::Type::kStringRelative) { in Link() 171 LOG(FATAL) << "Bad patch type. " << patch.GetType(); in Link()
|
/art/runtime/mirror/ |
D | field.h | 73 return GetType()->GetPrimitiveType(); in GetTypeAsPrimitiveType() 76 mirror::Class* GetType() SHARED_REQUIRES(Locks::mutator_lock_) { in GetType() function
|
D | field-inl.h | 35 Handle<mirror::Class> type = hs.NewHandle(field->GetType<true>()); in CreateFromArtField()
|