Home
last modified time | relevance | path

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

12

/external/chromium_org/v8/src/
Dhydrogen-instructions.cc460 return IsConstant() && HConstant::cast(this)->HasInteger32Value(); in IsInteger32Constant()
465 return HConstant::cast(this)->Integer32Value(); in GetInteger32Constant()
952 HConstant* fun_const = HConstant::cast(function); in New()
999 HConstant* add_offset = HConstant::New(zone, context, actual_offset); in ApplyIndexChange()
1010 HConstant* sar_scale = HConstant::New(zone, context, actual_scale); in ApplyIndexChange()
1203 *block = HConstant::cast(value)->BooleanValue() in KnownSuccessorBlock()
1314 static String* TypeOfString(HConstant* constant, Isolate* isolate) { in TypeOfString()
1346 HConstant* constant = HConstant::cast(value()); in KnownSuccessorBlock()
1371 HConstant* c_map = HConstant::cast(map()); in Canonicalize()
1540 HConstant* c = HConstant::cast(value); in New()
[all …]
Dhydrogen.cc645 HConstant* HGraph::GetConstant(SetOncePointer<HConstant>* pointer, in GetConstant()
650 HConstant* constant = HConstant::New(zone(), NULL, value); in GetConstant()
659 HConstant* HGraph::ReinsertConstantIfNecessary(HConstant* constant) { in ReinsertConstantIfNecessary()
669 HConstant* HGraph::GetConstant0() { in GetConstant0()
674 HConstant* HGraph::GetConstant1() { in GetConstant1()
679 HConstant* HGraph::GetConstantMinus1() { in GetConstantMinus1()
685 HConstant* HGraph::GetConstant##Name() { \
687 HConstant* constant = new(zone()) HConstant( \
714 bool HGraph::IsConstant##Name(HConstant* constant) { \ in DEFINE_GET_CONSTANT()
729 HConstant* HGraph::GetInvalidContext() {
[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()
Dcode-stubs-hydrogen.cc170 stack_pop_count = Add<HConstant>(count); in BuildGraph()
428 HValue* size_in_words = Add<HConstant>(object_size >> kPointerSizeLog2); in BuildCodeStub()
433 HValue* size_in_bytes = Add<HConstant>(size); in BuildCodeStub()
448 object, Add<HConstant>(object_size), allocation_site); in BuildCodeStub()
466 HValue* size = Add<HConstant>(AllocationSite::kSize); in BuildCodeStub()
475 HValue* initial_elements_kind = Add<HConstant>(GetInitialFastElementsKind()); in BuildCodeStub()
500 HConstant* empty_fixed_array = in BuildCodeStub()
501 Add<HConstant>(isolate()->factory()->empty_fixed_array()); in BuildCodeStub()
509 HValue* site_list = Add<HConstant>( in BuildCodeStub()
708 HConstant* max_alloc_length = in BuildArrayNArgumentsConstructor()
[all …]
Dhydrogen-dehoist.cc15 HConstant* constant; in DehoistArrayIndex()
20 constant = HConstant::cast(binary_operation->left()); in DehoistArrayIndex()
23 constant = HConstant::cast(binary_operation->right()); in DehoistArrayIndex()
Dhydrogen.h329 HConstant* GetConstantUndefined();
330 HConstant* GetConstant0();
331 HConstant* GetConstant1();
332 HConstant* GetConstantMinus1();
333 HConstant* GetConstantTrue();
334 HConstant* GetConstantFalse();
335 HConstant* GetConstantHole();
336 HConstant* GetConstantNull();
337 HConstant* GetInvalidContext();
339 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.h3024 class HConstant; variable
3085 HConstant* added_constant() { return added_constant_; } in added_constant()
3086 void set_added_constant(HConstant* constant) { added_constant_ = constant; } in set_added_constant()
3097 HConstant* added_constant_;
3450 class HConstant V8_FINAL : public HTemplateInstruction<0> {
3452 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, int32_t);
3453 DECLARE_INSTRUCTION_FACTORY_P2(HConstant, int32_t, Representation);
3454 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, double);
3455 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, Handle<Object>);
3456 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, ExternalReference);
[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.cc326 LConstantOperand* LChunk::DefineConstantOperand(HConstant* constant) { in DefineConstantOperand()
373 HConstant* LChunk::LookupConstant(LConstantOperand* operand) const { in LookupConstant()
374 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/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()
718 HConstant* constant = HConstant::cast(right_value); in DoShift()
2042 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
[all …]
Dlithium-codegen-x87.cc709 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
718 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
725 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
732 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
894 HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op)); in AddToTranslation()
949 HConstant* constant = in LoadContextFromDeferred()
3608 HConstant* fun_const = HConstant::cast(instr->hydrogen()->function()); in DoCallJSFunction()
/external/chromium_org/v8/src/mips/
Dlithium-mips.cc489 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
496 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
503 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
510 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
516 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
522 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
696 HConstant* constant = HConstant::cast(right_value); in DoShift()
1464 HConstant* constant = HConstant::cast(right); in DoMul()
2004 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
2463 HConstant* undefined = graph()->GetConstantUndefined(); in DoEnterInlined()
Dlithium-codegen-mips.cc405 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
443 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
468 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
491 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
500 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
506 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
515 HConstant* constant = chunk()->LookupConstant(const_op); in ToOperand()
688 HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op)); in AddToTranslation()
732 HConstant* constant = in LoadContextFromDeferred()
/external/chromium_org/v8/src/arm/
Dlithium-arm.cc484 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
491 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
498 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
505 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
511 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
517 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
691 HConstant* constant = HConstant::cast(right_value); in DoShift()
1473 HConstant* constant = HConstant::cast(right); in DoMul()
2058 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
2517 HConstant* undefined = graph()->GetConstantUndefined(); in DoEnterInlined()
Dlithium-codegen-arm.cc410 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadRegister()
445 HConstant* constant = chunk_->LookupConstant(const_op); in EmitLoadDoubleRegister()
472 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
495 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
504 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
510 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
519 HConstant* constant = chunk()->LookupConstant(const_op); in ToOperand()
692 HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op)); in AddToTranslation()
758 HConstant* constant = in LoadContextFromDeferred()
/external/chromium_org/v8/src/ia32/
Dlithium-ia32.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()
732 HConstant* constant = HConstant::cast(right_value); in DoShift()
2061 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
[all …]
Dlithium-codegen-ia32.cc523 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
532 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
539 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
546 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
711 HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op)); in AddToTranslation()
767 HConstant* constant = in LoadContextFromDeferred()
3478 HConstant* fun_const = HConstant::cast(instr->hydrogen()->function()); in DoCallJSFunction()
/external/chromium_org/v8/src/x64/
Dlithium-x64.cc489 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseTempRegisterOrConstant()
507 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstant()
514 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseOrConstantAtStart()
521 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstant()
528 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseRegisterOrConstantAtStart()
534 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
540 ? chunk_->DefineConstantOperand(HConstant::cast(value)) in UseAny()
704 HConstant* constant = HConstant::cast(right_value); in DoShift()
2003 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
2331 HConstant::cast(instr->value())->NotInNewSpace() && in DoStoreNamedField()
[all …]
Dlithium-codegen-x64.cc445 HConstant* constant = chunk_->LookupConstant(op); in ToRepresentation()
454 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
460 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()
467 HConstant* constant = chunk_->LookupConstant(op); in ToExternalReference()
474 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
615 HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op)); in AddToTranslation()
670 HConstant* constant = in LoadContextFromDeferred()
3566 HConstant* fun_const = HConstant::cast(instr->hydrogen()->function()); in DoCallJSFunction()
/external/chromium_org/v8/src/arm64/
Dlithium-arm64.cc424 return chunk_->DefineConstantOperand(HConstant::cast(value)); in UseConstant()
1330 LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { in DoConstant()
1462 HConstant* undefined = graph()->GetConstantUndefined(); in DoEnterInlined()
1909 int32_t constant = HConstant::cast(most_const)->Integer32Value(); in DoMul()
2079 LikelyFitsImmField(hinstr, HConstant::cast(hright)->Integer32Value())) || in CanTransformToShiftedOp()
2081 LikelyFitsImmField(hinstr, HConstant::cast(hleft)->Integer32Value()))) { in CanTransformToShiftedOp()
2465 (HConstant::cast(instr->left())->Integer32Value() == 0)) { in DoSub()
Dlithium-codegen-arm64.cc335 HConstant* constant = chunk()->LookupConstant(LConstantOperand::cast(op)); in AddToTranslation()
499 HConstant* constant = in LoadContextFromDeferred()
1196 HConstant* constant = chunk_->LookupConstant(op); in ToSmi()
1211 HConstant* constant = chunk()->LookupConstant(const_op); in ToOperand()
1252 HConstant* constant = chunk()->LookupConstant(const_op); in ToOperand32()
1318 HConstant* constant = chunk_->LookupConstant(op); in ToHandle()
1350 HConstant* constant = chunk_->LookupConstant(op); in ToInteger32()
1356 HConstant* constant = chunk_->LookupConstant(op); in ToDouble()

12