Home
last modified time | relevance | path

Searched refs:GetValue (Results 1 – 25 of 77) 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.h96 DCHECK_EQ(location.GetValue() % kFrameSlotSize, 0); in CheckOptimizedMethod()
97 CHECK(stack_mask.LoadBit(location.GetValue() / kFrameSlotSize)); in CheckOptimizedMethod()
101 CHECK_NE(register_mask & (1 << location.GetValue()), 0u); in CheckOptimizedMethod()
109 CHECK_EQ(location.GetValue(), 0); in CheckOptimizedMethod()
Dlock_word.h169 return LockWord().GetValue() == lw.GetValue(); in IsDefault()
258 return lw1.GetValue() == lw2.GetValue(); in Equal()
303 uint32_t GetValue() const { in GetValue() function
Ddex_register_location.h51 int32_t GetValue() const { return value_; } in GetValue() function
Dstring_builder_append.cc59 DCHECK_GE(new_string->GetLength(), data - new_string->GetValue()); in RemainingSpace()
60 return new_string->GetLength() - (data - new_string->GetValue()); in RemainingSpace()
175 const uint16_t* value = str->GetValue(); in AppendString()
344 StoreData(new_string, new_string->GetValue()); in operator ()()
/art/compiler/optimizing/
Dload_store_analysis.cc52 idx1->GetConstantRight()->AsIntConstant()->GetValue() : in CanBinaryOpAndIndexAlias()
53 -idx1->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpAndIndexAlias()
81 idx1->GetConstantRight()->AsIntConstant()->GetValue() : in CanBinaryOpsAlias()
82 -idx1->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpsAlias()
84 idx2->GetConstantRight()->AsIntConstant()->GetValue() : in CanBinaryOpsAlias()
85 -idx2->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpsAlias()
107 int64_t l1 = idx1->AsIntConstant()->GetValue(); in CanArrayElementsAlias()
108 int64_t l2 = idx2->AsIntConstant()->GetValue(); in CanArrayElementsAlias()
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.h3028 int32_t GetValue() const { return value_; } in GetValue() function
3039 size_t ComputeHashCode() const override { return GetValue(); } in ComputeHashCode()
3041 bool IsMinusOne() const override { return GetValue() == -1; } in IsMinusOne()
3042 bool IsArithmeticZero() const override { return GetValue() == 0; } in IsArithmeticZero()
3043 bool IsZeroBitPattern() const override { return GetValue() == 0; } in IsZeroBitPattern()
3044 bool IsOne() const override { return GetValue() == 1; } in IsOne()
3048 bool IsTrue() const { return GetValue() == 1; } in IsTrue()
3049 bool IsFalse() const { return GetValue() == 0; } in IsFalse()
3074 int64_t GetValue() const { return value_; } in GetValue() function
3083 size_t ComputeHashCode() const override { return static_cast<size_t>(GetValue()); } in ComputeHashCode()
[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()
Dnodes_shared.h102 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
106 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
Dssa_builder.cc59 DCHECK_EQ(0, int_operand->AsIntConstant()->GetValue()); in FixNullConstantType()
381 HInstruction* value = aset->GetValue(); in FixAmbiguousArrayOps()
610 float value = bit_cast<float, int32_t>(constant->GetValue()); in GetFloatEquivalent()
617 DCHECK_EQ((bit_cast<int32_t, float>(result->GetValue())), constant->GetValue()); in GetFloatEquivalent()
632 double value = bit_cast<double, int64_t>(constant->GetValue()); in GetDoubleEquivalent()
639 DCHECK_EQ((bit_cast<int64_t, double>(result->GetValue())), constant->GetValue()); in GetDoubleEquivalent()
727 if (value->IsIntConstant() && value->AsIntConstant()->GetValue() == 0) { in GetReferenceTypeEquivalent()
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.h157 return instr->AsIntConstant()->GetValue(); in Int32ConstantFrom()
162 const int64_t ret = instr->AsLongConstant()->GetValue(); in Int32ConstantFrom()
176 return instr->AsIntConstant()->GetValue(); in Int64ConstantFrom()
181 return instr->AsLongConstant()->GetValue(); in Int64ConstantFrom()
Dload_store_elimination.cc290 heap_value = heap_value->AsInstanceFieldSet()->GetValue(); in GetRealHeapValue()
292 heap_value = heap_value->AsStaticFieldSet()->GetValue(); in GetRealHeapValue()
294 heap_value = heap_value->AsVecStore()->GetValue(); in GetRealHeapValue()
297 heap_value = heap_value->AsArraySet()->GetValue(); in GetRealHeapValue()
716 VisitSetLocation(instruction, idx, instruction->GetValue()); in VisitArraySet()
725 VisitSetLocation(instruction, idx, instruction->GetValue()); in VisitVecStore()
873 new_array->GetLength()->AsIntConstant()->GetValue() >= 0) { in VisitNewArray()
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()
Dgraph_visualizer.cc299 stream << constant->AsIntConstant()->GetValue(); in DumpLocation()
301 stream << constant->AsLongConstant()->GetValue(); in DumpLocation()
303 stream << constant->AsFloatConstant()->GetValue(); in DumpLocation()
305 stream << constant->AsDoubleConstant()->GetValue(); in DumpLocation()
355 StartAttributeStream() << instruction->GetValue(); in VisitIntConstant()
359 StartAttributeStream() << instruction->GetValue(); in VisitLongConstant()
363 StartAttributeStream() << instruction->GetValue(); in VisitFloatConstant()
367 StartAttributeStream() << instruction->GetValue(); in VisitDoubleConstant()
Dcode_generator.h526 return constant->AsIntConstant()->GetValue(); in GetInt8ValueOf()
531 return constant->AsIntConstant()->GetValue(); in GetInt16ValueOf()
536 return constant->AsIntConstant()->GetValue(); in GetInt32ValueOf()
541 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt32ValueOf()
547 return constant->AsIntConstant()->GetValue(); in GetInt64ValueOf()
551 return bit_cast<int32_t, float>(constant->AsFloatConstant()->GetValue()); in GetInt64ValueOf()
553 return constant->AsLongConstant()->GetValue(); in GetInt64ValueOf()
556 return bit_cast<int64_t, double>(constant->AsDoubleConstant()->GetValue()); in GetInt64ValueOf()
/art/libartbase/base/
Dhiddenapi_flags.h163 DCHECK(GetValue() == val);
169 Value GetValue() const { in GetValue() function
205 uint32_t GetIntValue() const { return helper::ToUint(GetValue()) - helper::ToUint(Value::kMin); } in GetIntValue()
253 const Value val1 = GetValue(); in CanCombineWith()
254 const Value val2 = other.GetValue(); in CanCombineWith()
265 const Value val1 = GetValue();
266 const Value val2 = other.GetValue();
287 return ((other.GetValue() == Value::kInvalid) || (GetValue() == other.GetValue())) && in Contains()
292 bool IsValid() const { return GetValue() != Value::kInvalid; } in IsValid()
295 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.h77 uint16_t* value = string->GetValue(); in operator()
111 memcpy(string->GetValue(), src, length * sizeof(uint16_t)); in operator()
141 const uint16_t* const src = src_string_->GetValue() + offset_; in operator()
147 memcpy(string->GetValue(), src, length * sizeof(uint16_t)); in operator()
247 ((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.h208 const int32_t value = reg_loc.GetValue(); in WriteDebugLocEntry()
213 reg_hi.GetValue() == value + 4) { in WriteDebugLocEntry()
219 reg_hi.GetValue() == value) { in WriteDebugLocEntry()
225 reg_hi.GetValue() == value + 1 && value % 2 == 0) { in WriteDebugLocEntry()
232 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