Home
last modified time | relevance | path

Searched refs:GetType (Results 1 – 25 of 116) sorted by relevance

12345

/art/compiler/optimizing/
Dssa_builder.cc40 if ((left->GetType() == Primitive::kPrimNot) && (right->GetType() == Primitive::kPrimInt)) { in FixNullConstantType()
42 } else if ((right->GetType() == Primitive::kPrimNot) in FixNullConstantType()
43 && (left->GetType() == Primitive::kPrimInt)) { in FixNullConstantType()
76 << "More then one phi equivalent with type " << phi->GetType() in EquivalentPhisCleanup()
115 if (add_all_live_phis || user->GetType() != instruction->GetType()) { in AddDependentInstructionsToWorklist()
125 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()
172 DCHECK(HPhi::ToPhiType(input->GetType()) == common_type); in TypeInputsOfPhi()
182 if (input->GetType() != common_type) { in TypeInputsOfPhi()
[all …]
Dgraph_checker.cc452 if (instruction->GetType() == Primitive::kPrimNot) { in VisitInstruction()
671 && Primitive::Is64BitType(insn1->GetType()) == Primitive::Is64BitType(insn2->GetType()); in IsSameSizeConstant()
718 if (Primitive::PrimitiveKind(input->GetType()) != Primitive::PrimitiveKind(phi->GetType())) { in VisitPhi()
723 Primitive::PrettyDescriptor(input->GetType()), in VisitPhi()
724 Primitive::PrettyDescriptor(phi->GetType()))); in VisitPhi()
727 if (phi->GetType() != HPhi::ToPhiType(phi->GetType())) { in VisitPhi()
731 Primitive::PrettyDescriptor(phi->GetType()))); in VisitPhi()
810 if (phi->GetType() == other_phi->GetType()) { in VisitPhi()
812 type_str << phi->GetType(); in VisitPhi()
817 } else if (phi->GetType() == Primitive::kPrimNot) { in VisitPhi()
[all …]
Dcommon_arm.h97 Primitive::Type type = instr->GetType(); in OutputSRegister()
103 Primitive::Type type = instr->GetType(); in OutputDRegister()
109 Primitive::Type type = instr->GetType(); in OutputVRegister()
118 Primitive::Type type = instr->InputAt(input_index)->GetType(); in InputSRegisterAt()
124 Primitive::Type type = instr->InputAt(input_index)->GetType(); in InputDRegisterAt()
130 Primitive::Type type = instr->InputAt(input_index)->GetType(); in InputVRegisterAt()
145 return RegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputRegister()
150 instr->InputAt(input_index)->GetType()); in InputRegisterAt()
209 instr->InputAt(input_index)->GetType()); in InputOperandAt()
234 return instruction->GetType() == Primitive::kPrimLong && in ShifterOperandSupportsExtension()
Dinstruction_simplifier_shared.cc26 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()
241 access->AsArraySet()->GetValue()->GetType() == Primitive::kPrimNot) { in TryExtractArrayAccessAddress()
247 access->GetType() == Primitive::kPrimNot) { in TryExtractArrayAccessAddress()
Dpc_relative_fixups_x86.cc66 if ((value != nullptr && Primitive::IsFloatingPointType(value->GetType()))) { in VisitReturn()
103 if (rhs != nullptr && Primitive::IsFloatingPointType(rhs->GetType())) { in BinaryFP()
133 if (Primitive::IsFloatingPointType(neg->GetType())) { in VisitNeg()
139 neg->GetType(), in VisitNeg()
226 if (input != nullptr && Primitive::IsFloatingPointType(input->GetType())) { in HandleInvoke()
Dcommon_arm64.h82 return RegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputRegister()
87 instr->InputAt(input_index)->GetType()); in InputRegisterAt()
116 return FPRegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputFPRegister()
121 instr->InputAt(input_index)->GetType()); in InputFPRegisterAt()
131 return Primitive::IsFloatingPointType(instr->GetType()) in OutputCPURegister()
137 return Primitive::IsFloatingPointType(instr->InputAt(index)->GetType()) in InputCPURegisterAt()
145 Primitive::Type input_type = input->GetType(); in InputCPURegisterOrZeroRegAt()
176 instr->InputAt(input_index)->GetType()); in InputOperandAt()
Dconstant_folding.cc234 if (Primitive::IsFloatingPointType(input_value->GetType()) && in VisitCompare()
252 Primitive::Type type = instruction->GetType(); in VisitMul()
285 Primitive::Type type = instruction->GetType(); in VisitRem()
329 Primitive::Type type = instruction->GetType(); in VisitSub()
363 Primitive::Type type = instruction->GetType(); in VisitXor()
Dinstruction_simplifier.cc182 if (!Primitive::IsIntegralType(binop->GetType())) { in TryMoveNegOnInputsAfterBinop()
189 HNeg* neg = new (GetGraph()->GetArena()) HNeg(binop->GetType(), binop); in TryMoveNegOnInputsAfterBinop()
198 Primitive::Type type = op->GetType(); in TryDeMorganNegationFactoring()
254 int64_t implicit_mask = (value->GetType() == Primitive::kPrimLong) in VisitShift()
299 HRor* ror = new (GetGraph()->GetArena()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor()
326 DCHECK(Primitive::IsIntOrLongType(ushr->GetType())); in TryReplaceWithRotate()
327 if (ushr->GetType() == shl->GetType() && in TryReplaceWithRotate()
359 size_t reg_bits = Primitive::ComponentSize(ushr->GetType()) * kBitsPerByte; in TryReplaceWithRotateConstantPattern()
420 size_t reg_bits = Primitive::ComponentSize(ushr->GetType()) * kBitsPerByte; in TryReplaceWithRotateRegisterSubPattern()
578 if ((instruction->GetValue()->GetType() == Primitive::kPrimNot) in VisitInstanceFieldSet()
[all …]
Dssa_builder.h71 Primitive::Type type = aget->GetType(); in MaybeAddAmbiguousArrayGet()
79 Primitive::Type type = aset->GetValue()->GetType(); in MaybeAddAmbiguousArraySet()
Dinstruction_simplifier_arm.cc42 Primitive::Type type = use->GetType(); in TryMergeIntoShifterOperand()
74 shift_amount &= use->GetType() == Primitive::kPrimInt in TryMergeIntoShifterOperand()
147 Primitive::Type type = instruction->GetType(); in VisitArrayGet()
Dregister_allocation_resolver.cc102 switch (current->GetType()) { in Resolve()
121 LOG(FATAL) << "Unexpected type for interval " << current->GetType(); in Resolve()
207 switch (temp->GetType()) { in Resolve()
224 << temp->GetType(); in Resolve()
380 if (current->GetType() == Primitive::kPrimNot) { in ConnectSiblings()
541 AddMove(move, source, destination, nullptr, input->GetType()); in AddInputMoveFor()
621 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAt()
651 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAtExitOf()
671 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAtEntryOf()
695 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertMoveAfter()
Dreference_type_propagation.cc136 if (instr->GetType() == Primitive::kPrimNot) { in ValidateTypes()
558 DCHECK_EQ(instr->GetType(), Primitive::kPrimNot); in UpdateReferenceTypeInfo()
579 if (instr->GetType() == Primitive::kPrimNot && !instr->GetReferenceTypeInfo().IsValid()) { in VisitParameterValue()
589 if (instr->GetType() != Primitive::kPrimNot) { in UpdateFieldAccessTypeInfo()
598 klass = info.GetField()->GetType<false>(); in UpdateFieldAccessTypeInfo()
732 if (phi->IsDead() || phi->GetType() != Primitive::kPrimNot) { in VisitPhi()
801 DCHECK_EQ(Primitive::kPrimNot, instr->GetType()); in UpdateArrayGet()
845 if (instr->GetType() != Primitive::kPrimNot) { in VisitInvoke()
856 if (instr->GetType() != Primitive::kPrimNot) { in VisitArrayGet()
977 DCHECK_EQ(instruction->GetType(), Primitive::kPrimNot) in AddToWorklist()
[all …]
Dnodes.h1946 virtual Primitive::Type GetType() const { return Primitive::kPrimVoid; } in GetType() function
1967 DCHECK_EQ(GetType(), Primitive::kPrimNot) << "CanBeNull only applies to reference types"; in CanBeNull()
1976 return GetType() == Primitive::kPrimNot; in IsActualObject()
1982 DCHECK_EQ(GetType(), Primitive::kPrimNot); in GetReferenceTypeInfo()
2495 Primitive::Type GetType() const OVERRIDE { in GetType() function
2556 DCHECK_NE(GetType(), Primitive::kPrimVoid); in HVariableInputSizeInstruction()
2571 Primitive::Type GetType() const OVERRIDE { return GetPackedField<TypeField>(); } in GetType() function
2576 DCHECK(GetType() == new_type || in SetType()
2577 (GetType() == Primitive::kPrimInt && new_type == Primitive::kPrimFloat) || in SetType()
2578 (GetType() == Primitive::kPrimInt && new_type == Primitive::kPrimNot) || in SetType()
[all …]
Dcode_generator.cc114 DCHECK(CheckType(instruction->GetType(), locations->InAt(0))) in CheckTypeConsistency()
115 << instruction->GetType() in CheckTypeConsistency()
118 DCHECK(CheckType(instruction->GetType(), locations->Out())) in CheckTypeConsistency()
119 << instruction->GetType() in CheckTypeConsistency()
125 DCHECK(CheckType(inputs[i]->GetType(), locations->InAt(i))) in CheckTypeConsistency()
126 << inputs[i]->GetType() << " " << locations->InAt(i); in CheckTypeConsistency()
132 Primitive::Type type = environment->GetInstructionAt(i)->GetType(); in CheckTypeConsistency()
159 DCHECK(array_get->GetType() == Primitive::kPrimChar || !array_get->IsStringCharAt()); in GetArrayDataOffset()
162 : mirror::Array::DataOffset(Primitive::ComponentSize(array_get->GetType())).Uint32Value(); in GetArrayDataOffset()
329 locations->SetInAt(i, visitor->GetNextLocation(input->GetType())); in CreateCommonInvokeLocationSummary()
[all …]
Dx86_memory_gen.cc44 DCHECK_EQ(array->GetType(), Primitive::kPrimNot); in VisitBoundsCheck()
Dinstruction_simplifier_arm64.cc41 Primitive::Type type = use->GetType(); in TryMergeIntoShifterOperand()
54 left = GetGraph()->GetConstant(right->GetType(), 0); in TryMergeIntoShifterOperand()
Dintrinsics_utils.h70 codegen->MoveFromReturnRegister(out, invoke_->GetType()); in EmitNativeCode()
/art/compiler/linker/arm/
Drelative_patcher_arm_base.h77 ThunkType GetType() const { in GetType() function
103 if (lhs.GetType() != rhs.GetType()) { in operator()
104 return lhs.GetType() < rhs.GetType(); in operator()
Drelative_patcher_arm_base.cc302 if (patch_offset - offset <= MaxNegativeDisplacement(key.GetType())) { in GetThunkTargetOffset()
309 DCHECK_LE(offset - patch_offset, MaxPositiveDisplacement(key.GetType())); in GetThunkTargetOffset()
319 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in ProcessPatches()
331 } else if (patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch) { in ProcessPatches()
333 key_type = key.GetType(); in ProcessPatches()
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc55 switch (patch.GetType()) { in IsAdrpPatch()
254 DCHECK(patch.GetType() == LinkerPatch::Type::kStringRelative || in PatchPcRelativeReference()
255 patch.GetType() == LinkerPatch::Type::kTypeRelative) << patch.GetType(); in PatchPcRelativeReference()
258 DCHECK(patch.GetType() == LinkerPatch::Type::kStringRelative || in PatchPcRelativeReference()
259 patch.GetType() == LinkerPatch::Type::kTypeRelative || in PatchPcRelativeReference()
260 patch.GetType() == LinkerPatch::Type::kStringBssEntry || in PatchPcRelativeReference()
261 patch.GetType() == LinkerPatch::Type::kTypeBssEntry) << patch.GetType(); in PatchPcRelativeReference()
266 DCHECK(patch.GetType() == LinkerPatch::Type::kDexCacheArray || in PatchPcRelativeReference()
267 patch.GetType() == LinkerPatch::Type::kTypeBssEntry || in PatchPcRelativeReference()
268 patch.GetType() == LinkerPatch::Type::kStringBssEntry) << patch.GetType(); in PatchPcRelativeReference()
[all …]
/art/runtime/gc/space/
Dspace.h100 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()
/art/compiler/linker/
Drelative_patcher_test.h154 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in Link()
160 } else if (patch.GetType() == LinkerPatch::Type::kDexCacheArray) { in Link()
166 } else if (patch.GetType() == LinkerPatch::Type::kStringRelative) { in Link()
173 } else if (patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch) { in Link()
178 LOG(FATAL) << "Bad patch type. " << patch.GetType(); in Link()
/art/runtime/mirror/
Demulated_stack_frame.cc210 ObjPtr<mirror::ObjectArray<mirror::Class>> from_types(GetType()->GetPTypes()); in WriteToShadowFrame()
215 ThrowWrongMethodTypeException(callee_type.Get(), GetType()); in WriteToShadowFrame()
220 Handle<mirror::MethodType> frame_callsite_type(hs.NewHandle(GetType())); in WriteToShadowFrame()
233 Handle<mirror::Class> r_type(hs.NewHandle(GetType()->GetRType())); in GetReturnValue()
257 Handle<mirror::Class> r_type(hs.NewHandle(GetType()->GetRType())); in SetReturnValue()
Dfield.h75 return GetType()->GetPrimitiveType(); in GetTypeAsPrimitiveType()
78 mirror::Class* GetType() REQUIRES_SHARED(Locks::mutator_lock_) { in GetType() function
/art/compiler/jni/quick/
Dcalling_convention.h36 return Primitive::GetType(shorty_[0]); in GetReturnType()
40 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[0])); in SizeOfReturnValue()
186 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[param])); in ParamSize()

12345