Home
last modified time | relevance | path

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

12345678910>>...14

/art/compiler/dex/
Dbb_optimizations.h38 DCHECK(data != nullptr); in Start()
40 DCHECK(c_unit != nullptr); in Start()
45 DCHECK(data != nullptr); in Gate()
47 DCHECK(c_unit != nullptr); in Gate()
62 DCHECK(data != nullptr); in Start()
64 DCHECK(c_unit != nullptr); in Start()
69 DCHECK(data != nullptr); in Gate()
71 DCHECK(c_unit != nullptr); in Gate()
86 DCHECK(data != nullptr); in Start()
88 DCHECK(c_unit != nullptr); in Start()
[all …]
Dpost_opt_passes.h40 DCHECK(data != nullptr); in Gate()
42 DCHECK(c_unit != nullptr); in Gate()
60 DCHECK(data != nullptr); in Start()
62 DCHECK(c_unit != nullptr); in Start()
102 DCHECK(data != nullptr); in Gate()
104 DCHECK(c_unit != nullptr); in Gate()
109 DCHECK(data != nullptr); in Start()
111 DCHECK(c_unit != nullptr); in Start()
126 DCHECK(data != nullptr); in Gate()
128 DCHECK(c_unit != nullptr); in Gate()
[all …]
Dbb_optimizations.cc27 DCHECK(data != nullptr); in Worker()
30 DCHECK(c_unit != nullptr); in Worker()
32 DCHECK(bb != nullptr); in Worker()
42 DCHECK(data != nullptr); in Worker()
45 DCHECK(c_unit != nullptr); in Worker()
47 DCHECK(bb != nullptr); in Worker()
58 DCHECK(data != nullptr); in Gate()
60 DCHECK(c_unit != nullptr); in Gate()
71 DCHECK(data != nullptr); in Worker()
74 DCHECK(c_unit != nullptr); in Worker()
[all …]
Dreg_storage.h210 DCHECK(!IsPair()) << "reg_ = 0x" << std::hex << reg_; in GetReg()
216 DCHECK(Valid()); in SetReg()
217 DCHECK(!IsPair()); in SetReg()
223 DCHECK(IsPair()); in SetLowReg()
229 DCHECK(IsPair()); in GetLowReg()
235 DCHECK(IsPair()); in GetLow()
241 DCHECK(IsPair()); in GetHighReg()
247 DCHECK(IsPair()); in GetHigh()
252 DCHECK(IsPair()); in SetHighReg()
273 DCHECK(!low.IsPair()); in MakeRegPair()
[all …]
Dpass_driver.h45 DCHECK(!pass_list_.empty()); in PassDriver()
55 DCHECK(new_pass != nullptr); in InsertPass()
56 DCHECK(new_pass->GetName() != nullptr); in InsertPass()
60 DCHECK(GetPass(new_pass->GetName()) == nullptr) in InsertPass()
72 DCHECK(pass_name != nullptr); in RunPass()
/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.h123 DCHECK(instance_ != nullptr); in GetInstance()
128 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()
164 DCHECK(instance_ != nullptr); in GetInstance()
169 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/
Dart_method-inl.h66 DCHECK(IsRuntimeMethod() || GetDeclaringClass()->IsIdxLoaded() || in GetAccessFlags()
72 DCHECK(IsRuntimeMethod() || GetDeclaringClass()->IsResolved() || in GetMethodIndex()
82 DCHECK(IsRuntimeMethod() || GetDeclaringClass()->IsIdxLoaded() || in GetDexMethodIndex()
105 DCHECK(new_method == nullptr || new_method->GetDeclaringClass() != nullptr); in SetDexCacheResolvedMethod()
156 DCHECK(!IsRuntimeMethod() && !IsProxyMethod()) << PrettyMethod(this); in GetCodeSize()
192 DCHECK(!Runtime::Current()->IsStarted()); in GetQuickOatCodeOffset()
197 DCHECK(!Runtime::Current()->IsStarted()); in SetQuickOatCodeOffset()
210 DCHECK(code_pointer != nullptr); in GetMappingTable()
230 DCHECK(code_pointer != nullptr); in GetVmapTable()
241 DCHECK(IsOptimized(sizeof(void*))); in GetOptimizedCodeInfo()
[all …]
Dart_field-inl.h38 DCHECK(result != nullptr); in GetDeclaringClass()
39 DCHECK(result->IsLoaded() || result->IsErroneous()); in GetDeclaringClass()
48 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetAccessFlags()
53 DCHECK(GetDeclaringClass()->IsResolved() || GetDeclaringClass()->IsErroneous()); in GetOffset()
58 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetOffsetDuringLinking()
63 DCHECK(object != nullptr) << PrettyField(this); in Get32()
64 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get32()
73 DCHECK(object != nullptr) << PrettyField(this); in Set32()
74 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set32()
83 DCHECK(object != nullptr) << PrettyField(this); in Get64()
[all …]
Dstack.cc107 DCHECK(thread == Thread::Current() || thread->IsSuspended()) << *thread; in StackVisitor()
160 DCHECK(!IsShadowFrame()); in GetNativePcOffset()
176 DCHECK(code_item != nullptr) << PrettyMethod(m); in IsReferenceVReg()
185 DCHECK(reg_bitmap != nullptr); in IsReferenceVReg()
193 DCHECK(context_ != nullptr); // You can't reliably read registers without a context. in GetVReg()
194 DCHECK(m == GetMethod()); in GetVReg()
201 DCHECK(cur_shadow_frame_ != nullptr); in GetVReg()
210 DCHECK(code_pointer != nullptr); in GetVRegFromQuickCode()
222 DCHECK(code_item != nullptr) << PrettyMethod(m); // Can't be null or how would we compile in GetVRegFromQuickCode()
233 DCHECK(code_pointer != nullptr); in GetVRegFromOptimizedCode()
[all …]
Ddex_instruction_utils.h131 DCHECK(IsInstructionInvoke(opcode)); in IsInvokeInstructionRange()
138 DCHECK(IsInstructionInvoke(opcode)); in InvokeInstructionType()
147 DCHECK(IsInstructionIGet(opcode)); in IGetMemAccessType()
154 DCHECK(IsInstructionIPut(opcode)); in IPutMemAccessType()
161 DCHECK(IsInstructionSGet(opcode)); in SGetMemAccessType()
168 DCHECK(IsInstructionSPut(opcode)); in SPutMemAccessType()
175 DCHECK(IsInstructionAGet(opcode)); in AGetMemAccessType()
182 DCHECK(IsInstructionAPut(opcode)); in APutMemAccessType()
189 DCHECK(IsInstructionIGetOrIPut(opcode)); in IGetOrIPutMemAccessType()
195 DCHECK(IsInstructionIGetQuickOrIPutQuick(code)); in IGetQuickOrIPutQuickMemAccessType()
[all …]
Doat.cc173 DCHECK(IsValid()); in UpdateChecksum()
189 DCHECK(IsValid()); in GetExecutableOffset()
198 DCHECK(IsValid()); in SetExecutableOffset()
210 DCHECK(IsValid()); in GetInterpreterToInterpreterBridgeOffset()
218 DCHECK(IsValid()); in SetInterpreterToInterpreterBridgeOffset()
230 DCHECK(IsValid()); in GetInterpreterToCompiledCodeBridgeOffset()
237 DCHECK(IsValid()); in SetInterpreterToCompiledCodeBridgeOffset()
249 DCHECK(IsValid()); in GetJniDlsymLookupOffset()
256 DCHECK(IsValid()); in SetJniDlsymLookupOffset()
268 DCHECK(IsValid()); in GetQuickGenericJniTrampolineOffset()
[all …]
/art/runtime/base/
Dmutex.cc357 DCHECK(self == nullptr || self == Thread::Current()); in ExclusiveLock()
400 DCHECK(self == nullptr || self == Thread::Current()); in ExclusiveTryLock()
547 DCHECK(self == nullptr || self == Thread::Current()); in ExclusiveLock()
581 DCHECK(self == nullptr || self == Thread::Current()); in ExclusiveUnlock()
616 DCHECK(self == nullptr || self == Thread::Current()); in ExclusiveLockWithTimeout()
684 DCHECK(self == nullptr || self == Thread::Current()); in SharedTryLock()
713 DCHECK(self == nullptr || self == Thread::Current()); in IsSharedHeld()
780 DCHECK(self == nullptr || self == Thread::Current()); in Broadcast()
808 DCHECK(self == nullptr || self == Thread::Current()); in Signal()
830 DCHECK(self == nullptr || self == Thread::Current()); in WaitHoldingLocks()
[all …]
/art/compiler/optimizing/
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_liveness_analysis.h62 DCHECK(next_ == nullptr || next_->GetStart() > GetEnd()); in LiveRange()
116 DCHECK((user == nullptr) in UsePosition()
120 DCHECK(next_ == nullptr || next->GetPosition() >= GetPosition()); in UsePosition()
235 DCHECK(IsTemp()); in AddTempUse()
236 DCHECK(first_use_ == nullptr) << "A temporary can only have one user"; in AddTempUse()
237 DCHECK(first_env_use_ == nullptr) << "A temporary cannot have environment user"; in AddTempUse()
268 DCHECK(position == instruction->GetLifetimePosition()
276 DCHECK(!is_environment);
281 DCHECK(first_use_->GetPosition() + 1 == position);
317 DCHECK(first_range_->GetStart() > position);
[all …]
Dnodes.cc57 DCHECK(block->GetPhis().IsEmpty()) << "Phis are not inserted at this stage"; in RemoveInstructionsAsUsersFromDeadBlocks()
136 DCHECK(reverse_post_order_.IsEmpty()); in ComputeDominanceInformation()
186 DCHECK(!reverse_post_order_.IsEmpty()); in TransformToSsa()
319 DCHECK(IsUint<1>(value)); in GetConstant()
325 DCHECK(IsInt(Primitive::ComponentSize(type) * kBitsPerByte, value)); in GetConstant()
339 DCHECK(cached_float_constants_.find(value) == cached_float_constants_.end()); in CacheFloatConstant()
345 DCHECK(cached_double_constants_.find(value) == cached_double_constants_.end()); in CacheDoubleConstant()
373 DCHECK(back_edge->GetDominator() != nullptr); in Populate()
406 DCHECK(HasSuspendCheck()); in Update()
414 DCHECK(header_->Dominates(back_edges_.Get(i))); in Update()
[all …]
/art/runtime/gc/accounting/
Dread_barrier_table.h52 DCHECK(IsValidHeapAddr(start_addr)) << start_addr; in Clear()
53 DCHECK(IsValidHeapAddr(end_addr)) << end_addr; in Clear()
54 DCHECK(IsAligned<kRegionSize>(start_addr)); in Clear()
55 DCHECK(IsAligned<kRegionSize>(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()
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()
/art/runtime/mirror/
Dclass-inl.h44 DCHECK((!IsVariableSize<kVerifyFlags, kReadBarrierOption>())) << " class=" << PrettyTypeOf(this); in GetObjectSize()
51 DCHECK(IsLoaded() || IsErroneous() || !Runtime::Current()->IsStarted()) << IsLoaded(); in GetSuperClass()
65 DCHECK(IsLoaded() || IsErroneous()); in GetDirectMethodsPtr()
78 DCHECK(GetDirectMethodsPtrUnchecked() == nullptr); in SetDirectMethodsPtr()
90 DCHECK(methods != nullptr); in GetDirectMethodUnchecked()
98 DCHECK(methods != nullptr); in GetDirectMethod()
105 DCHECK(IsLoaded<kVerifyFlags>() || IsErroneous<kVerifyFlags>()); in GetVirtualMethodsPtr()
119 DCHECK(IsResolved<kVerifyFlags>() || IsErroneous<kVerifyFlags>()) in GetVirtualMethod()
126 DCHECK(IsLoaded() || IsErroneous()); in GetVirtualMethodDuringLinking()
133 DCHECK(methods != nullptr); in GetVirtualMethodUnchecked()
[all …]
/art/compiler/dex/quick/
Dgen_loadstore.cc50 DCHECK(!rl_src.ref || (mir_graph_->ConstantValue(rl_src) == 0)); in LoadValueDirect()
53 DCHECK((rl_src.location == kLocDalvikFrame) || in LoadValueDirect()
91 DCHECK((rl_src.location == kLocDalvikFrame) || in LoadValueDirectWide()
110 DCHECK(!rl_src.ref || op_kind == kRefReg); in LoadValue()
142 DCHECK((live_sreg_ == INVALID_SREG) || in StoreValue()
148 DCHECK(!rl_dest.wide); in StoreValue()
149 DCHECK(!rl_src.wide); in StoreValue()
194 DCHECK(rl_src.wide); in LoadValueWide()
227 DCHECK((live_sreg_ == INVALID_SREG) || in StoreValueWide()
233 DCHECK(rl_dest.wide); in StoreValueWide()
[all …]
Dmir_to_lir-inl.h30 DCHECK(p->IsTemp()); in ClobberBody()
32 DCHECK(!(p->IsLive() && p->IsDirty())) << "Live & dirty temp in clobber"; in ClobberBody()
61 DCHECK(!insn->flags.use_def_invalid); in RawLIR()
72 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & NO_OPERAND)) in NewLIR0()
82 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & IS_UNARY_OP)) in NewLIR1()
92 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & IS_BINARY_OP)) in NewLIR2()
102 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & IS_BINARY_OP)) in NewLIR2NoDest()
112 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & IS_TERTIARY_OP)) in NewLIR3()
122 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & IS_QUAD_OP)) in NewLIR4()
133 DCHECK(IsPseudoLirOp(opcode) || (GetTargetInstFlags(opcode) & IS_QUIN_OP)) in NewLIR5()
[all …]
/art/runtime/gc/allocator/
Drosalloc.cc98 DCHECK(free_pages->IsFree()); in RosAlloc()
100 DCHECK(free_pages->IsFree()); in RosAlloc()
117 DCHECK(page_map_type == kPageMapRun || page_map_type == kPageMapLargeObject); in AllocPages()
123 DCHECK(fpr->IsFree()); in AllocPages()
166 DCHECK(last_free_page_run->IsFree()); in AllocPages()
167 DCHECK(IsFreePage(ToPageMapIndex(last_free_page_run))); in AllocPages()
218 DCHECK(it != free_page_runs_.rend()); in AllocPages()
221 DCHECK(last_free_page_run != nullptr); in AllocPages()
256 DCHECK(IsFreePage(page_map_idx + i)); in AllocPages()
299 DCHECK(pm_type == kPageMapRun || pm_type == kPageMapLargeObject); in FreePages()
[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()

12345678910>>...14