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.h115 DCHECK_EQ(location.GetValue() % kFrameSlotSize, 0); in CheckOptimizedMethod()
116 CHECK(stack_mask.LoadBit(location.GetValue() / kFrameSlotSize)); in CheckOptimizedMethod()
120 CHECK_NE(register_mask & (1 << location.GetValue()), 0u); in CheckOptimizedMethod()
128 CHECK_EQ(location.GetValue(), 0); in CheckOptimizedMethod()
Dlock_word.h170 return LockWord().GetValue() == lw.GetValue(); in IsDefault()
261 return lw1.GetValue() == lw2.GetValue(); in Equal()
306 uint32_t GetValue() const { in GetValue() function
Dthread-inl.h165 tls32_.state_and_flags.CompareAndSetWeakRelaxed(old_state_and_flags.GetValue(), in SetState()
166 new_state_and_flags.GetValue()); in SetState()
256 tls32_.state_and_flags.CompareAndSetWeakRelease(old_state_and_flags.GetValue(), in TransitionToSuspendedAndRunCheckpoints()
257 new_state_and_flags.GetValue()); in TransitionToSuspendedAndRunCheckpoints()
361 if (LIKELY(tls32_.state_and_flags.CompareAndSetWeakAcquire(old_state_and_flags.GetValue(), in TransitionFromSuspendedToRunnable()
362 new_state_and_flags.GetValue()))) { in TransitionFromSuspendedToRunnable()
375 << " flags=" << old_state_and_flags.WithState(ThreadState::kRunnable).GetValue() in TransitionFromSuspendedToRunnable()
Dstring_builder_append.cc61 DCHECK_GE(new_string->GetLength(), data - new_string->GetValue()); in RemainingSpace()
62 return new_string->GetLength() - (data - new_string->GetValue()); in RemainingSpace()
205 const uint16_t* value = str->GetValue(); in AppendString()
323 DCHECK(mirror::String::AllASCII(converted->GetValue(), length)); in ConvertFpArgs()
324 std::copy_n(converted->GetValue(), length, converted_fp_args_[fp_arg_index]); in ConvertFpArgs()
500 StoreData(new_string, new_string->GetValue()); in operator ()()
/art/compiler/optimizing/
Dload_store_analysis.cc55 ? idx1->GetConstantRight()->AsIntConstant()->GetValue() in CanBinaryOpAndIndexAlias()
56 : -idx1->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpAndIndexAlias()
83 ? idx1->GetConstantRight()->AsIntConstant()->GetValue() in CanBinaryOpsAlias()
84 : -idx1->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpsAlias()
86 ? idx2->GetConstantRight()->AsIntConstant()->GetValue() in CanBinaryOpsAlias()
87 : -idx2->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpsAlias()
99 array_length->IsIntConstant() && array_length->AsIntConstant()->GetValue() >= 0; in InstructionEligibleForLSERemoval()
150 int64_t l1 = idx1->AsIntConstant()->GetValue(); in CanArrayElementsAlias()
151 int64_t l2 = idx2->AsIntConstant()->GetValue(); in CanArrayElementsAlias()
Dconstant_folding_test.cc129 ASSERT_EQ(inst->AsIntConstant()->GetValue(), -1); in TEST_F()
190 ASSERT_EQ(inst->AsLongConstant()->GetValue(), INT64_C(-4294967296)); in TEST_F()
251 ASSERT_EQ(inst->AsIntConstant()->GetValue(), 3); in TEST_F()
330 ASSERT_EQ(inst1->AsIntConstant()->GetValue(), 12); in TEST_F()
333 ASSERT_EQ(inst2->AsIntConstant()->GetValue(), 9); in TEST_F()
336 ASSERT_EQ(inst3->AsIntConstant()->GetValue(), 3); in TEST_F()
401 ASSERT_EQ(inst->AsIntConstant()->GetValue(), 1); in TEST_F()
464 ASSERT_EQ(inst->AsLongConstant()->GetValue(), 3); in TEST_F()
528 ASSERT_EQ(inst->AsLongConstant()->GetValue(), 1); in TEST_F()
628 ASSERT_EQ(inst1->AsIntConstant()->GetValue(), 20); in TEST_F()
[all …]
Dnodes.h3338 int32_t GetValue() const { return value_; }
3349 size_t ComputeHashCode() const override { return GetValue(); }
3351 bool IsMinusOne() const override { return GetValue() == -1; }
3352 bool IsArithmeticZero() const override { return GetValue() == 0; }
3353 bool IsZeroBitPattern() const override { return GetValue() == 0; }
3354 bool IsOne() const override { return GetValue() == 1; }
3358 bool IsTrue() const { return GetValue() == 1; }
3359 bool IsFalse() const { return GetValue() == 0; }
3384 int64_t GetValue() const { return value_; }
3393 size_t ComputeHashCode() const override { return static_cast<size_t>(GetValue()); }
[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_riscv64.h44 const int64_t value = y->GetValue() + (x->GetValue() << GetDistance()); in Evaluate()
Dssa_builder.cc59 DCHECK_EQ(0, int_operand->AsIntConstant()->GetValue()); in FixNullConstantType()
381 HInstruction* value = aset->GetValue(); in FixAmbiguousArrayOps()
609 float value = bit_cast<float, int32_t>(constant->GetValue()); in GetFloatEquivalent()
616 DCHECK_EQ((bit_cast<int32_t, float>(result->GetValue())), constant->GetValue()); in GetFloatEquivalent()
631 double value = bit_cast<double, int64_t>(constant->GetValue()); in GetDoubleEquivalent()
638 DCHECK_EQ((bit_cast<int64_t, double>(result->GetValue())), constant->GetValue()); in GetDoubleEquivalent()
726 if (value->IsIntConstant() && value->AsIntConstant()->GetValue() == 0) { in GetReferenceTypeEquivalent()
Dconstant_folding.cc406 GetGraph()->GetIntConstant(ReverseBits32(input->AsIntConstant()->GetValue()))); in FoldReverseIntrinsic()
410 GetGraph()->GetLongConstant(ReverseBits64(input->AsLongConstant()->GetValue()))); in FoldReverseIntrinsic()
428 inst->ReplaceWith(GetGraph()->GetIntConstant(BSWAP(input->AsIntConstant()->GetValue()))); in FoldReverseBytesIntrinsic()
431 inst->ReplaceWith(GetGraph()->GetLongConstant(BSWAP(input->AsLongConstant()->GetValue()))); in FoldReverseBytesIntrinsic()
435 BSWAP(dchecked_integral_cast<int16_t>(input->AsIntConstant()->GetValue())))); in FoldReverseBytesIntrinsic()
454 POPCOUNT(input->AsIntConstant()->GetValue()) : in FoldBitCountIntrinsic()
455 POPCOUNT(input->AsLongConstant()->GetValue()); in FoldBitCountIntrinsic()
519 GetGraph()->GetIntConstant(HighestOneBitValue(input->AsIntConstant()->GetValue()))); in FoldHighestOneBitIntrinsic()
523 GetGraph()->GetLongConstant(HighestOneBitValue(input->AsLongConstant()->GetValue()))); in FoldHighestOneBitIntrinsic()
541 GetGraph()->GetIntConstant(LowestOneBitValue(input->AsIntConstant()->GetValue()))); in FoldLowestOneBitIntrinsic()
[all …]
Dwrite_barrier_elimination.cc48 HuntForOriginalReference(instruction->GetValue())->IsNullConstant()) { in VisitInstanceFieldSet()
75 HuntForOriginalReference(instruction->GetValue())->IsNullConstant()) { in VisitStaticFieldSet()
103 HuntForOriginalReference(instruction->GetValue())->IsNullConstant()) { in VisitArraySet()
Dstack_map_test.cc104 ASSERT_EQ(0, location0.GetValue()); in TEST()
105 ASSERT_EQ(-2, location1.GetValue()); in TEST()
197 ASSERT_EQ(0, location0.GetValue()); in TEST()
198 ASSERT_EQ(-2, location1.GetValue()); in TEST()
236 ASSERT_EQ(18, location0.GetValue()); in TEST()
237 ASSERT_EQ(3, location1.GetValue()); in TEST()
269 ASSERT_EQ(6, location0.GetValue()); in TEST()
270 ASSERT_EQ(8, location1.GetValue()); in TEST()
302 ASSERT_EQ(3, location0.GetValue()); in TEST()
303 ASSERT_EQ(1, location1.GetValue()); in TEST()
[all …]
Dcommon_arm.h158 return instr->AsIntConstant()->GetValue(); in Int32ConstantFrom()
163 const int64_t ret = instr->AsLongConstant()->GetValue(); in Int32ConstantFrom()
177 return instr->AsIntConstant()->GetValue(); in Int64ConstantFrom()
182 return instr->AsLongConstant()->GetValue(); in Int64ConstantFrom()
Dinstruction_simplifier_shared.cc202 access->AsArraySet()->GetValue()->GetType() == DataType::Type::kReference) { in TryExtractArrayAccessAddress()
272 uint32_t another_data_offset = another_access->GetOffset()->AsIntConstant()->GetValue(); in TryExtractVecArrayAccessAddress()
273 size_t another_component_shift = another_access->GetShift()->AsIntConstant()->GetValue(); in TryExtractVecArrayAccessAddress()
/art/libartbase/base/
Dhiddenapi_flags.h170 DCHECK(GetValue() == val);
176 Value GetValue() const { in GetValue() function
215 uint32_t GetIntValue() const { return helper::ToUint(GetValue()) - helper::ToUint(Value::kMin); } in GetIntValue()
268 const Value val1 = GetValue(); in CanCombineWith()
269 const Value val2 = other.GetValue(); in CanCombineWith()
280 const Value val1 = GetValue();
281 const Value val2 = other.GetValue();
302 return ((other.GetValue() == Value::kInvalid) || (GetValue() == other.GetValue())) && in Contains()
307 bool IsValid() const { return GetValue() != Value::kInvalid; } in IsValid()
310 bool IsEmpty() const { return (GetValue() == Value::kInvalid) && (GetDomainApis() == 0); } in IsEmpty()
[all …]
/art/runtime/mirror/
Dstring.cc48 return FastIndexOf<uint16_t>(GetValue(), ch, start); in FastIndexOf()
60 return LastIndexOf<uint16_t>(GetValue(), ch, count - 1); in LastIndexOf()
140 uint16_t* new_value = new_string->GetValue(); in DoConcat()
147 memcpy(new_value, h_this->GetValue(), length_this * sizeof(uint16_t)); in DoConcat()
155 memcpy(new_value + length_this, h_arg->GetValue(), length_arg * sizeof(uint16_t)); in DoConcat()
170 new_value = new_string->GetValue(); in RepeatCharacters()
171 h_this_value = h_this->GetValue(); in RepeatCharacters()
229 memcpy(new_string->GetValue(), utf16_data_in, utf16_length * sizeof(uint16_t)); in AllocFromUtf16()
263 uint16_t* utf16_data_out = new_string->GetValue(); in AllocFromModifiedUtf8()
286 return memcmp(this->GetValue(), that->GetValue(), sizeof(uint16_t) * this->GetLength()) == 0; in Equals()
[all …]
Dstring-inl.h54 return GetValue()[index]; in CharAt()
87 : ComputeUtf16Hash(GetValue(), GetLength()); in ComputeHashCode()
104 return CountModifiedUtf8BytesInUtf16(GetValue(), GetLength()); in GetModifiedUtf8Length()
Dstring-alloc-inl.h78 uint16_t* value = string->GetValue(); in operator()
113 uint16_t* value = string->GetValue(); in operator()
147 memcpy(string->GetValue(), src, length * sizeof(uint16_t)); in operator()
177 const uint16_t* const src = src_string_->GetValue() + offset_; in operator()
183 memcpy(string->GetValue(), src, length * sizeof(uint16_t)); in operator()
309 ((string->IsCompressed()) ? true : String::AllASCII<uint16_t>(string->GetValue() + offset, in AllocFromString()
Dobject-readbarrier-inl.h70 old_val.GetValue(), in CasLockWord()
71 new_val.GetValue(), in CasLockWord()
/art/compiler/debug/
Delf_debug_loc_writer.h212 const int32_t value = reg_loc.GetValue(); in WriteDebugLocEntry()
217 reg_hi.GetValue() == value + 4) { in WriteDebugLocEntry()
223 reg_hi.GetValue() == value) { in WriteDebugLocEntry()
229 reg_hi.GetValue() == value + 1 && value % 2 == 0) { in WriteDebugLocEntry()
236 reg_hi.GetValue() == reg_lo.GetValue()) { in WriteDebugLocEntry()
/art/runtime/native/
Dlibcore_util_CharsetUtils.cc77 const uint16_t* src = string->GetValue() + offset; in charsToBytes()
115 const uint16_t* utf16 = string->GetValue() + offset; in CharsetUtils_toUtf8Bytes()
130 const uint16_t* utf16 = string->GetValue() + offset; in CharsetUtils_toUtf8Bytes()
/art/cmdline/
Dcmdline_parse_result.h83 const T& GetValue() const { in GetValue() function
91 T& GetValue() { in GetValue() function

1234