Home
last modified time | relevance | path

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

12

/external/chromium_org/v8/src/
Dhydrogen-instructions.cc465 return IsConstant() && HConstant::cast(this)->HasInteger32Value(); in IsInteger32Constant()
470 return HConstant::cast(this)->Integer32Value(); in GetInteger32Constant()
948 HConstant* fun_const = HConstant::cast(function); in New()
990 HConstant* add_offset = HConstant::New(zone, context, actual_offset); in ApplyIndexChange()
1001 HConstant* sar_scale = HConstant::New(zone, context, actual_scale); in ApplyIndexChange()
1178 *block = HConstant::cast(value)->BooleanValue() in KnownSuccessorBlock()
1296 static String* TypeOfString(HConstant* constant, Isolate* isolate) { in TypeOfString()
1327 HConstant* constant = HConstant::cast(value()); in KnownSuccessorBlock()
1350 HConstant* c_map = HConstant::cast(map()); in Canonicalize()
1515 HConstant* c = HConstant::cast(value); in New()
[all …]
Dhydrogen-bce.cc35 HConstant* constant = NULL; in Create()
41 constant = HConstant::cast(index->left()); in Create()
44 constant = HConstant::cast(index->right()); in Create()
51 constant = HConstant::cast(index->right()); in Create()
56 constant = HConstant::cast(check->index()); in Create()
253 HConstant::cast(left_input)->Unlink(); in MoveIndexIfNecessary()
254 HConstant::cast(left_input)->InsertBefore(index); in MoveIndexIfNecessary()
257 HConstant::cast(right_input)->Unlink(); in MoveIndexIfNecessary()
258 HConstant::cast(right_input)->InsertBefore(index); in MoveIndexIfNecessary()
261 HConstant* index = HConstant::cast(index_raw); in MoveIndexIfNecessary()
Dhydrogen.cc651 HConstant* HGraph::GetConstant(SetOncePointer<HConstant>* pointer, in GetConstant()
656 HConstant* constant = HConstant::New(zone(), NULL, value); in GetConstant()
665 HConstant* HGraph::ReinsertConstantIfNecessary(HConstant* constant) { in ReinsertConstantIfNecessary()
675 HConstant* HGraph::GetConstant0() { in GetConstant0()
680 HConstant* HGraph::GetConstant1() { in GetConstant1()
685 HConstant* HGraph::GetConstantMinus1() { in GetConstantMinus1()
691 HConstant* HGraph::GetConstant##Name() { \
693 HConstant* constant = new(zone()) HConstant( \
720 bool HGraph::IsConstant##Name(HConstant* constant) { \ in DEFINE_GET_CONSTANT()
735 HConstant* HGraph::GetInvalidContext() {
[all …]
Dhydrogen-dehoist.cc16 HConstant* constant; in DehoistArrayIndex()
21 constant = HConstant::cast(binary_operation->left()); in DehoistArrayIndex()
24 constant = HConstant::cast(binary_operation->right()); in DehoistArrayIndex()
Dcode-stubs-hydrogen.cc175 stack_pop_count = Add<HConstant>(count); in BuildGraph()
430 HValue* size_in_words = Add<HConstant>(object_size >> kPointerSizeLog2); in BuildCodeStub()
435 HValue* size_in_bytes = Add<HConstant>(size); in BuildCodeStub()
450 object, Add<HConstant>(object_size), allocation_site); in BuildCodeStub()
468 HValue* size = Add<HConstant>(AllocationSite::kSize); in BuildCodeStub()
477 HValue* initial_elements_kind = Add<HConstant>(GetInitialFastElementsKind()); in BuildCodeStub()
502 HConstant* empty_fixed_array = in BuildCodeStub()
503 Add<HConstant>(isolate()->factory()->empty_fixed_array()); in BuildCodeStub()
511 HValue* site_list = Add<HConstant>( in BuildCodeStub()
667 HValue* constant_two = Add<HConstant>(2); in BuildCodeStub()
[all …]
Dhydrogen.h333 HConstant* GetConstantUndefined();
334 HConstant* GetConstant0();
335 HConstant* GetConstant1();
336 HConstant* GetConstantMinus1();
337 HConstant* GetConstantTrue();
338 HConstant* GetConstantFalse();
339 HConstant* GetConstantHole();
340 HConstant* GetConstantNull();
341 HConstant* GetInvalidContext();
343 bool IsConstantUndefined(HConstant* constant);
[all …]
Dhydrogen-bch.cc257 HConstant* new_limit = HConstant::New(zone, context, in ProcessRelatedChecks()
267 HConstant* new_limit = HConstant::New(zone, context, in ProcessRelatedChecks()
Dhydrogen-representation-changes.cc28 HConstant* constant = HConstant::cast(value); in InsertRepresentationChangeForUse()
31 Maybe<HConstant*> res = constant->CopyToTruncatedInt32(graph()->zone()); in InsertRepresentationChangeForUse()
Dhydrogen-instructions.h1999 class HConstant; variable
2006 HConstant* closure_context, int arguments_count, in New()
2021 HConstant* closure_context() const { return closure_context_; } in closure_context()
2040 HConstant* closure_context, int arguments_count, in DECLARE_CONCRETE_INSTRUCTION()
2057 HConstant* closure_context_;
3110 HConstant* added_constant() { return added_constant_; } in added_constant()
3111 void set_added_constant(HConstant* constant) { added_constant_ = constant; } in set_added_constant()
3122 HConstant* added_constant_;
3477 class HConstant FINAL : public HTemplateInstruction<0> {
3479 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, int32_t);
[all …]
Dhydrogen-check-elimination.cc511 HConstant* constant = HConstant::CreateAndInsertBefore( in ReduceLoadNamedField()
531 HConstant* c_transition = HConstant::cast(instr->transition()); in ReduceStoreNamedField()
540 HConstant* c_value = HConstant::cast(instr->value()); in ReduceStoreNamedField()
Dlithium.cc355 LConstantOperand* LChunk::DefineConstantOperand(HConstant* constant) { in DefineConstantOperand()
402 HConstant* LChunk::LookupConstant(LConstantOperand* operand) const { in LookupConstant()
403 return HConstant::cast(graph_->LookupValue(operand->index())); in LookupConstant()
Dlithium.h624 LConstantOperand* DefineConstantOperand(HConstant* constant);
625 HConstant* LookupConstant(LConstantOperand* operand) const;
Dhydrogen-escape-analysis.cc75 HConstant* undefined = graph()->GetConstantUndefined(); in NewStateForAllocation()
/external/chromium_org/v8/src/mips/
Dlithium-mips.cc485 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
492 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
499 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
506 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
512 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
518 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
692 HConstant* constant = HConstant::cast(right_value); in DoShift()
1492 HConstant* constant = HConstant::cast(right); in DoMul()
2033 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
2509 HConstant* undefined = graph()->GetConstantUndefined(); in DoEnterInlined()
Dlithium-codegen-mips.cc433 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
471 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
496 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
519 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
528 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
534 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
543 HConstant* constant = chunk()->LookupConstant(const_op); in ToOperand()
716 HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op)); in AddToTranslation()
760 HConstant* constant = in LoadContextFromDeferred()
/external/chromium_org/v8/src/mips64/
Dlithium-mips64.cc485 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
492 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
499 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
506 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
512 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
518 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
692 HConstant* constant = HConstant::cast(right_value); in DoShift()
1493 HConstant* constant = HConstant::cast(right); in DoMul()
2031 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
2509 HConstant* undefined = graph()->GetConstantUndefined(); in DoEnterInlined()
Dlithium-codegen-mips64.cc378 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
416 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
441 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
459 HConstant* constant = chunk_->LookupConstant(op); in ToInteger32()
466 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation_donotuse()
475 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
481 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
490 HConstant* constant = chunk()->LookupConstant(const_op); in ToOperand()
666 HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op)); in AddToTranslation()
710 HConstant* constant = in LoadContextFromDeferred()
/external/chromium_org/v8/src/x87/
Dlithium-x87.cc521 return value->IsConstant() && HConstant::cast(value)->NotInNewSpace(); in CanBeImmediateConstant()
527 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
534 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
542 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseFixedOrConstant()
549 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
556 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
562 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
568 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
724 HConstant* constant = HConstant::cast(right_value); in DoShift()
2086 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
[all …]
/external/chromium_org/v8/src/ia32/
Dlithium-ia32.cc515 return value->IsConstant() && HConstant::cast(value)->NotInNewSpace(); in CanBeImmediateConstant()
521 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
528 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
536 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseFixedOrConstant()
543 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
550 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
556 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
562 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
725 HConstant* constant = HConstant::cast(right_value); in DoShift()
2085 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
[all …]
/external/chromium_org/v8/src/arm/
Dlithium-arm.cc478 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
485 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
492 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
499 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
505 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
511 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
685 HConstant* constant = HConstant::cast(right_value); in DoShift()
1498 HConstant* constant = HConstant::cast(right); in DoMul()
2084 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
2560 HConstant* undefined = graph()->GetConstantUndefined(); in DoEnterInlined()
Dlithium-codegen-arm.cc439 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
474 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
501 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
524 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
533 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
539 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
548 HConstant* constant = chunk()->LookupConstant(const_op); in ToOperand()
721 HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op)); in AddToTranslation()
787 HConstant* constant = in LoadContextFromDeferred()
/external/chromium_org/v8/src/x64/
Dlithium-x64.cc493 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseTempRegisterOrConstant()
511 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
518 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
525 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
532 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
538 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
544 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
707 HConstant* constant = HConstant::cast(right_value); in DoShift()
2039 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
2385 HConstant::cast(instr->value())->NotInNewSpace() && in DoStoreNamedField()
[all …]
Dlithium-codegen-x64.cc443 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
452 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
458 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
465 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
472 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
613 HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op)); in AddToTranslation()
668 HConstant* constant = in LoadContextFromDeferred()
3595 HConstant* fun_const = HConstant::cast(instr->hydrogen()->function()); in DoCallJSFunction()
/external/chromium_org/v8/src/arm64/
Dlithium-arm64.cc418 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
1328 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
1460 HConstant* undefined = graph()->GetConstantUndefined(); in DoEnterInlined()
1940 int32_t constant = HConstant::cast(most_const)->Integer32Value(); in DoMul()
2113 LikelyFitsImmField(hinstr, HConstant::cast(hright)->Integer32Value())) || in CanTransformToShiftedOp()
2115 LikelyFitsImmField(hinstr, HConstant::cast(hleft)->Integer32Value()))) { in CanTransformToShiftedOp()
2489 (HConstant::cast(instr->left())->Integer32Value() == 0)) { in DoSub()
Dlithium-codegen-arm64.cc338 HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op)); in AddToTranslation()
502 HConstant* constant = in LoadContextFromDeferred()
1191 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
1206 HConstant* constant = chunk()->LookupConstant(const_op); in ToOperand()
1237 HConstant* constant = chunk()->LookupConstant(const_op); in ToOperand32()
1300 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
1330 HConstant* constant = chunk_->LookupConstant(op); in ToInteger32()
1336 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()

12