Home
last modified time | relevance | path

Searched refs:DCHECK (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/art/runtime/verifier/
Dreg_type_cache-inl.h33 DCHECK(result != nullptr); in GetFromId()
39 DCHECK(value != 0 || precise); in FromCat1Const()
48 DCHECK(result.IsImpreciseConstant()); in ByteConstant()
55 DCHECK(result.IsImpreciseConstant()); in CharConstant()
61 DCHECK(result.IsImpreciseConstant()); in ShortConstant()
67 DCHECK(result.IsImpreciseConstant()); in IntConstant()
73 DCHECK(result.IsImpreciseConstant()); in PosByteConstant()
79 DCHECK(result.IsImpreciseConstant()); in PosShortConstant()
85 DCHECK(result->IsPreciseReference()); in JavaLangClass()
93 DCHECK(result->IsPreciseReference()); in JavaLangString()
[all …]
Dreg_type-inl.h128 DCHECK(instance_ != nullptr); in GetInstance()
133 DCHECK(instance_ != nullptr); in GetInstance()
138 DCHECK(instance_ != nullptr); in GetInstance()
143 DCHECK(instance_ != nullptr); in GetInstance()
148 DCHECK(instance_ != nullptr); in GetInstance()
153 DCHECK(instance_ != nullptr); in GetInstance()
158 DCHECK(instance_ != nullptr); in GetInstance()
163 DCHECK(instance_ != nullptr); in GetInstance()
169 DCHECK(instance_ != nullptr); in GetInstance()
174 DCHECK(BooleanType::instance_ != nullptr); in GetInstance()
[all …]
/art/runtime/gc/space/
Dspace-inl.h32 DCHECK(IsImageSpace()); in AsImageSpace()
37 DCHECK(IsMallocSpace()); in AsMallocSpace()
38 DCHECK(IsDlMallocSpace() || IsRosAllocSpace()); in AsMallocSpace()
43 DCHECK(IsLargeObjectSpace()); in AsLargeObjectSpace()
48 DCHECK(IsContinuousSpace()); in AsContinuousSpace()
53 DCHECK(IsDiscontinuousSpace()); in AsDiscontinuousSpace()
Dregion_space.cc74 DCHECK(!full_region_.IsFree()); in RegionSpace()
75 DCHECK(full_region_.IsAllocated()); in RegionSpace()
79 DCHECK(full_region_.Alloc(kAlignment, &ignored, nullptr, &ignored) == nullptr); in RegionSpace()
119 DCHECK((IsAllocated() || IsLarge()) && IsInToSpace()); in ShouldBeEvacuated()
136 DCHECK(IsLarge()); in ShouldBeEvacuated()
151 DCHECK(rb_table->IsAllCleared()); in SetFromSpace()
162 DCHECK(r->IsInToSpace()); in SetFromSpace()
164 DCHECK((state == RegionState::kRegionStateAllocated || in SetFromSpace()
170 DCHECK(r->IsInFromSpace()); in SetFromSpace()
173 DCHECK(r->IsInUnevacFromSpace()); in SetFromSpace()
[all …]
/art/runtime/simulator/
Dcode_simulator_arm64.cc37 DCHECK(kCanSimulate); in CodeSimulatorArm64()
43 DCHECK(kCanSimulate); in ~CodeSimulatorArm64()
49 DCHECK(kCanSimulate); in RunFrom()
54 DCHECK(kCanSimulate); in GetCReturnBool()
59 DCHECK(kCanSimulate); in GetCReturnInt32()
64 DCHECK(kCanSimulate); in GetCReturnInt64()
/art/compiler/optimizing/
Dcommon_dominator.h39 DCHECK(block != nullptr); in CommonDominator()
44 DCHECK(block != nullptr); in Update()
46 DCHECK(block2 != nullptr); in Update()
55 DCHECK(block != nullptr); in Update()
59 DCHECK(block2 != nullptr); in Update()
65 DCHECK(block != nullptr); in Update()
67 DCHECK(block2 != nullptr); in Update()
Dlocations.h84 DCHECK(!IsValid()); in Location()
99 DCHECK(constant != nullptr); in ConstantLocation()
104 DCHECK(IsConstant()); in GetConstant()
159 DCHECK(IsRegister() || IsFpuRegister()); in reg()
164 DCHECK(IsPair()); in low()
169 DCHECK(IsPair()); in high()
175 DCHECK(IsRegister()); in AsRegister()
181 DCHECK(IsFpuRegister()); in AsFpuRegister()
187 DCHECK(IsRegisterPair()); in AsRegisterPairLow()
193 DCHECK(IsRegisterPair()); in AsRegisterPairHigh()
[all …]
Dssa_builder.cc51 DCHECK(int_operand->IsIntConstant()) << int_operand->DebugName(); in FixNullConstantType()
73 DCHECK(next->GetNextEquivalentPhiWithSameType() == nullptr) in EquivalentPhisCleanup()
95 DCHECK(!phi->IsVRegEquivalentOf(next->GetNext())); in FixEnvironmentPhis()
144 DCHECK(Primitive::IsFloatingPointType(input_type) || input_type == Primitive::kPrimNot); in TypePhiFromInputs()
149 DCHECK(Primitive::IsFloatingPointType(common_type) || common_type == Primitive::kPrimNot); in TypePhiFromInputs()
152 DCHECK((common_type == Primitive::kPrimFloat && input_type == Primitive::kPrimNot) || in TypePhiFromInputs()
175 DCHECK(input->IsPhi() && input->GetType() == Primitive::kPrimVoid); in TypeInputsOfPhi()
177 DCHECK((input->IsPhi() && input->GetType() == Primitive::kPrimVoid) || in TypeInputsOfPhi()
185 DCHECK(common_type == Primitive::kPrimNot || Primitive::IsFloatingPointType(common_type)); in TypeInputsOfPhi()
217 DCHECK(phi->IsLive()); in UpdatePrimitiveType()
[all …]
Dnodes.cc80 DCHECK(ContainsElement(worklist, successor)); in FindBackEdges()
116 DCHECK(block->GetPhis().IsEmpty()) << "Phis are not inserted at this stage"; in RemoveInstructionsAsUsersFromDeadBlocks()
212 DCHECK(ContainsElement(block->GetSuccessors(), successor)); in UpdateDominatorOfSuccessor()
228 DCHECK(reverse_post_order_.empty()); in ComputeDominanceInformation()
296 DCHECK(!UpdateDominatorOfSuccessor(block, successor)); in ComputeDominanceInformation()
393 DCHECK(!block->IsLoopHeader() || !block->GetLoopInformation()->IsBackEdge(*first_predecessor)); in ComputeTryBlockInformation()
421 DCHECK(!successor->IsCatchBlock()); in SimplifyCFG()
425 DCHECK(block->IsSingleTryBoundary()); in SimplifyCFG()
514 DCHECK(cached_null_constant_->GetReferenceTypeInfo().IsValid()); in GetNullConstant()
540 DCHECK(IsUint<1>(value)); in GetConstant()
[all …]
Dregister_allocator.cc136 DCHECK(location.IsRegister() || location.IsFpuRegister()); in BlockRegister()
151 DCHECK(interval->GetRegister() == reg); in BlockRegister()
242 DCHECK(temp.IsUnallocated()); in ProcessInstruction()
283 DCHECK(instruction->IsSuspendCheckEntry()); in ProcessInstruction()
325 DCHECK(unhandled.empty() || current->StartsBeforeOrAt(unhandled.back())); in ProcessInstruction()
336 DCHECK(safepoint_index == safepoints_.size() || in ProcessInstruction()
391 DCHECK(output.IsUnallocated() || output.IsConstant()); in ProcessInstruction()
611 DCHECK(!current->IsFixed() && !current->HasSpillSlot()); in LinearScan()
613 DCHECK(unhandled_->empty() || unhandled_->back()->GetStart() >= current->GetStart()); in LinearScan()
615 DCHECK(!current->IsLowInterval() || unhandled_->back()->IsHighInterval()); in LinearScan()
[all …]
Dssa_liveness_analysis.h62 DCHECK(next_ == nullptr || next_->GetStart() > GetEnd()); in LiveRange()
116 DCHECK(environment == nullptr || user == nullptr); in UsePosition()
117 DCHECK(next_ == nullptr || next->GetPosition() >= GetPosition()); in UsePosition()
233 DCHECK(IsTemp()); in AddTempUse()
234 DCHECK(first_use_ == nullptr) << "A temporary can only have one user"; in AddTempUse()
235 DCHECK(first_env_use_ == nullptr) << "A temporary cannot have environment user"; in AddTempUse()
280 DCHECK(!is_environment);
285 DCHECK(first_use_->GetPosition() + 1 == position);
321 DCHECK(first_range_->GetStart() > position);
334 DCHECK(instruction->IsPhi()); in AddPhiUse()
[all …]
Dinstruction_simplifier_arm64.cc68 DCHECK(address->GetSideEffects().Includes(SideEffects::DependsOnGC())); in TryExtractArrayAccessAddress()
69 DCHECK(access->GetSideEffects().Includes(SideEffects::DependsOnGC())); in TryExtractArrayAccessAddress()
84 DCHECK(HasShifterOperand(use)); in TryMergeIntoShifterOperand()
85 DCHECK(use->IsBinaryOperation() || use->IsNeg()); in TryMergeIntoShifterOperand()
86 DCHECK(CanFitInShifterOperand(bitfield_op)); in TryMergeIntoShifterOperand()
87 DCHECK(!bitfield_op->HasEnvironmentUses()); in TryMergeIntoShifterOperand()
100 DCHECK(use->IsNeg()); in TryMergeIntoShifterOperand()
104 DCHECK(left == bitfield_op || right == bitfield_op); in TryMergeIntoShifterOperand()
154 DCHECK(CanFitInShifterOperand(bitfield_op)); in TryMergeIntoUsersShifterOperand()
179 DCHECK(merged); in TryMergeIntoUsersShifterOperand()
/art/runtime/base/
Dmutex.cc360 DCHECK(self == nullptr || self == Thread::Current()); in ExclusiveLock()
403 DCHECK(self == nullptr || self == Thread::Current()); in ExclusiveTryLock()
550 DCHECK(self == nullptr || self == Thread::Current()); in ExclusiveLock()
584 DCHECK(self == nullptr || self == Thread::Current()); in ExclusiveUnlock()
619 DCHECK(self == nullptr || self == Thread::Current()); in ExclusiveLockWithTimeout()
687 DCHECK(self == nullptr || self == Thread::Current()); in SharedTryLock()
716 DCHECK(self == nullptr || self == Thread::Current()); in IsSharedHeld()
788 DCHECK(self == nullptr || self == Thread::Current()); in Broadcast()
816 DCHECK(self == nullptr || self == Thread::Current()); in Signal()
838 DCHECK(self == nullptr || self == Thread::Current()); in WaitHoldingLocks()
[all …]
Ddchecked_vector.h134 reference front() { DCHECK(!empty()); return Base::front(); } in front()
135 const_reference front() const { DCHECK(!empty()); return Base::front(); } in front()
136 reference back() { DCHECK(!empty()); return Base::back(); } in back()
137 const_reference back() const { DCHECK(!empty()); return Base::back(); } in back()
146 void pop_back() { DCHECK(!empty()); Base::pop_back(); } in pop_back()
153 DCHECK(cbegin() <= position && position <= cend()); in insert()
157 DCHECK(cbegin() <= position && position <= cend()); in insert()
162 DCHECK(cbegin() <= position && position <= cend()); in insert()
166 DCHECK(cbegin() <= position && position <= cend()); in insert()
170 DCHECK(cbegin() <= position && position <= cend()); in insert()
[all …]
/art/runtime/
Dart_field-inl.h39 DCHECK(result != nullptr); in GetDeclaringClass()
40 DCHECK(result->IsLoaded() || result->IsErroneous()) << result->GetStatus(); in GetDeclaringClass()
49 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetAccessFlags()
54 DCHECK(GetDeclaringClass()->IsResolved() || GetDeclaringClass()->IsErroneous()); in GetOffset()
59 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetOffsetDuringLinking()
64 DCHECK(object != nullptr) << PrettyField(this); in Get32()
65 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get32()
74 DCHECK(object != nullptr) << PrettyField(this); in Set32()
75 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set32()
84 DCHECK(object != nullptr) << PrettyField(this); in Get64()
[all …]
Dart_method-inl.h108 DCHECK(IsRuntimeMethod() || GetDeclaringClass()->IsResolved() || in GetMethodIndex()
118 DCHECK(IsRuntimeMethod() || GetDeclaringClass()->IsIdxLoaded() || in GetDexMethodIndex()
153 DCHECK(new_method == nullptr || new_method->GetDeclaringClass() != nullptr); in SetDexCacheResolvedMethod()
263 DCHECK(!result || IsRuntimeMethod()); in IsResolutionMethod()
270 DCHECK(!result || IsRuntimeMethod()); in IsImtUnimplementedMethod()
283 DCHECK(!IsProxyMethod()); in GetDeclaringClassDescriptor()
289 DCHECK(!IsProxyMethod()); in GetShorty()
297 DCHECK(!IsProxyMethod()); in GetSignature()
307 DCHECK(!IsProxyMethod()); in GetName()
332 DCHECK(!IsProxyMethod()); in IsResolvedTypeIdx()
[all …]
Ddex_instruction_utils.h141 DCHECK(IsInstructionInvoke(opcode)); in IsInvokeInstructionRange()
148 DCHECK(IsInstructionInvoke(opcode)); in InvokeInstructionType()
157 DCHECK(IsInstructionIGet(code)); in IGetMemAccessType()
164 DCHECK(IsInstructionIPut(code)); in IPutMemAccessType()
171 DCHECK(IsInstructionSGet(code)); in SGetMemAccessType()
178 DCHECK(IsInstructionSPut(code)); in SPutMemAccessType()
185 DCHECK(IsInstructionAGet(code)); in AGetMemAccessType()
192 DCHECK(IsInstructionAPut(code)); in APutMemAccessType()
199 DCHECK(IsInstructionIGetOrIPut(code)); in IGetOrIPutMemAccessType()
205 DCHECK(IsInstructionIGetQuickOrIPutQuick(code)); in IGetQuickOrIPutQuickMemAccessType()
[all …]
/art/runtime/gc/accounting/
Dheap_bitmap.cc44 DCHECK(bitmap != nullptr); in AddContinuousSpaceBitmap()
56 DCHECK(bitmap != nullptr); in RemoveContinuousSpaceBitmap()
58 DCHECK(it != continuous_space_bitmaps_.end()); in RemoveContinuousSpaceBitmap()
63 DCHECK(bitmap != nullptr); in AddLargeObjectBitmap()
68 DCHECK(bitmap != nullptr); in RemoveLargeObjectBitmap()
70 DCHECK(it != large_object_bitmaps_.end()); in RemoveLargeObjectBitmap()
Dread_barrier_table.h52 DCHECK(IsValidHeapAddr(start_addr)) << start_addr; in Clear()
53 DCHECK(IsValidHeapAddr(end_addr)) << end_addr; in Clear()
61 DCHECK(IsValidHeapAddr(heap_addr)) << heap_addr; in IsSet()
63 DCHECK(entry_value == 0 || entry_value == kSetEntryValue); in IsSet()
90 DCHECK(IsValidHeapAddr(heap_addr)) << heap_addr; in EntryFromAddr()
92 DCHECK(IsValidEntry(entry_addr)) << "heap_addr: " << heap_addr in EntryFromAddr()
/art/runtime/mirror/
Dclass-inl.h46 DCHECK((!IsVariableSize<kVerifyFlags, kReadBarrierOption>())) << " class=" << PrettyTypeOf(this); in GetObjectSize()
54 DCHECK(IsLoaded<kVerifyFlags>() || in GetSuperClass()
84 DCHECK(IsLoaded() || IsErroneous()); in GetDirectMethodsSlice()
85 DCHECK(ValidPointerSize(pointer_size)) << pointer_size; in GetDirectMethodsSlice()
99 DCHECK(IsLoaded() || IsErroneous()); in GetDeclaredMethodsSlice()
100 DCHECK(ValidPointerSize(pointer_size)) << pointer_size; in GetDeclaredMethodsSlice()
113 DCHECK(IsLoaded() || IsErroneous()); in GetDeclaredVirtualMethodsSlice()
114 DCHECK(ValidPointerSize(pointer_size)) << pointer_size; in GetDeclaredVirtualMethodsSlice()
128 DCHECK(IsLoaded() || IsErroneous()); in GetVirtualMethodsSlice()
129 DCHECK(ValidPointerSize(pointer_size)) << pointer_size; in GetVirtualMethodsSlice()
[all …]
/art/runtime/native/
Djava_lang_reflect_Array.cc33 DCHECK(javaElementClass != nullptr); in Array_createMultiArray()
36 DCHECK(element_class->IsClass()); in Array_createMultiArray()
37 DCHECK(javaDimArray != nullptr); in Array_createMultiArray()
39 DCHECK(dimensions_obj->IsArrayInstance()); in Array_createMultiArray()
51 DCHECK(javaElementClass != nullptr); in Array_createObjectArray()
64 DCHECK(array_class->IsObjectArrayClass()); in Array_createObjectArray()
/art/runtime/lambda/
Dshorty_field_type.h78 DCHECK(MaybeCreate(c, &ignored)) << "unknown shorty field type '" << c << "'"; in ShortyFieldType()
85 DCHECK(out != nullptr); in MaybeCreate()
110 DCHECK(field_type_descriptor != nullptr); in CreateFromFieldTypeDescriptor()
129 DCHECK(field_type_descriptor != nullptr); in ParseFromFieldTypeDescriptor()
159 DCHECK(type_set); in ParseFromFieldTypeDescriptor()
160 DCHECK(safe_type == kObject); in ParseFromFieldTypeDescriptor()
175 DCHECK(type_set) << " invalid remaining type descriptor " << field_type_descriptor; in ParseFromFieldTypeDescriptor()
182 DCHECK(array_interior_type.IsPrimitive()); in ParseFromFieldTypeDescriptor()
193 DCHECK(safe_type == kLambda); in ParseFromFieldTypeDescriptor()
194 DCHECK(type_set); in ParseFromFieldTypeDescriptor()
[all …]
/art/runtime/gc/allocator/
Drosalloc.cc103 DCHECK(free_pages->IsFree()); in RosAlloc()
105 DCHECK(free_pages->IsFree()); in RosAlloc()
125 DCHECK(page_map_type == kPageMapRun || page_map_type == kPageMapLargeObject); in AllocPages()
131 DCHECK(fpr->IsFree()); in AllocPages()
174 DCHECK(last_free_page_run->IsFree()); in AllocPages()
175 DCHECK(IsFreePage(ToPageMapIndex(last_free_page_run))); in AllocPages()
226 DCHECK(it != free_page_runs_.rend()); in AllocPages()
229 DCHECK(last_free_page_run != nullptr); in AllocPages()
264 DCHECK(IsFreePage(page_map_idx + i)); in AllocPages()
307 DCHECK(pm_type == kPageMapRun || pm_type == kPageMapLargeObject); in FreePages()
[all …]
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h35 DCHECK(heap_->collector_type_ == kCollectorTypeCC); in Mark()
50 DCHECK(region_space_ != nullptr) << "Read barrier slow path taken when CC isn't running?"; in Mark()
66 DCHECK(region_space_->IsInToSpace(to_ref) || heap_->non_moving_space_->HasAddress(to_ref)) in Mark()
95 DCHECK(region_space_->IsInFromSpace(from_ref)); in GetFwdPtr()
99 DCHECK(fwd_ptr != nullptr); in GetFwdPtr()
/art/runtime/gc/
Dheap-inl.h80 DCHECK(obj != nullptr) << "AllocTlab can't fail"; in AllocObjectWithAllocator()
95 DCHECK(!is_running_on_memory_tool_); in AllocObjectWithAllocator()
175 DCHECK(!Runtime::Current()->HasStatsEnabled()); in AllocObjectWithAllocator()
181 DCHECK(allocation_records_ != nullptr); in AllocObjectWithAllocator()
185 DCHECK(!IsAllocTrackingEnabled()); in AllocObjectWithAllocator()
195 DCHECK(!gc_stress_mode_); in AllocObjectWithAllocator()
251 DCHECK(bump_pointer_space_ != nullptr); in TryToAllocate()
272 DCHECK(!is_running_on_memory_tool_); in TryToAllocate()
280 DCHECK(!rosalloc_space_->CanAllocThreadLocal(self, alloc_size)); in TryToAllocate()
293 DCHECK(!is_running_on_memory_tool_); in TryToAllocate()
[all …]

12345678910>>...14