Home
last modified time | relevance | path

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

12345

/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc59 switch (patch.GetType()) { in IsAdrpPatch()
261 DCHECK(patch.GetType() == LinkerPatch::Type::kIntrinsicReference || in PatchPcRelativeReference()
262 patch.GetType() == LinkerPatch::Type::kMethodRelative || in PatchPcRelativeReference()
263 patch.GetType() == LinkerPatch::Type::kTypeRelative || in PatchPcRelativeReference()
264 patch.GetType() == LinkerPatch::Type::kStringRelative) << patch.GetType(); in PatchPcRelativeReference()
267 DCHECK(patch.GetType() == LinkerPatch::Type::kIntrinsicReference || in PatchPcRelativeReference()
268 patch.GetType() == LinkerPatch::Type::kMethodRelative || in PatchPcRelativeReference()
269 patch.GetType() == LinkerPatch::Type::kTypeRelative || in PatchPcRelativeReference()
270 patch.GetType() == LinkerPatch::Type::kStringRelative || in PatchPcRelativeReference()
271 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 (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.h97 DataType::Type type = instr->GetType(); in OutputSRegister()
103 DataType::Type type = instr->GetType(); in OutputDRegister()
109 DataType::Type type = instr->GetType(); in OutputVRegister()
118 DataType::Type type = instr->InputAt(input_index)->GetType(); in InputSRegisterAt()
124 DataType::Type type = instr->InputAt(input_index)->GetType(); in InputDRegisterAt()
130 DataType::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()
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.cc198 if (!DataType::IsIntegralType(binop->GetType())) { in TryMoveNegOnInputsAfterBinop()
205 HNeg* neg = new (GetGraph()->GetAllocator()) HNeg(binop->GetType(), binop); in TryMoveNegOnInputsAfterBinop()
214 DataType::Type type = op->GetType(); in TryDeMorganNegationFactoring()
351 int64_t implicit_mask = (value->GetType() == DataType::Type::kInt64) in VisitShift()
374 DCHECK_EQ(shift_amount->GetType(), DataType::Type::kInt32); in VisitShift()
405 DCHECK_NE(shift_amount->GetType(), DataType::Type::kBool); // We never convert to bool. in VisitShift()
406 DataType::Type source_type = shift_amount->InputAt(0)->GetType(); in VisitShift()
427 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor()
454 DCHECK(DataType::IsIntOrLongType(ushr->GetType())); in TryReplaceWithRotate()
455 if (ushr->GetType() == shl->GetType() && in TryReplaceWithRotate()
[all …]
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()
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 DataType::IsFloatingPointType(instr->GetType()) in OutputCPURegister()
137 return DataType::IsFloatingPointType(instr->InputAt(index)->GetType()) in InputCPURegisterAt()
145 DataType::Type input_type = input->GetType(); in InputCPURegisterOrZeroRegAt()
168 instr->InputAt(input_index)->GetType()); in InputOperandAt()
Dinstruction_simplifier_mips.cc84 DataType::Type another_packed_type = another_access->GetType(); in TryExtractArrayAccessIndex()
92 DataType::Type another_packed_type = another_access->GetType(); in TryExtractArrayAccessIndex()
121 DataType::Type packed_type = instruction->GetType(); in VisitArrayGet()
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()
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()
Dconstant_folding.cc235 if (DataType::IsFloatingPointType(input_value->GetType()) && in VisitCompare()
253 DataType::Type type = instruction->GetType(); in VisitMul()
286 DataType::Type type = instruction->GetType(); in VisitRem()
330 DataType::Type type = instruction->GetType(); in VisitSub()
364 DataType::Type type = instruction->GetType(); in VisitXor()
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()
Dnodes.h2102 DataType::Type GetType() const { in GetType() function
2129 DCHECK_EQ(GetType(), DataType::Type::kReference) << "CanBeNull only applies to reference types"; in CanBeNull()
2151 return GetType() == DataType::Type::kReference; in IsActualObject()
2157 DCHECK_EQ(GetType(), DataType::Type::kReference); in GetReferenceTypeInfo()
2781 DCHECK_NE(GetType(), DataType::Type::kVoid); in HVariableInputSizeInstruction()
2802 DCHECK(GetType() == new_type || in SetType()
2803 (GetType() == DataType::Type::kInt32 && new_type == DataType::Type::kFloat32) || in SetType()
2804 (GetType() == DataType::Type::kInt32 && new_type == DataType::Type::kReference) || in SetType()
2805 (GetType() == DataType::Type::kInt64 && new_type == DataType::Type::kFloat64)); in SetType()
2842 if (next->GetType() == GetType()) { in GetNextEquivalentPhiWithSameType()
[all …]
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.h55 ThunkType GetType() const { in GetType() function
76 if (lhs.GetType() != rhs.GetType()) { in operator()
77 return lhs.GetType() < rhs.GetType(); in operator()
/art/dex2oat/linker/
Drelative_patcher_test.h173 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in Link()
179 } else if (patch.GetType() == LinkerPatch::Type::kStringBssEntry) { in Link()
186 } else if (patch.GetType() == LinkerPatch::Type::kStringRelative) { in Link()
193 } else if (patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch) { in Link()
198 LOG(FATAL) << "Bad patch type. " << patch.GetType(); in Link()
302 : type_(patch.GetType()), in ThunkKey()
303 custom_value1_(patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch in ThunkKey()
305 custom_value2_(patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch in ThunkKey()
307 CHECK(patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch || in ThunkKey()
308 patch.GetType() == LinkerPatch::Type::kCallRelative); in ThunkKey()
/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/
Dfield-inl.h37 return GetType()->GetPrimitiveType(); in GetTypeAsPrimitiveType()
40 inline ObjPtr<mirror::Class> Field::GetType() { in GetType() function
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
/art/compiler/jni/quick/
Dcalling_convention.h38 return Primitive::GetType(shorty_[0]); in GetReturnType()
42 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[0])); in SizeOfReturnValue()
188 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[param])); in ParamSize()

12345