Lines Matching refs:value_
40 Kind kind() const { return KindField::decode(value_); } in kind()
85 return this->value_ == that.value_; in Equals()
89 return this->value_ < that.value_; in Compare()
104 explicit InstructionOperand(Kind kind) : value_(KindField::encode(kind)) {} in InstructionOperand()
110 uint64_t value_; variable
174 value_ |= BasicPolicyField::encode(EXTENDED_POLICY); in UnallocatedOperand()
175 value_ |= ExtendedPolicyField::encode(policy); in UnallocatedOperand()
176 value_ |= LifetimeField::encode(USED_AT_END); in UnallocatedOperand()
182 value_ |= BasicPolicyField::encode(policy); in UnallocatedOperand()
183 value_ |= static_cast<int64_t>(index) << FixedSlotIndexField::kShift; in UnallocatedOperand()
190 value_ |= BasicPolicyField::encode(EXTENDED_POLICY); in UnallocatedOperand()
191 value_ |= ExtendedPolicyField::encode(policy); in UnallocatedOperand()
192 value_ |= LifetimeField::encode(USED_AT_END); in UnallocatedOperand()
193 value_ |= FixedRegisterField::encode(index); in UnallocatedOperand()
199 value_ |= BasicPolicyField::encode(EXTENDED_POLICY); in UnallocatedOperand()
200 value_ |= ExtendedPolicyField::encode(policy); in UnallocatedOperand()
201 value_ |= LifetimeField::encode(lifetime); in UnallocatedOperand()
206 value_ |= HasSecondaryStorageField::encode(true); in UnallocatedOperand()
207 value_ |= SecondaryStorageField::encode(slot_id); in UnallocatedOperand()
243 HasSecondaryStorageField::decode(value_); in HasSecondaryStorage()
247 return SecondaryStorageField::decode(value_); in GetSecondaryStorage()
253 return BasicPolicyField::decode(value_); in basic_policy()
259 return ExtendedPolicyField::decode(value_); in extended_policy()
265 return static_cast<int>(static_cast<int64_t>(value_) >> in fixed_slot_index()
272 return FixedRegisterField::decode(value_); in fixed_register_index()
278 return static_cast<int32_t>(VirtualRegisterField::decode(value_)); in virtual_register()
284 value_ = VirtualRegisterField::update(value_, static_cast<uint32_t>(id)); in set_virtual_register()
290 return LifetimeField::decode(value_) == USED_AT_START; in IsUsedAtStart()
335 value_ |= in UnallocatedOperand()
345 value_ |= in ConstantOperand()
350 return static_cast<int32_t>(VirtualRegisterField::decode(value_)); in virtual_register()
370 value_ |= TypeField::encode(type); in ImmediateOperand()
371 value_ |= static_cast<int64_t>(value) << ValueField::kShift; in ImmediateOperand()
374 ImmediateType type() const { return TypeField::decode(value_); } in type()
378 return static_cast<int64_t>(value_) >> ValueField::kShift; in inline_value()
383 return static_cast<int64_t>(value_) >> ValueField::kShift; in indexed_value()
408 value_ |= LocationKindField::encode(location_kind); in LocationOperand()
409 value_ |= RepresentationField::encode(rep); in LocationOperand()
410 value_ |= static_cast<int64_t>(index) << IndexField::kShift; in LocationOperand()
415 return static_cast<int64_t>(value_) >> IndexField::kShift; in index()
420 return Register::from_code(static_cast<int64_t>(value_) >> in GetRegister()
426 return DoubleRegister::from_code(static_cast<int64_t>(value_) >> in GetDoubleRegister()
431 return LocationKindField::decode(value_); in location_kind()
435 return RepresentationField::decode(value_); in representation()
548 this->value_, canonicalized_representation), in GetCanonicalizedValue()
551 return this->value_; in GetCanonicalizedValue()
897 explicit Constant(int64_t v) : type_(kInt64), value_(v) {} in Constant()
898 explicit Constant(float v) : type_(kFloat32), value_(bit_cast<int32_t>(v)) {} in Constant()
899 explicit Constant(double v) : type_(kFloat64), value_(bit_cast<int64_t>(v)) {} in Constant()
901 : type_(kExternalReference), value_(bit_cast<intptr_t>(ref)) {} in Constant()
903 : type_(kHeapObject), value_(bit_cast<intptr_t>(obj)) {} in Constant()
904 explicit Constant(RpoNumber rpo) : type_(kRpoNumber), value_(rpo.ToInt()) {} in Constant()
910 const int32_t value = static_cast<int32_t>(value_); in ToInt32()
911 DCHECK_EQ(value_, static_cast<int64_t>(value)); in ToInt32()
918 return value_; in ToInt64()
923 return bit_cast<float>(static_cast<int32_t>(value_)); in ToFloat32()
929 return bit_cast<double>(value_); in ToFloat64()
934 return bit_cast<ExternalReference>(static_cast<intptr_t>(value_)); in ToExternalReference()
939 return RpoNumber::FromInt(static_cast<int>(value_)); in ToRpoNumber()
944 return bit_cast<Handle<HeapObject> >(static_cast<intptr_t>(value_)); in ToHeapObject()
949 int64_t value_; variable