Home
last modified time | relevance | path

Searched refs:HConstant (Results 1 – 15 of 15) sorted by relevance

/external/v8/src/
Dhydrogen.h233 void set_undefined_constant(HConstant* constant) { in set_undefined_constant()
236 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); } in GetConstantUndefined()
237 HConstant* GetConstant1();
238 HConstant* GetConstantMinus1();
239 HConstant* GetConstantTrue();
240 HConstant* GetConstantFalse();
276 HConstant* GetConstant(SetOncePointer<HConstant>* pointer,
299 SetOncePointer<HConstant> undefined_constant_;
300 SetOncePointer<HConstant> constant_1_;
301 SetOncePointer<HConstant> constant_minus1_;
[all …]
Dhydrogen-instructions.cc788 Range* HConstant::InferRange() { in InferRange()
1018 HConstant::HConstant(Handle<Object> handle, Representation r) in HConstant() function in v8::internal::HConstant
1038 HConstant* HConstant::CopyToRepresentation(Representation r) const { in CopyToRepresentation()
1041 return new HConstant(handle_, r); in CopyToRepresentation()
1045 HConstant* HConstant::CopyToTruncatedInt32() const { in CopyToTruncatedInt32()
1048 return new HConstant(FACTORY->NewNumberFromInt(truncated), in CopyToTruncatedInt32()
1053 bool HConstant::ToBoolean() const { in ToBoolean()
1070 void HConstant::PrintDataTo(StringStream* stream) { in PrintDataTo()
1119 HConstant* c = HConstant::cast(right()); in InferRange()
1134 HConstant* c = HConstant::cast(right()); in InferRange()
[all …]
Dhydrogen.cc493 HConstant* HGraph::GetConstant(SetOncePointer<HConstant>* pointer, in GetConstant()
496 HConstant* constant = new(zone()) HConstant(Handle<Object>(value), in GetConstant()
505 HConstant* HGraph::GetConstant1() { in GetConstant1()
510 HConstant* HGraph::GetConstantMinus1() { in GetConstantMinus1()
515 HConstant* HGraph::GetConstantTrue() { in GetConstantTrue()
520 HConstant* HGraph::GetConstantFalse() { in GetConstantFalse()
1770 HConstant* constant = HConstant::cast(value); in InsertRepresentationChangeForUse()
2358 HConstant* undefined_constant = new(zone()) HConstant( in SetupScope()
2997 HConstant* instr = in VisitLiteral()
2998 new(zone()) HConstant(expr->handle(), Representation::Tagged()); in VisitLiteral()
[all …]
Dhydrogen-instructions.h1947 class HConstant: public HTemplateInstruction<0> {
1949 HConstant(Handle<Object> handle, Representation r);
1963 HConstant* CopyToRepresentation(Representation r) const;
1964 HConstant* CopyToTruncatedInt32() const;
1994 HConstant* other_constant = HConstant::cast(other); in DataEquals()
2611 HConstant::cast(right())->HasInteger32Value()) { in HasPowerOf2Divisor()
2612 int32_t value = HConstant::cast(right())->Integer32Value(); in HasPowerOf2Divisor()
2990 !(value->IsConstant() && HConstant::cast(value)->InOldSpace()); in StoringValueNeedsWriteBarrier()
Dlithium-allocator.cc1018 HConstant* constant = HConstant::cast(op); in ResolvePhis()
/external/v8/src/x64/
Dlithium-x64.cc463 LConstantOperand* LChunk::DefineConstantOperand(HConstant* constant) { in DefineConstantOperand()
508 return HConstant::cast(graph_->LookupValue(operand->index()))->handle(); in LookupLiteral()
606 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
613 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
620 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
627 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
634 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
841 HConstant* constant = HConstant::cast(right_value); in DoShift()
1117 if (HConstant::cast(v)->ToBoolean()) { in DoTest()
1702 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
[all …]
Dlithium-x64.h1950 LConstantOperand* DefineConstantOperand(HConstant* constant);
Dlithium-codegen-x64.cc779 HConstant::cast(instr->hydrogen()->right())->Integer32Value(); in DoModI()
/external/v8/src/ia32/
Dlithium-ia32.cc462 LConstantOperand* LChunk::DefineConstantOperand(HConstant* constant) { in DefineConstantOperand()
507 return HConstant::cast(graph_->LookupValue(operand->index()))->handle(); in LookupLiteral()
605 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
612 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
619 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
626 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
633 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
840 HConstant* constant = HConstant::cast(right_value); in DoShift()
1123 if (HConstant::cast(v)->ToBoolean()) { in DoTest()
1735 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
[all …]
Dlithium-ia32.h2024 LConstantOperand* DefineConstantOperand(HConstant* constant);
Dlithium-codegen-ia32.cc779 HConstant::cast(instr->hydrogen()->right())->Integer32Value(); in DoModI()
/external/v8/src/arm/
Dlithium-arm.cc470 LConstantOperand* LChunk::DefineConstantOperand(HConstant* constant) { in DefineConstantOperand()
515 return HConstant::cast(graph_->LookupValue(operand->index()))->handle(); in LookupLiteral()
613 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
620 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
627 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
634 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
641 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
846 HConstant* constant = HConstant::cast(right_value); in DoShift()
1117 if (HConstant::cast(v)->ToBoolean()) { in DoTest()
1711 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
[all …]
Dlithium-arm.h1967 LConstantOperand* DefineConstantOperand(HConstant* constant);
Dlithium-codegen-arm.cc836 HConstant::cast(instr->hydrogen()->right())->Integer32Value(); in DoModI()
/external/v8/src/mips/
Dlithium-mips.h235 LConstantOperand* DefineConstantOperand(HConstant* constant) { in DefineConstantOperand()