Home
last modified time | relevance | path

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

123

/art/compiler/optimizing/
Dgraph_checker.cc302 type_str << phi->GetType(); in VisitBasicBlock()
483 if (PrimitiveKind(input->GetType()) != PrimitiveKind(phi->GetType())) { in VisitPhi()
488 Primitive::PrettyDescriptor(input->GetType()), in VisitPhi()
489 Primitive::PrettyDescriptor(phi->GetType()))); in VisitPhi()
492 if (phi->GetType() != HPhi::ToPhiType(phi->GetType())) { in VisitPhi()
496 Primitive::PrettyDescriptor(phi->GetType()))); in VisitPhi()
512 } else if (input->GetType() == Primitive::kPrimInt in HandleBooleanInput()
516 } else if (input->GetType() != Primitive::kPrimBoolean) { in HandleBooleanInput()
522 Primitive::PrettyDescriptor(input->GetType()))); in HandleBooleanInput()
538 if (op->GetType() != Primitive::kPrimBoolean) { in VisitCondition()
[all …]
Dssa_builder.cc58 Primitive::Type existing = phi->GetType(); in UpdateType()
73 Primitive::Type input_type = HPhi::ToPhiType(input->GetType()); in UpdateType()
90 DCHECK_EQ(equivalent->GetType(), Primitive::kPrimNot); in UpdateType()
127 phi->SetType(phi->InputAt(0)->GetType()); in VisitBasicBlock()
189 if ((left->GetType() == Primitive::kPrimNot) && (right->GetType() == Primitive::kPrimInt)) { in FixNullConstantType()
191 } else if ((right->GetType() == Primitive::kPrimNot) in FixNullConstantType()
192 && (left->GetType() == Primitive::kPrimInt)) { in FixNullConstantType()
224 << "More then one phi equivalent with type " << phi->GetType() in EquivalentPhisCleanup()
476 && next->GetType() != type) { in GetFloatDoubleOrReferenceEquivalentOfPhi()
483 || (next->GetType() != type)) { in GetFloatDoubleOrReferenceEquivalentOfPhi()
[all …]
Dprimitive_type_propagation.cc44 Primitive::Type existing = phi->GetType(); in UpdateType()
48 Primitive::Type input_type = phi->InputAt(i)->GetType(); in UpdateType()
60 if (input->GetType() != new_type) { in UpdateType()
127 if (phi != nullptr && phi->IsLive() && phi->GetType() != instruction->GetType()) { in AddDependentInstructionsToWorklist()
Dintrinsics.cc47 static Primitive::Type GetType(uint64_t data, bool is_op_size) { in GetType() function
85 switch (GetType(method.d.data, true)) { in GetIntrinsic()
95 switch (GetType(method.d.data, true)) { in GetIntrinsic()
155 switch (GetType(method.d.data, true)) { in GetIntrinsic()
171 switch (GetType(method.d.data, true)) { in GetIntrinsic()
208 switch (GetType(method.d.data, false)) { in GetIntrinsic()
221 switch (GetType(method.d.data, false)) { in GetIntrinsic()
239 switch (GetType(method.d.data, false)) { in GetIntrinsic()
Dcommon_arm64.h70 return RegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputRegister()
75 instr->InputAt(input_index)->GetType()); in InputRegisterAt()
94 return FPRegisterFrom(instr->GetLocations()->Out(), instr->GetType()); in OutputFPRegister()
99 instr->InputAt(input_index)->GetType()); in InputFPRegisterAt()
108 return Primitive::IsFloatingPointType(instr->GetType()) in OutputCPURegister()
114 return Primitive::IsFloatingPointType(instr->InputAt(index)->GetType()) in InputCPURegisterAt()
141 instr->InputAt(input_index)->GetType()); in InputOperandAt()
Dinstruction_simplifier.cc128 HNeg* neg = new (GetGraph()->GetArena()) HNeg(binop->GetType(), binop); in TryMoveNegOnInputsAfterBinop()
153 HAdd *add = new(GetGraph()->GetArena()) HAdd(instruction->GetType(), in VisitShift()
222 if (input_value->GetType() == Primitive::kPrimBoolean && input_const->IsIntConstant()) { in VisitEqual()
245 if (input_value->GetType() == Primitive::kPrimBoolean && input_const->IsIntConstant()) { in VisitNotEqual()
291 if (value->GetType() != Primitive::kPrimNot) return; in VisitArraySet()
320 if (Primitive::IsIntegralType(instruction->GetType())) { in VisitAdd()
350 HSub* sub = new(GetGraph()->GetArena()) HSub(instruction->GetType(), other, neg->GetInput()); in VisitAdd()
387 Primitive::Type type = instruction->GetType(); in VisitDiv()
441 Primitive::Type type = instruction->GetType(); in VisitMul()
531 !Primitive::IsFloatingPointType(input->GetType())) { in VisitNeg()
[all …]
Dconstant_folding.cc113 Primitive::Type type = instruction->GetType(); in VisitMul()
146 Primitive::Type type = instruction->GetType(); in VisitRem()
190 Primitive::Type type = instruction->GetType(); in VisitSub()
224 Primitive::Type type = instruction->GetType(); in VisitXor()
Dcode_generator.cc85 DCHECK(CheckType(instruction->GetType(), locations->InAt(0))) in CheckTypeConsistency()
86 << instruction->GetType() in CheckTypeConsistency()
89 DCHECK(CheckType(instruction->GetType(), locations->Out())) in CheckTypeConsistency()
90 << instruction->GetType() in CheckTypeConsistency()
95 DCHECK(CheckType(instruction->InputAt(i)->GetType(), locations->InAt(i))) in CheckTypeConsistency()
96 << instruction->InputAt(i)->GetType() in CheckTypeConsistency()
103 Primitive::Type type = environment->GetInstructionAt(i)->GetType(); in CheckTypeConsistency()
264 Primitive::Type type = temp->GetType(); in GetTemporaryLocation()
353 loc = AllocateFreeRegister(input->GetType()); in AllocateRegistersLocally()
360 loc = AllocateFreeRegister(input->GetType()); in AllocateRegistersLocally()
[all …]
Dintrinsics.h104 Location cc_loc = calling_convention_visitor->GetNextLocation(input->GetType()); in INTRINSICS_LIST()
107 parallel_move.AddMove(actual_loc, cc_loc, input->GetType(), nullptr); in INTRINSICS_LIST()
Dregister_allocator.cc91 bool is_core_register = (interval->GetType() != Primitive::kPrimDouble) in ShouldProcess()
92 && (interval->GetType() != Primitive::kPrimFloat); in ShouldProcess()
246 bool core_register = (instruction->GetType() != Primitive::kPrimDouble) in ProcessInstruction()
247 && (instruction->GetType() != Primitive::kPrimFloat); in ProcessInstruction()
312 if (codegen_->NeedsTwoRegisters(current->GetType())) { in ProcessInstruction()
1229 switch (interval->GetType()) { in AllocateSpillSlotFor()
1248 LOG(FATAL) << "Unexpected type for interval " << interval->GetType(); in AllocateSpillSlotFor()
1331 AddMove(move, source, destination, nullptr, input->GetType()); in AddInputMoveFor()
1411 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAt()
1441 AddMove(move, source, destination, instruction, instruction->GetType()); in InsertParallelMoveAtExitOf()
[all …]
Dgraph_visualizer.cc210 output_ << GetTypeId(inputs.Current()->GetType()) << inputs.Current()->GetId() << " "; in PrintInstruction()
223 output_ << GetTypeId(insn->GetType()) << insn->GetId() << " "; in PrintInstruction()
282 << GetTypeId(instruction->GetType()) << instruction->GetId() << " "; in PrintInstructions()
322 output_ << instruction->GetId() << " " << GetTypeId(instruction->GetType()) in VisitBasicBlock()
Dreference_type_propagation.cc203 if (phi->GetType() != Primitive::kPrimNot) { in VisitPhi()
328 DCHECK_EQ(instruction->GetType(), Primitive::kPrimNot) << instruction->GetType(); in AddToWorklist()
Dcode_generator_mips64.cc196 Primitive::Type type = at_->GetType(); in EmitNativeCode()
240 Primitive::Type type = instruction_->GetType(); in EmitNativeCode()
349 Primitive::Type ret_type = instruction_->GetType(); in EmitNativeCode()
430 codegen_->MoveLocation(move->GetDestination(), move->GetSource(), move->GetType()); in EmitMove()
435 codegen_->SwapLocations(move->GetDestination(), move->GetSource(), move->GetType()); in EmitSwap()
792 Primitive::Type type = instruction->GetType(); in Move()
834 Primitive::Type type = load->GetType(); in GetStackLocation()
1051 Primitive::Type type = instruction->GetType(); in HandleBinaryOp()
1159 Primitive::Type type = instr->GetType(); in HandleShift()
1257 if (Primitive::IsFloatingPointType(instruction->GetType())) { in VisitArrayGet()
[all …]
Dnodes.h1332 virtual Primitive::Type GetType() const { return Primitive::kPrimVoid; } in GetType() function
1350 DCHECK_EQ(GetType(), Primitive::kPrimNot) << "CanBeNull only applies to reference types"; in CanBeNull()
1360 DCHECK_EQ(GetType(), Primitive::kPrimNot); in SetReferenceTypeInfo()
1365 DCHECK_EQ(GetType(), Primitive::kPrimNot); in GetReferenceTypeInfo()
1716 Primitive::Type GetType() const OVERRIDE { return type_; } in GetType() function
1838 Primitive::Type GetResultType() const { return GetType(); } in GetResultType()
1872 Primitive::Type GetResultType() const { return GetType(); } in GetResultType()
2118 DCHECK_EQ(type, first->GetType()); in HCompare()
2119 DCHECK_EQ(type, second->GetType()); in HCompare()
2394 Primitive::Type GetType() const OVERRIDE { return return_type_; } in GetType() function
[all …]
Dcode_generator_arm64.cc188 Primitive::Type type = at_->GetType(); in EmitNativeCode()
230 Primitive::Type type = instruction_->GetType(); in EmitNativeCode()
332 Primitive::Type ret_type = instruction_->GetType(); in EmitNativeCode()
543 Primitive::Type type = instruction->GetType(); in Move()
582 Primitive::Type type = load->GetType(); in GetStackLocation()
850 Primitive::Type type = instruction->GetType(); in LoadAcquire()
1129 if (Primitive::IsFloatingPointType(instruction->GetType())) { in HandleFieldGet()
1164 if (Primitive::IsFloatingPointType(instruction->InputAt(1)->GetType())) { in HandleFieldSet()
1203 Primitive::Type type = instr->GetType(); in HandleBinaryOp()
1265 Primitive::Type type = instr->GetType(); in HandleShift()
[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()
Dzygote_space.h40 SpaceType GetType() const OVERRIDE { in GetType() function
Dimage_space.h34 SpaceType GetType() const { in GetType() function
Dzygote_space.cc73 os << GetType() in Dump()
/art/compiler/jni/quick/
Dcalling_convention.h34 return Primitive::GetType(shorty_[0]); in GetReturnType()
38 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[0])); in SizeOfReturnValue()
176 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[param])); in ParamSize()
/art/runtime/mirror/
Dfield.h73 return GetType()->GetPrimitiveType(); in GetTypeAsPrimitiveType()
76 mirror::Class* GetType() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetType() function
Dfield-inl.h35 Handle<mirror::Class> type = hs.NewHandle(field->GetType<true>()); in CreateFromArtField()
Dobject.cc214 mirror::Class* field_type = field->GetType<!kMovingCollector>(); in CheckFieldAssignmentImpl()
233 mirror::Class* field_type = field->GetType<!kMovingCollector>(); in CheckFieldAssignmentImpl()
/art/runtime/gc/collector/
Dimmune_region.cc64 DCHECK(space->GetType() != space::kSpaceTypeBumpPointerSpace); in ContainsSpace()
/art/runtime/
Dprimitive.h51 static Type GetType(char type) { in GetType() function

123