Home
last modified time | relevance | path

Searched refs:CHECK (Results 1 – 25 of 246) sorted by relevance

12345678910

/art/test/485-checker-dce-loop-update/smali/
DTestCase.smali26 # CHECK-START: int TestCase.testSingleExit(int, boolean) dead_code_elimination_final (before)
27 # CHECK-DAG: [[ArgX:i\d+]] ParameterValue
28 # CHECK-DAG: [[ArgY:z\d+]] ParameterValue
29 # CHECK-DAG: [[Cst1:i\d+]] IntConstant 1
30 # CHECK-DAG: [[Cst5:i\d+]] IntConstant 5
31 # CHECK-DAG: [[Cst7:i\d+]] IntConstant 7
32 # CHECK-DAG: [[PhiX:i\d+]] Phi [ [[ArgX]] [[Add5:i\d+]] [[Add7:i\d+]] ] loop_header:[[HeaderY:…
33 # CHECK-DAG: If [ [[ArgY]] ] loop_header:[[HeaderY]]
34 # CHECK-DAG: If [ [[Cst1]] ] loop_header:[[HeaderY]]
35 # CHECK-DAG: [[Add5]] Add [ [[PhiX]] [[Cst5]] ] loop_header:[[HeaderY]]
[all …]
/art/test/455-set-vreg/
Dset_vreg_jni.cc41 CHECK(GetVReg(m, 1, kReferenceVReg, &value)); in VisitFrame()
44 CHECK(SetVReg(m, 2, 5, kIntVReg)); in VisitFrame()
45 CHECK(SetVReg(m, 3, 4, kIntVReg)); in VisitFrame()
46 CHECK(SetVReg(m, 4, 3, kIntVReg)); in VisitFrame()
47 CHECK(SetVReg(m, 5, 2, kIntVReg)); in VisitFrame()
48 CHECK(SetVReg(m, 6, 1, kIntVReg)); in VisitFrame()
51 CHECK(GetVReg(m, 3, kReferenceVReg, &value)); in VisitFrame()
54 CHECK(SetVRegPair(m, 4, std::numeric_limits<int64_t>::max(), kLongLoVReg, kLongHiVReg)); in VisitFrame()
55 CHECK(SetVRegPair(m, 6, 4, kLongLoVReg, kLongHiVReg)); in VisitFrame()
56 CHECK(SetVRegPair(m, 8, 3, kLongLoVReg, kLongHiVReg)); in VisitFrame()
[all …]
/art/test/457-regs/
Dregs_jni.cc41 CHECK(GetVReg(m, 0, kIntVReg, &value)); in VisitFrame()
44 CHECK(GetVReg(m, 1, kIntVReg, &value)); in VisitFrame()
47 CHECK(GetVReg(m, 2, kIntVReg, &value)); in VisitFrame()
50 CHECK(GetVReg(m, 3, kIntVReg, &value)); in VisitFrame()
53 CHECK(GetVReg(m, 4, kIntVReg, &value)); in VisitFrame()
59 CHECK(GetVReg(m, 0, kIntVReg, &value)); in VisitFrame()
62 CHECK(GetVReg(m, 1, kIntVReg, &value)); in VisitFrame()
66 if (m->IsOptimized(sizeof(void*))) CHECK(!success); in VisitFrame()
68 CHECK(GetVReg(m, 3, kReferenceVReg, &value)); in VisitFrame()
71 CHECK(GetVReg(m, 4, kFloatVReg, &value)); in VisitFrame()
[all …]
/art/test/454-get-vreg/
Dget_vreg_jni.cc44 CHECK(GetVReg(m, 0, kIntVReg, &value)); in VisitFrame()
48 if (m->IsOptimized(sizeof(void*))) CHECK(!success); in VisitFrame()
51 if (m->IsOptimized(sizeof(void*))) CHECK(!success); in VisitFrame()
53 CHECK(GetVReg(m, 3, kReferenceVReg, &value)); in VisitFrame()
56 CHECK(GetVReg(m, 4, kIntVReg, &value)); in VisitFrame()
59 CHECK(GetVReg(m, 5, kFloatVReg, &value)); in VisitFrame()
63 CHECK(GetVReg(m, 6, kIntVReg, &value)); in VisitFrame()
66 CHECK(GetVReg(m, 7, kIntVReg, &value)); in VisitFrame()
69 CHECK(GetVReg(m, 8, kIntVReg, &value)); in VisitFrame()
72 CHECK(GetVReg(m, 9, kIntVReg, &value)); in VisitFrame()
[all …]
/art/compiler/utils/mips/
Dmanaged_register_mips.h91 CHECK(IsCoreRegister()); in AsCoreRegister()
96 CHECK(IsFRegister()); in AsFRegister()
101 CHECK(IsDRegister()); in AsDRegister()
106 CHECK(IsOverlappingDRegister()); in AsOverlappingDRegisterLow()
112 CHECK(IsOverlappingDRegister()); in AsOverlappingDRegisterHigh()
118 CHECK(IsRegisterPair()); in AsRegisterPairLow()
124 CHECK(IsRegisterPair()); in AsRegisterPairHigh()
130 CHECK(IsValidManagedRegister()); in IsCoreRegister()
135 CHECK(IsValidManagedRegister()); in IsFRegister()
141 CHECK(IsValidManagedRegister()); in IsDRegister()
[all …]
Dmanaged_register_mips.cc26 CHECK(IsValidManagedRegister()); in Overlaps()
27 CHECK(other.IsValidManagedRegister()); in Overlaps()
53 CHECK(IsOverlappingDRegister() || IsRegisterPair()); in AllocIdLow()
57 CHECK(IsOverlappingDRegister()); in AllocIdLow()
60 CHECK(IsRegisterPair()); in AllocIdLow()
/art/compiler/utils/arm64/
Dmanaged_register_arm64.h60 CHECK(IsXRegister()); in AsXRegister()
65 CHECK(IsWRegister()); in AsWRegister()
70 CHECK(IsDRegister()); in AsDRegister()
75 CHECK(IsSRegister()); in AsSRegister()
81 CHECK(IsValidManagedRegister()); in AsOverlappingWRegister()
87 CHECK(IsValidManagedRegister()); in AsOverlappingXRegister()
92 CHECK(IsValidManagedRegister()); in AsOverlappingSRegister()
97 CHECK(IsValidManagedRegister()); in AsOverlappingDRegister()
102 CHECK(IsValidManagedRegister()); in IsXRegister()
107 CHECK(IsValidManagedRegister()); in IsWRegister()
[all …]
Dassembler_arm64.cc138 CHECK(src.IsDRegister()) << src; in Store()
145 CHECK(src.IsXRegister()) << src; in StoreRef()
152 CHECK(src.IsXRegister()) << src; in StoreRawPtr()
159 CHECK(scratch.IsXRegister()) << scratch; in StoreImmediateToFrame()
168 CHECK(scratch.IsXRegister()) << scratch; in StoreImmediateToThread64()
177 CHECK(scratch.IsXRegister()) << scratch; in StoreStackOffsetToThread64()
277 CHECK(dest.IsDRegister()) << dest; in Load()
292 CHECK(dst.IsXRegister()) << dst; in LoadRef()
300 CHECK(dst.IsXRegister() && base.IsXRegister()); in LoadRef()
312 CHECK(dst.IsXRegister() && base.IsXRegister()); in LoadRawPtr()
[all …]
/art/compiler/utils/x86/
Dmanaged_register_x86.h93 CHECK(IsCpuRegister()); in AsByteRegister()
99 CHECK(IsCpuRegister()); in AsCpuRegister()
104 CHECK(IsXmmRegister()); in AsXmmRegister()
109 CHECK(IsX87Register()); in AsX87Register()
115 CHECK(IsRegisterPair()); in AsRegisterPairLow()
121 CHECK(IsRegisterPair()); in AsRegisterPairHigh()
127 CHECK(IsRegisterPair()); in AsRegisterPair()
133 CHECK(IsValidManagedRegister()); in IsCpuRegister()
138 CHECK(IsValidManagedRegister()); in IsXmmRegister()
144 CHECK(IsValidManagedRegister()); in IsX87Register()
[all …]
/art/compiler/utils/arm/
Dmanaged_register_arm.h89 CHECK(IsCoreRegister()); in AsCoreRegister()
94 CHECK(IsSRegister()); in AsSRegister()
99 CHECK(IsDRegister()); in AsDRegister()
104 CHECK(IsOverlappingDRegister()); in AsOverlappingDRegisterLow()
110 CHECK(IsOverlappingDRegister()); in AsOverlappingDRegisterHigh()
116 CHECK(IsRegisterPair()); in AsRegisterPair()
126 CHECK(IsRegisterPair()); in AsRegisterPairLow()
132 CHECK(IsRegisterPair()); in AsRegisterPairHigh()
138 CHECK(IsValidManagedRegister()); in IsCoreRegister()
143 CHECK(IsValidManagedRegister()); in IsSRegister()
[all …]
Dassembler_arm.cc79 CHECK(immed < (1u << 12) || ArmAssembler::ModifiedImmediate(immed) != kInvalidModifiedImmediate); in ShifterOperand()
84 CHECK(is_valid()); in encodingArm()
165 CHECK(IsAbsoluteUint<12>(offset_)); in encodingArm()
277 CHECK(IsAbsoluteUint<10>(offset_)); // In the range -1020 to +1020. in vencoding()
283 CHECK((am_ == Offset) || (am_ == NegOffset)); in vencoding()
498 CHECK(src.IsDRegister()) << src; in Store()
505 CHECK(src.IsCoreRegister()) << src; in StoreRef()
511 CHECK(src.IsCoreRegister()) << src; in StoreRawPtr()
534 CHECK(dst.IsCoreRegister() && dst.IsCoreRegister()) << dst; in LoadRef()
544 CHECK(dst.IsCoreRegister()) << dst; in LoadRef()
[all …]
/art/runtime/mirror/
Dmethod.cc33 CHECK(static_class_.IsNull()) << static_class_.Read() << " " << klass; in SetClass()
34 CHECK(klass != nullptr); in SetClass()
39 CHECK(!static_class_.IsNull()); in ResetClass()
44 CHECK(array_class_.IsNull()) << array_class_.Read() << " " << klass; in SetArrayClass()
45 CHECK(klass != nullptr); in SetArrayClass()
50 CHECK(!array_class_.IsNull()); in ResetArrayClass()
69 CHECK(static_class_.IsNull()) << static_class_.Read() << " " << klass; in SetClass()
70 CHECK(klass != nullptr); in SetClass()
75 CHECK(!static_class_.IsNull()); in ResetClass()
80 CHECK(array_class_.IsNull()) << array_class_.Read() << " " << klass; in SetArrayClass()
[all …]
Ddex_cache.cc37 CHECK(dex_file != nullptr); in Init()
38 CHECK(location != nullptr); in Init()
39 CHECK(strings != nullptr); in Init()
40 CHECK(resolved_types != nullptr); in Init()
41 CHECK(resolved_methods != nullptr); in Init()
42 CHECK(resolved_fields != nullptr); in Init()
60 CHECK(trampoline != nullptr); in Fixup()
61 CHECK(trampoline->IsRuntimeMethod()); in Fixup()
Dfield.cc31 CHECK(static_class_.IsNull()) << static_class_.Read() << " " << klass; in SetClass()
32 CHECK(klass != nullptr); in SetClass()
37 CHECK(!static_class_.IsNull()); in ResetClass()
42 CHECK(array_class_.IsNull()) << array_class_.Read() << " " << klass; in SetArrayClass()
43 CHECK(klass != nullptr); in SetArrayClass()
48 CHECK(!array_class_.IsNull()); in ResetArrayClass()
72 CHECK(art_field != nullptr); in GetArtField()
Dreference.cc28 CHECK(java_lang_ref_Reference_.IsNull()); in SetClass()
29 CHECK(java_lang_ref_Reference != nullptr); in SetClass()
34 CHECK(!java_lang_ref_Reference_.IsNull()); in ResetClass()
Dthrowable.cc45 CHECK(cause != nullptr); in SetCause()
46 CHECK(cause != this); in SetCause()
48 CHECK(current_cause == nullptr || current_cause == this); in SetCause()
57 CHECK(state != nullptr); in SetStackState()
153 CHECK(java_lang_Throwable_.IsNull()); in SetClass()
154 CHECK(java_lang_Throwable != nullptr); in SetClass()
159 CHECK(!java_lang_Throwable_.IsNull()); in ResetClass()
Darray.cc55 CHECK(self->IsExceptionPending()); in RecursiveCreateMultiArray()
66 CHECK(self->IsExceptionPending()); in RecursiveCreateMultiArray()
101 CHECK(self->IsExceptionPending()); in CreateMultiArray()
108 CHECK(self->IsExceptionPending()); in CreateMultiArray()
115 CHECK(self->IsExceptionPending()); in CreateMultiArray()
129 CHECK(GetClass()->GetComponentType()->IsPrimitive()) << "Will miss write barriers"; in CopyOf()
/art/compiler/utils/x86_64/
Dmanaged_register_x86_64.h92 CHECK(IsCpuRegister()); in AsCpuRegister()
97 CHECK(IsXmmRegister()); in AsXmmRegister()
102 CHECK(IsX87Register()); in AsX87Register()
108 CHECK(IsRegisterPair()); in AsRegisterPairLow()
114 CHECK(IsRegisterPair()); in AsRegisterPairHigh()
120 CHECK(IsValidManagedRegister()); in IsCpuRegister()
125 CHECK(IsValidManagedRegister()); in IsXmmRegister()
131 CHECK(IsValidManagedRegister()); in IsX87Register()
137 CHECK(IsValidManagedRegister()); in IsRegisterPair()
176 CHECK(!IsNoRegister()); in RegId()
[all …]
/art/compiler/utils/mips64/
Dmanaged_register_mips64.h43 CHECK(IsGpuRegister()); in AsGpuRegister()
48 CHECK(IsFpuRegister()); in AsFpuRegister()
53 CHECK(IsValidManagedRegister()); in IsGpuRegister()
58 CHECK(IsValidManagedRegister()); in IsFpuRegister()
86 CHECK(!IsNoRegister()); in RegId()
91 CHECK(IsValidManagedRegister()); in AllocId()
105 CHECK(reg.IsValidManagedRegister()); in FromRegId()
116 CHECK(reg.IsNoRegister() || reg.IsValidManagedRegister()); in AsMips64()
/art/runtime/
Doat.cc100 CHECK(IsAligned<kPageSize>(image_file_location_oat_data_begin)); in OatHeader()
163 CHECK(IsValid()); in GetMagic()
168 CHECK(IsValid()); in GetChecksum()
179 CHECK(IsValid()); in GetInstructionSet()
184 CHECK(IsValid()); in GetInstructionSetFeaturesBitmap()
211 CHECK(interpreter_to_interpreter_bridge_offset_ == 0 || in GetInterpreterToInterpreterBridgeOffset()
217 CHECK(offset == 0 || offset >= executable_offset_); in SetInterpreterToInterpreterBridgeOffset()
236 CHECK(offset == 0 || offset >= interpreter_to_interpreter_bridge_offset_); in SetInterpreterToCompiledCodeBridgeOffset()
255 CHECK(offset == 0 || offset >= interpreter_to_compiled_code_bridge_offset_); in SetJniDlsymLookupOffset()
274 CHECK(offset == 0 || offset >= jni_dlsym_lookup_offset_); in SetQuickGenericJniTrampolineOffset()
[all …]
Dcheck_reference_map_visitor.h76 CHECK(reg < m->GetCodeItem()->registers_size_); in CheckOptimizedMethod()
82 CHECK(false); in CheckOptimizedMethod()
86 CHECK(stack_mask.LoadBit(location.GetValue() / kFrameSlotSize)); in CheckOptimizedMethod()
93 CHECK(false); in CheckOptimizedMethod()
110 CHECK(ref_bitmap); in CheckQuickMethod()
113 CHECK(reg < m->GetCodeItem()->registers_size_); in CheckQuickMethod()
114 CHECK((*((ref_bitmap) + reg / 8) >> (reg % 8) ) & 0x01) in CheckQuickMethod()
Ddex_method_iterator.h107 CHECK(HasNext()); in GetDexFile()
112 CHECK(HasNext()); in GetMemberIndex()
117 CHECK(HasNext()); in GetInvokeType()
118 CHECK(class_def_ != nullptr); in GetInvokeType()
124 CHECK(it_.get() != nullptr); in GetIterator()
131 CHECK(dex_file != nullptr); in GetDexFileInternal()
/art/runtime/gc/collector/
Dconcurrent_copying.cc64 CHECK(kUseBakerReadBarrier || kUseTableLookupReadBarrier); in RunPhases()
65 CHECK(!is_active_); in RunPhases()
97 CHECK(is_active_); in RunPhases()
108 CHECK(space->IsZygoteSpace() || space->IsImageSpace()); in BindBitmaps()
109 CHECK(immune_region_.AddContinuousSpace(space)) << "Failed to add space " << *space; in BindBitmaps()
135 CHECK(mark_queue_.IsEmpty()); in InitializePhase()
164 CHECK(thread == self || thread->IsSuspended() || thread->GetState() == kWaitingPerformingGc) in Run()
202 CHECK(thread == self); in Run()
213 CHECK(Runtime::Current()->IsAotCompiler()); in Run()
285 CHECK(!kUseBakerReadBarrier || obj->GetReadBarrierPointer() == ReadBarrier::GrayPtr()); in operator ()()
[all …]
/art/runtime/verifier/
Dreg_type.cc52 CHECK(klass != nullptr); in PrimitiveType()
53 CHECK(!descriptor.empty()); in PrimitiveType()
70 CHECK(IsPreciseConstant()); in Dump()
130 CHECK(instance_ == nullptr); in CreateInstance()
145 CHECK(instance_ == nullptr); in CreateInstance()
159 CHECK(instance_ == nullptr); in CreateInstance()
166 CHECK(instance_ == nullptr); in CreateInstance()
187 CHECK(instance_ == nullptr); in CreateInstance()
201 CHECK(instance_ == nullptr); in CreateInstance()
215 CHECK(instance_ == nullptr); in CreateInstance()
[all …]
/art/test/461-get-reference-vreg/
Dget_reference_vreg_jni.cc43 CHECK(GetVReg(m, 1, kReferenceVReg, &value)); in VisitFrame()
49 CHECK(GetVReg(m, 1, kReferenceVReg, &value)); in VisitFrame()
53 CHECK(GetVReg(m, 1, kReferenceVReg, &value)); in VisitFrame()
57 CHECK(GetVReg(m, 0, kReferenceVReg, &value)); in VisitFrame()

12345678910