Home
last modified time | relevance | path

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

12345

/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc59 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/
Dssa_builder.cc44 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 …]
Dgraph_checker.cc500 if (check_reference_type_info_ && instruction->GetType() == DataType::Type::kReference) { in VisitInstruction()
773 && DataType::Is64BitType(insn1->GetType()) == DataType::Is64BitType(insn2->GetType()); in IsSameSizeConstant()
820 if (DataType::Kind(input->GetType()) != DataType::Kind(phi->GetType())) { in VisitPhi()
825 DataType::PrettyDescriptor(input->GetType()), in VisitPhi()
826 DataType::PrettyDescriptor(phi->GetType()))); in VisitPhi()
829 if (phi->GetType() != HPhi::ToPhiType(phi->GetType())) { in VisitPhi()
833 DataType::PrettyDescriptor(phi->GetType()))); in VisitPhi()
912 if (phi->GetType() == other_phi->GetType()) { in VisitPhi()
914 type_str << phi->GetType(); in VisitPhi()
919 } else if (phi->GetType() == DataType::Type::kReference) { in VisitPhi()
[all …]
Dcommon_arm.h88 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()
Dpc_relative_fixups_x86.cc66 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()
223 if (input != nullptr && DataType::IsFloatingPointType(input->GetType())) { in HandleInvoke()
Dinstruction_simplifier_shared.cc28 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()
Dinstruction_simplifier.cc199 if (!DataType::IsIntegralType(binop->GetType())) { in TryMoveNegOnInputsAfterBinop()
206 HNeg* neg = new (GetGraph()->GetAllocator()) HNeg(binop->GetType(), binop); in TryMoveNegOnInputsAfterBinop()
215 DataType::Type type = op->GetType(); in TryDeMorganNegationFactoring()
341 int64_t implicit_mask = (value->GetType() == DataType::Type::kInt64) in VisitShift()
364 DCHECK_EQ(shift_amount->GetType(), DataType::Type::kInt32); in VisitShift()
395 DCHECK_NE(shift_amount->GetType(), DataType::Type::kBool); // We never convert to bool. in VisitShift()
396 DataType::Type source_type = shift_amount->InputAt(0)->GetType(); in VisitShift()
417 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor()
444 DCHECK(DataType::IsIntOrLongType(ushr->GetType())); in TryReplaceWithRotate()
445 if (ushr->GetType() == shl->GetType() && in TryReplaceWithRotate()
[all …]
Dcommon_arm64.h82 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()
Dinstruction_simplifier_x86_shared.cc22 DataType::Type type = instruction->GetType(); in TryCombineAndNot()
58 DataType::Type type = instruction->GetType(); in TryGenerateResetLeastSetBit()
91 DataType::Type type = instruction->GetType(); in TryGenerateMaskUptoLeastSetBit()
Dconstant_folding.cc220 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()
Dscheduler_arm.cc207 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 …]
Dinstruction_simplifier_arm.cc90 DataType::Type type = use->GetType(); in TryMergeIntoShifterOperand()
122 shift_amount &= use->GetType() == DataType::Type::kInt32 in TryMergeIntoShifterOperand()
127 if (!use->IsAdd() && (!use->IsSub() || use->GetType() != DataType::Type::kInt64)) { in TryMergeIntoShifterOperand()
195 DataType::Type type = instruction->GetType(); in VisitArrayGet()
Dssa_builder.h75 DataType::Type type = aget->GetType(); in MaybeAddAmbiguousArrayGet()
83 DataType::Type type = aset->GetValue()->GetType(); in MaybeAddAmbiguousArraySet()
Dregister_allocation_resolver.cc102 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()
545 AddMove(move, source, destination, nullptr, input->GetType()); in AddInputMoveFor()
625 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAt()
655 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAtExitOf()
675 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAtEntryOf()
699 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertMoveAfter()
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()
Dloop_optimization.cc119 if (instruction->GetType() == type) { in IsSignExtensionAndGet()
132 DataType::Type from = conv->GetType(); in IsSignExtensionAndGet()
133 switch (instruction->GetType()) { in IsSignExtensionAndGet()
184 if (instruction->GetType() == type) { in IsZeroExtensionAndGet()
197 DataType::Type from = conv->GetType(); in IsZeroExtensionAndGet()
198 switch (instruction->GetType()) { in IsZeroExtensionAndGet()
311 *b = graph->GetConstant(instruction->GetType(), (*c)); in IsAddConst2()
331 *b = graph->GetConstant(instruction->GetType(), -c); in IsSubConst2()
439 DataType::Type type = a->GetType(); in GetNarrowerType()
440 if (DataType::Size(b->GetType()) < DataType::Size(type)) { in GetNarrowerType()
[all …]
Dx86_memory_gen.cc44 DCHECK_EQ(array->GetType(), DataType::Type::kReference); in VisitBoundsCheck()
Dnodes.h2117 DataType::Type GetType() const { in GetType() function
2144 DCHECK_EQ(GetType(), DataType::Type::kReference) << "CanBeNull only applies to reference types"; in CanBeNull()
2167 return GetType() == DataType::Type::kReference; in IsActualObject()
2173 DCHECK_EQ(GetType(), DataType::Type::kReference); in GetReferenceTypeInfo()
2797 DCHECK_NE(GetType(), DataType::Type::kVoid); in HVariableInputSizeInstruction()
2818 DCHECK(GetType() == new_type || in SetType()
2819 (GetType() == DataType::Type::kInt32 && new_type == DataType::Type::kFloat32) || in SetType()
2820 (GetType() == DataType::Type::kInt32 && new_type == DataType::Type::kReference) || in SetType()
2821 (GetType() == DataType::Type::kInt64 && new_type == DataType::Type::kFloat64)); in SetType()
2858 if (next->GetType() == GetType()) { in GetNextEquivalentPhiWithSameType()
[all …]
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.h56 ThunkType GetType() const { in GetType() function
77 if (lhs.GetType() != rhs.GetType()) { in operator()
78 return lhs.GetType() < rhs.GetType(); in operator()
/art/dex2oat/linker/
Drelative_patcher_test.h172 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/
Dspace.h99 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/
Djava_frame_root_info.cc26 os << "Type=" << GetType() << " thread_id=" << GetThreadId() << " location=" << in Describe()
/art/runtime/mirror/
Demulated_stack_frame.cc211 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()
Demulated_stack_frame-inl.h29 inline ObjPtr<mirror::MethodType> EmulatedStackFrame::GetType() { in GetType() function
Dfield-inl.h37 return GetType()->GetPrimitiveType(); in GetTypeAsPrimitiveType()
40 inline ObjPtr<mirror::Class> Field::GetType() { in GetType() function

12345