Lines Matching refs:HConstant
524 return IsConstant() && HConstant::cast(this)->HasInteger32Value();
529 return HConstant::cast(this)->Integer32Value();
883 HConstant* add_offset = HConstant::New(zone, context, actual_offset);
894 HConstant* sar_scale = HConstant::New(zone, context, actual_scale);
1099 *block = HConstant::cast(value)->BooleanValue()
1380 HConstant* c = HConstant::cast(value);
1384 return HConstant::New(zone, context,
1496 if (HConstant::cast(value())->HasInternalizedStringValue()) {
1547 HConstant* transition = HConstant::cast(store->transition());
1575 HConstant::cast(value())->GetUnique() == object_)
1660 Range* HConstant::InferRange(Zone* zone) {
1949 set_added_constant(HConstant::New(zone, context, mask));
2504 HConstant::HConstant(Handle<Object> handle, Representation r)
2537 HConstant::HConstant(Unique<Object> unique,
2560 HConstant::HConstant(int32_t integer_value,
2580 HConstant::HConstant(double double_value,
2600 HConstant::HConstant(ExternalReference reference)
2616 void HConstant::Initialize(Representation r) {
2643 bool HConstant::EmitAtUses() {
2657 HConstant* HConstant::CopyToRepresentation(Representation r, Zone* zone) const {
2663 return new(zone) HConstant(int32_value_, r, is_not_in_new_space_, object_);
2666 return new(zone) HConstant(double_value_, r, is_not_in_new_space_, object_);
2669 return new(zone) HConstant(external_reference_value_);
2672 return new(zone) HConstant(object_,
2682 Maybe<HConstant*> HConstant::CopyToTruncatedInt32(Zone* zone) {
2683 HConstant* res = NULL;
2685 res = new(zone) HConstant(int32_value_,
2690 res = new(zone) HConstant(DoubleToInt32(double_value_),
2695 return Maybe<HConstant*>(res != NULL, res);
2699 Maybe<HConstant*> HConstant::CopyToTruncatedNumber(Zone* zone) {
2700 HConstant* res = NULL;
2704 new(zone) HConstant(1) : new(zone) HConstant(0);
2706 res = new(zone) HConstant(OS::nan_value());
2708 res = new(zone) HConstant(0);
2710 return Maybe<HConstant*>(res != NULL, res);
2714 void HConstant::PrintDataTo(StringStream* stream) {
2869 HConstant* c = HConstant::cast(right());
2884 HConstant* c = HConstant::cast(right());
2909 HConstant* c = HConstant::cast(right());
2994 HConstant::cast(left())->Equals(HConstant::cast(right()));
3094 HConstant::cast(value)->HasMap(map)) {
3448 HConstant::cast(dominator_size)->GetInteger32Constant();
3451 HConstant::cast(current_size)->GetInteger32Constant();
3473 HInstruction* new_dominator_size_constant = HConstant::CreateAndInsertBefore(
3558 int32_t current_size = HConstant::cast(size())->GetInteger32Constant();
3584 HConstant* new_free_space_size = HConstant::CreateAndInsertBefore(
3602 HConstant* filler_map = HConstant::New(
3616 HConstant* filler_size = HConstant::CreateAndInsertAfter(
3778 HConstant::New(zone, context, static_cast<int32_t>(val))
3780 HConstant::New(zone, context, static_cast<double>(val))
3786 HConstant* c_left = HConstant::cast(left); \
3787 HConstant* c_right = HConstant::cast(right); \
3813 HConstant* c_right = HConstant::cast(right);
3814 HConstant* c_left = HConstant::cast(left);
3818 return HConstant::New(zone, context, concat);
3828 HConstant* c_code = HConstant::cast(char_code);
3833 return HConstant::New(zone, context,
3836 return HConstant::New(zone, context, isolate->factory()->empty_string());
3848 HConstant* constant = HConstant::cast(value);
3916 HConstant* c_left = HConstant::cast(left);
3917 HConstant* c_right = HConstant::cast(right);
3931 HConstant* c_left = HConstant::cast(left);
3932 HConstant* c_right = HConstant::cast(right);
3966 HConstant* c_left = HConstant::cast(left);
3967 HConstant* c_right = HConstant::cast(right);
3991 HConstant* c_left = HConstant::cast(left);
3992 HConstant* c_right = HConstant::cast(right);
4014 HConstant* c_left = HConstant::cast(left);
4015 HConstant* c_right = HConstant::cast(right);
4045 HConstant* c_left = HConstant::cast(left); \
4046 HConstant* c_right = HConstant::cast(right); \
4066 HConstant* c_left = HConstant::cast(left);
4067 HConstant* c_right = HConstant::cast(right);
4087 HConstant* c_string = HConstant::cast(string);
4088 HConstant* c_index = HConstant::cast(index);
4121 HConstant* operand = HConstant::cast(OperandAt(i));
4125 HConstant* integer_input =
4126 HConstant::New(graph->zone(), graph->GetInvalidContext(),