Home
last modified time | relevance | path

Searched refs:GetValue (Results 1 – 25 of 82) sorted by relevance

1234

/art/runtime/
Ddex_register_location.cc33 return stream << "sp+" << reg.GetValue(); in operator <<()
35 return stream << "r" << reg.GetValue(); in operator <<()
37 return stream << "r" << reg.GetValue() << "/hi"; in operator <<()
39 return stream << "f" << reg.GetValue(); in operator <<()
41 return stream << "f" << reg.GetValue() << "/hi"; in operator <<()
43 return stream << "#" << reg.GetValue(); in operator <<()
46 << "," << reg.GetValue() << ")"; in operator <<()
Dcheck_reference_map_visitor.h85 DCHECK_EQ(location.GetValue() % kFrameSlotSize, 0); in CheckOptimizedMethod()
86 CHECK(stack_mask.LoadBit(location.GetValue() / kFrameSlotSize)); in CheckOptimizedMethod()
90 CHECK_NE(register_mask & (1 << location.GetValue()), 0u); in CheckOptimizedMethod()
98 CHECK_EQ(location.GetValue(), 0); in CheckOptimizedMethod()
Dlock_word.h167 return LockWord().GetValue() == lw.GetValue(); in IsDefault()
255 return lw1.GetValue() == lw2.GetValue(); in Equal()
300 uint32_t GetValue() const { in GetValue() function
Ddex_register_location.h51 int32_t GetValue() const { return value_; } in GetValue() function
/art/compiler/optimizing/
Dload_store_analysis.cc56 idx1->GetConstantRight()->AsIntConstant()->GetValue() : in CanBinaryOpAndIndexAlias()
57 -idx1->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpAndIndexAlias()
85 idx1->GetConstantRight()->AsIntConstant()->GetValue() : in CanBinaryOpsAlias()
86 -idx1->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpsAlias()
88 idx2->GetConstantRight()->AsIntConstant()->GetValue() : in CanBinaryOpsAlias()
89 -idx2->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpsAlias()
111 int64_t l1 = idx1->AsIntConstant()->GetValue(); in CanArrayElementsAlias()
112 int64_t l2 = idx2->AsIntConstant()->GetValue(); in CanArrayElementsAlias()
Dnodes.h2956 int32_t GetValue() const { return value_; } in GetValue() function
2967 size_t ComputeHashCode() const override { return GetValue(); } in ComputeHashCode()
2969 bool IsMinusOne() const override { return GetValue() == -1; } in IsMinusOne()
2970 bool IsArithmeticZero() const override { return GetValue() == 0; } in IsArithmeticZero()
2971 bool IsZeroBitPattern() const override { return GetValue() == 0; } in IsZeroBitPattern()
2972 bool IsOne() const override { return GetValue() == 1; } in IsOne()
2976 bool IsTrue() const { return GetValue() == 1; } in IsTrue()
2977 bool IsFalse() const { return GetValue() == 0; } in IsFalse()
3002 int64_t GetValue() const { return value_; } in GetValue() function
3011 size_t ComputeHashCode() const override { return static_cast<size_t>(GetValue()); } in ComputeHashCode()
[all …]
Dconstant_folding_test.cc127 ASSERT_EQ(inst->AsIntConstant()->GetValue(), -1); in TEST_F()
188 ASSERT_EQ(inst->AsLongConstant()->GetValue(), INT64_C(-4294967296)); in TEST_F()
249 ASSERT_EQ(inst->AsIntConstant()->GetValue(), 3); in TEST_F()
328 ASSERT_EQ(inst1->AsIntConstant()->GetValue(), 12); in TEST_F()
331 ASSERT_EQ(inst2->AsIntConstant()->GetValue(), 9); in TEST_F()
334 ASSERT_EQ(inst3->AsIntConstant()->GetValue(), 3); in TEST_F()
399 ASSERT_EQ(inst->AsIntConstant()->GetValue(), 1); in TEST_F()
462 ASSERT_EQ(inst->AsLongConstant()->GetValue(), 3); in TEST_F()
526 ASSERT_EQ(inst->AsLongConstant()->GetValue(), 1); in TEST_F()
626 ASSERT_EQ(inst1->AsIntConstant()->GetValue(), 20); in TEST_F()
[all …]
Dnodes_x86.h146 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
150 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
194 return GetBlock()->GetGraph()->GetIntConstant(Compute(x->GetValue()), GetDexPc()); in Evaluate()
197 return GetBlock()->GetGraph()->GetLongConstant(Compute(x->GetValue()), GetDexPc()); in Evaluate()
Dnodes_shared.cc36 *shift_amount = instruction->AsShl()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
39 *shift_amount = instruction->AsShr()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
42 *shift_amount = instruction->AsUShr()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
Dssa_builder.cc59 DCHECK_EQ(0, int_operand->AsIntConstant()->GetValue()); in FixNullConstantType()
381 HInstruction* value = aset->GetValue(); in FixAmbiguousArrayOps()
591 float value = bit_cast<float, int32_t>(constant->GetValue()); in GetFloatEquivalent()
598 DCHECK_EQ((bit_cast<int32_t, float>(result->GetValue())), constant->GetValue()); in GetFloatEquivalent()
613 double value = bit_cast<double, int64_t>(constant->GetValue()); in GetDoubleEquivalent()
620 DCHECK_EQ((bit_cast<int64_t, double>(result->GetValue())), constant->GetValue()); in GetDoubleEquivalent()
708 if (value->IsIntConstant() && value->AsIntConstant()->GetValue() == 0) { in GetReferenceTypeEquivalent()
Dnodes_shared.h102 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
106 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
Dstack_map_test.cc98 ASSERT_EQ(0, location0.GetValue()); in TEST()
99 ASSERT_EQ(-2, location1.GetValue()); in TEST()
186 ASSERT_EQ(0, location0.GetValue()); in TEST()
187 ASSERT_EQ(-2, location1.GetValue()); in TEST()
225 ASSERT_EQ(18, location0.GetValue()); in TEST()
226 ASSERT_EQ(3, location1.GetValue()); in TEST()
258 ASSERT_EQ(6, location0.GetValue()); in TEST()
259 ASSERT_EQ(8, location1.GetValue()); in TEST()
291 ASSERT_EQ(3, location0.GetValue()); in TEST()
292 ASSERT_EQ(1, location1.GetValue()); in TEST()
[all …]
Dcommon_arm.h166 return instr->AsIntConstant()->GetValue(); in Int32ConstantFrom()
171 const int64_t ret = instr->AsLongConstant()->GetValue(); in Int32ConstantFrom()
185 return instr->AsIntConstant()->GetValue(); in Int64ConstantFrom()
190 return instr->AsLongConstant()->GetValue(); in Int64ConstantFrom()
Dgraph_visualizer.cc293 stream << constant->AsIntConstant()->GetValue(); in DumpLocation()
295 stream << constant->AsLongConstant()->GetValue(); in DumpLocation()
297 stream << constant->AsFloatConstant()->GetValue(); in DumpLocation()
299 stream << constant->AsDoubleConstant()->GetValue(); in DumpLocation()
349 StartAttributeStream() << instruction->GetValue(); in VisitIntConstant()
353 StartAttributeStream() << instruction->GetValue(); in VisitLongConstant()
357 StartAttributeStream() << instruction->GetValue(); in VisitFloatConstant()
361 StartAttributeStream() << instruction->GetValue(); in VisitDoubleConstant()
Dcode_generator.h493 return constant->AsIntConstant()->GetValue(); in GetInt8ValueOf()
498 return constant->AsIntConstant()->GetValue(); in GetInt16ValueOf()
503 return constant->AsIntConstant()->GetValue(); in GetInt32ValueOf()
508 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt32ValueOf()
514 return constant->AsIntConstant()->GetValue(); in GetInt64ValueOf()
518 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt64ValueOf()
520 return constant->AsLongConstant()->GetValue(); in GetInt64ValueOf()
523 return bit_cast<int64_t, double>(constant->AsDoubleConstant()->GetValue()); in GetInt64ValueOf()
Dinstruction_simplifier_shared.cc243 access->AsArraySet()->GetValue()->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress()
314 uint32_t another_data_offset = another_access->GetOffset()->AsIntConstant()->GetValue(); in TryExtractVecArrayAccessAddress()
315 size_t another_component_shift = another_access->GetShift()->AsIntConstant()->GetValue(); in TryExtractVecArrayAccessAddress()
Dintrinsics.cc198 int32_t value = invoke->InputAt(0)->AsIntConstant()->GetValue(); in ComputeIntegerValueOfLocations()
226 int32_t value = invoke->InputAt(0)->AsIntConstant()->GetValue(); in ComputeIntegerValueOfLocations()
310 int32_t input_value = invoke->InputAt(0)->AsIntConstant()->GetValue(); in ComputeIntegerValueOfInfo()
346 int32_t input_value = invoke->InputAt(0)->AsIntConstant()->GetValue(); in ComputeIntegerValueOfInfo()
Dbounds_check_elimination.cc40 int32_t instr_const = instruction->AsIntConstant()->GetValue(); in ValueBound()
78 int32_t v = right->AsIntConstant()->GetValue(); in IsAddOrSubAConstant()
98 return ValueBound(nullptr, instruction->AsIntConstant()->GetValue()); in AsValueBound()
114 return ValueBound(nullptr, instruction->AsIntConstant()->GetValue()); in DetectValueBoundFromValue()
444 int32_t initial_constant = initial_->AsIntConstant()->GetValue(); in Narrow()
867 int32_t constant = index->AsIntConstant()->GetValue(); in VisitBoundsCheck()
872 if (constant < array_length->AsIntConstant()->GetValue()) { in VisitBoundsCheck()
1011 ValueRange* range = left_range->Add(right->AsIntConstant()->GetValue()); in VisitAdd()
1026 ValueRange* range = left_range->Add(-right->AsIntConstant()->GetValue()); in VisitSub()
1082 right_const = right->AsIntConstant()->GetValue(); in FindAndHandlePartialArrayLength()
[all …]
/art/libartbase/base/
Dhiddenapi_flags.h148 DCHECK(GetValue() == val);
154 Value GetValue() const { in GetValue() function
187 uint32_t GetIntValue() const { return helper::ToUint(GetValue()) - helper::ToUint(Value::kMin); } in GetIntValue()
234 const Value val1 = GetValue(); in CanCombineWith()
235 const Value val2 = other.GetValue(); in CanCombineWith()
246 const Value val1 = GetValue();
247 const Value val2 = other.GetValue();
268 return ((other.GetValue() == Value::kInvalid) || (GetValue() == other.GetValue())) && in Contains()
273 bool IsValid() const { return GetValue() != Value::kInvalid; } in IsValid()
276 bool IsEmpty() const { return (GetValue() == Value::kInvalid) && (GetDomainApis() == 0); } in IsEmpty()
[all …]
/art/runtime/mirror/
Dstring.cc47 return FastIndexOf<uint16_t>(GetValue(), ch, start); in FastIndexOf()
56 hash_code = ComputeUtf16Hash(GetValue(), GetLength()); in ComputeHashCode()
66 return CountUtf8Bytes(GetValue(), GetLength()); in GetUtfLength()
142 uint16_t* new_value = new_string->GetValue(); in AllocFromStrings()
148 memcpy(new_value, string->GetValue(), length * sizeof(uint16_t)); in AllocFromStrings()
155 memcpy(new_value + length, string2->GetValue(), length2 * sizeof(uint16_t)); in AllocFromStrings()
179 uint16_t* array = string->GetValue(); in AllocFromUtf16()
213 uint16_t* utf16_data_out = string->GetValue(); in AllocFromModifiedUtf8()
277 const uint16_t* chars = GetValue(); in ToModifiedUtf8()
305 const uint16_t* uncompressed_chars = lhs->IsCompressed() ? rhs->GetValue() : lhs->GetValue(); in CompareTo()
[all …]
Dstring-inl.h54 return GetValue()[index]; in CharAt()
80 DCHECK(result != 0 || ComputeUtf16Hash(GetValue(), GetLength()) == 0) in GetHashCode()
Dstring-alloc-inl.h76 uint16_t* value = string->GetValue(); in operator()
110 memcpy(string->GetValue(), src, length * sizeof(uint16_t)); in operator()
140 const uint16_t* const src = src_string_->GetValue() + offset_; in operator()
146 memcpy(string->GetValue(), src, length * sizeof(uint16_t)); in operator()
246 ((string->IsCompressed()) ? true : String::AllASCII<uint16_t>(string->GetValue() + offset, in AllocFromString()
Dobject-readbarrier-inl.h67 old_val.GetValue(), in CasLockWord()
68 new_val.GetValue(), in CasLockWord()
/art/compiler/debug/
Delf_debug_loc_writer.h216 const int32_t value = reg_loc.GetValue(); in WriteDebugLocEntry()
221 reg_hi.GetValue() == value + 4) { in WriteDebugLocEntry()
227 reg_hi.GetValue() == value) { in WriteDebugLocEntry()
233 reg_hi.GetValue() == value + 1 && value % 2 == 0) { in WriteDebugLocEntry()
240 reg_hi.GetValue() == reg_lo.GetValue()) { in WriteDebugLocEntry()
/art/cmdline/
Dcmdline_parse_result.h83 const T& GetValue() const { in GetValue() function
91 T& GetValue() { in GetValue() function

1234