Lines Matching refs:hydrogen

413   CallFunctionStub stub(isolate(), arity, instr->hydrogen()->function_flags());  in DoCallFunction()
444 ElementsKind kind = instr->hydrogen()->elements_kind(); in DoCallNewArray()
1506 DCHECK(!instr->hydrogen()->CheckFlag(HValue::kCanOverflow)); in DoAddE()
1512 bool can_overflow = instr->hydrogen()->CheckFlag(HValue::kCanOverflow); in DoAddI()
1527 bool can_overflow = instr->hydrogen()->CheckFlag(HValue::kCanOverflow); in DoAddS()
1559 if (instr->hydrogen()->MustAllocateDoubleAligned()) { in DoAllocate()
1563 if (instr->hydrogen()->IsOldPointerSpaceAllocation()) { in DoAllocate()
1564 DCHECK(!instr->hydrogen()->IsOldDataSpaceAllocation()); in DoAllocate()
1565 DCHECK(!instr->hydrogen()->IsNewSpaceAllocation()); in DoAllocate()
1567 } else if (instr->hydrogen()->IsOldDataSpaceAllocation()) { in DoAllocate()
1568 DCHECK(!instr->hydrogen()->IsNewSpaceAllocation()); in DoAllocate()
1587 if (instr->hydrogen()->MustPrefillWithFiller()) { in DoAllocate()
1623 instr->hydrogen()->MustAllocateDoubleAligned()); in DoDeferredAllocate()
1624 if (instr->hydrogen()->IsOldPointerSpaceAllocation()) { in DoDeferredAllocate()
1625 DCHECK(!instr->hydrogen()->IsOldDataSpaceAllocation()); in DoDeferredAllocate()
1626 DCHECK(!instr->hydrogen()->IsNewSpaceAllocation()); in DoDeferredAllocate()
1628 } else if (instr->hydrogen()->IsOldDataSpaceAllocation()) { in DoDeferredAllocate()
1629 DCHECK(!instr->hydrogen()->IsNewSpaceAllocation()); in DoDeferredAllocate()
1699 if (instr->hydrogen()->from_inlined()) { in DoArgumentsElements()
1825 Condition cond = instr->hydrogen()->allow_equality() ? hi : hs; in DoBoundsCheck()
1826 DCHECK(instr->hydrogen()->index()->representation().IsInteger32()); in DoBoundsCheck()
1827 DCHECK(instr->hydrogen()->length()->representation().IsInteger32()); in DoBoundsCheck()
1838 if (FLAG_debug_code && instr->hydrogen()->skip_check()) { in DoBoundsCheck()
1847 Representation r = instr->hydrogen()->value()->representation(); in DoBranch()
1865 HType type = instr->hydrogen()->value()->type(); in DoBranch()
1889 ToBooleanStub::Types expected = instr->hydrogen()->expected_input_types(); in DoBranch()
2061 isolate()->stub_cache()->GenerateProbe(masm(), instr->hydrogen()->flags(), in DoTailCallThroughMegamorphicCache()
2102 if (instr->hydrogen()->pass_argument_count()) { in DoCallJSFunction()
2127 switch (instr->hydrogen()->major_key()) { in DoCallStub()
2188 if (instr->hydrogen()->IsStabilityCheck()) { in DoCheckMaps()
2189 const UniqueSet<Map>* maps = instr->hydrogen()->maps(); in DoCheckMaps()
2202 if (instr->hydrogen()->HasMigrationTarget()) { in DoCheckMaps()
2207 const UniqueSet<Map>* maps = instr->hydrogen()->maps(); in DoCheckMaps()
2218 if (instr->hydrogen()->HasMigrationTarget()) { in DoCheckMaps()
2229 if (!instr->hydrogen()->value()->type().IsHeapObject()) { in DoCheckNonSmi()
2249 if (instr->hydrogen()->is_interval_check()) { in DoCheckInstanceType()
2251 instr->hydrogen()->GetCheckInterval(&first, &last); in DoCheckInstanceType()
2269 instr->hydrogen()->GetCheckMaskAndTag(&mask, &tag); in DoCheckInstanceType()
2342 if (instr->hydrogen()->bits() == HDoubleBits::HIGH) { in DoDoubleBits()
2364 Handle<String> class_name = instr->hydrogen()->class_name(); in DoClassOfTestAndBranch()
2425 DCHECK(instr->hydrogen()->representation().IsDouble()); in DoCmpHoleAndBranchD()
2441 DCHECK(instr->hydrogen()->representation().IsTagged()); in DoCmpHoleAndBranchT()
2458 Representation rep = instr->hydrogen()->value()->representation(); in DoCompareMinusZeroAndBranch()
2479 instr->hydrogen()->left()->CheckFlag(HInstruction::kUint32) || in DoCompareNumericAndBranch()
2480 instr->hydrogen()->right()->CheckFlag(HInstruction::kUint32); in DoCompareNumericAndBranch()
2617 Handle<HeapObject> object = instr->hydrogen()->object().handle(); in DoCheckValue()
2682 Deoptimizer::BailoutType type = instr->hydrogen()->type(); in DoDeoptimize()
2691 Deoptimize(instr, &type, instr->hydrogen()->reason()); in DoDeoptimize()
2703 HDiv* hdiv = instr->hydrogen(); in DoDivByPowerOf2I()
2752 HDiv* hdiv = instr->hydrogen(); in DoDivByConstI()
2773 HBinaryOperation* hdiv = instr->hydrogen(); in DoDivI()
2827 if (instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoDoubleToIntOrSmi()
2862 bool pretenure = instr->hydrogen()->pretenure(); in DoFunctionLiteral()
2863 if (!pretenure && instr->hydrogen()->has_no_literals()) { in DoFunctionLiteral()
2864 FastNewClosureStub stub(isolate(), instr->hydrogen()->strict_mode(), in DoFunctionLiteral()
2865 instr->hydrogen()->kind()); in DoFunctionLiteral()
2866 __ Mov(x2, Operand(instr->hydrogen()->shared_info())); in DoFunctionLiteral()
2869 __ Mov(x2, Operand(instr->hydrogen()->shared_info())); in DoFunctionLiteral()
3013 if (!instr->hydrogen()->value()->type().IsHeapObject()) { in DoHasInstanceTypeAndBranch()
3016 __ CompareObjectType(input, scratch, scratch, TestType(instr->hydrogen())); in DoHasInstanceTypeAndBranch()
3017 EmitBranch(instr, BranchCondition(instr->hydrogen())); in DoHasInstanceTypeAndBranch()
3184 Handle<JSFunction> known_function = instr->hydrogen()->known_function(); in DoInvokeFunction()
3192 instr->hydrogen()->formal_parameter_count(), in DoInvokeFunction()
3267 instr->hydrogen()->value()->type().IsHeapObject() in DoIsStringAndBranch()
3287 if (!instr->hydrogen()->value()->type().IsHeapObject()) { in DoIsUndetectableAndBranch()
3321 if (instr->hydrogen()->RequiresHoleCheck()) { in DoLoadContextSlot()
3322 if (instr->hydrogen()->DeoptimizesOnHole()) { in DoLoadContextSlot()
3361 __ Mov(result, Operand(Handle<Object>(instr->hydrogen()->cell().handle()))); in DoLoadGlobalCell()
3363 if (instr->hydrogen()->RequiresHoleCheck()) { in DoLoadGlobalCell()
3374 __ Mov(vector, instr->hydrogen()->feedback_vector()); in EmitVectorLoadICRegisters()
3378 Smi::FromInt(instr->hydrogen()->slot())); in EmitVectorLoadICRegisters()
3433 bool key_is_smi = instr->hydrogen()->key()->representation().IsSmi(); in DoLoadKeyedExternal()
3492 if (!instr->hydrogen()->CheckFlag(HInstruction::kUint32)) { in DoLoadKeyedExternal()
3564 DCHECK(instr->hydrogen()->RequiresHoleCheck() || in DoLoadKeyedFixedDouble()
3576 bool key_is_tagged = instr->hydrogen()->key()->representation().IsSmi(); in DoLoadKeyedFixedDouble()
3578 instr->hydrogen()->elements_kind(), in DoLoadKeyedFixedDouble()
3579 instr->hydrogen()->representation(), in DoLoadKeyedFixedDouble()
3585 if (instr->hydrogen()->RequiresHoleCheck()) { in DoLoadKeyedFixedDouble()
3602 Representation representation = instr->hydrogen()->representation(); in DoLoadKeyedFixed()
3609 DCHECK(instr->hydrogen()->elements_kind() == FAST_SMI_ELEMENTS); in DoLoadKeyedFixed()
3619 bool key_is_tagged = instr->hydrogen()->key()->representation().IsSmi(); in DoLoadKeyedFixed()
3622 instr->hydrogen()->elements_kind(), in DoLoadKeyedFixed()
3628 if (instr->hydrogen()->RequiresHoleCheck()) { in DoLoadKeyedFixed()
3629 if (IsFastSmiElementsKind(instr->hydrogen()->elements_kind())) { in DoLoadKeyedFixed()
3654 HObjectAccess access = instr->hydrogen()->access(); in DoLoadNamedField()
3664 if (instr->hydrogen()->representation().IsDouble()) { in DoLoadNamedField()
3681 instr->hydrogen()->representation().IsInteger32()) { in DoLoadNamedField()
3723 Representation r = instr->hydrogen()->value()->representation(); in DoMathAbs()
3829 DCHECK(instr->hydrogen()->value()->representation().IsTagged() || in DoMathAbsTagged()
3830 instr->hydrogen()->value()->representation().IsSmi()); in DoMathAbsTagged()
3885 if (instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoMathFloorI()
3921 if (instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoFlooringDivByPowerOf2I()
3927 if (instr->hydrogen()->CheckFlag(HValue::kLeftCanBeMinInt)) { in DoFlooringDivByPowerOf2I()
3934 if (!instr->hydrogen()->CheckFlag(HValue::kLeftCanBeMinInt)) { in DoFlooringDivByPowerOf2I()
3956 HMathFloorOfDiv* hdiv = instr->hydrogen(); in DoFlooringDivByConstI()
4004 if (instr->hydrogen()->CheckFlag(HValue::kCanOverflow)) { in DoFlooringDivI()
4012 if (instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoFlooringDivI()
4076 Representation exponent_type = instr->hydrogen()->right()->representation(); in DoPower()
4181 if (instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoMathRoundI()
4214 HMathMinMax::Operation op = instr->hydrogen()->operation(); in DoMathMinMax()
4215 if (instr->hydrogen()->representation().IsInteger32()) { in DoMathMinMax()
4222 } else if (instr->hydrogen()->representation().IsSmi()) { in DoMathMinMax()
4230 DCHECK(instr->hydrogen()->representation().IsDouble()); in DoMathMinMax()
4256 HMod* hmod = instr->hydrogen(); in DoModByPowerOf2I()
4295 HMod* hmod = instr->hydrogen(); in DoModByConstI()
4313 if (instr->hydrogen()->CheckFlag(HValue::kCanBeDivByZero)) { in DoModI()
4317 if (instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoModI()
4326 DCHECK(instr->hydrogen()->representation().IsSmiOrInteger32()); in DoMulConstIS()
4327 bool is_smi = instr->hydrogen()->representation().IsSmi(); in DoMulConstIS()
4335 bool can_overflow = instr->hydrogen()->CheckFlag(HValue::kCanOverflow); in DoMulConstIS()
4337 instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero); in DoMulConstIS()
4446 bool can_overflow = instr->hydrogen()->CheckFlag(HValue::kCanOverflow); in DoMulI()
4448 instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero); in DoMulI()
4476 bool can_overflow = instr->hydrogen()->CheckFlag(HValue::kCanOverflow); in DoMulS()
4478 instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero); in DoMulS()
4648 instr->hydrogen()->can_convert_undefined_to_nan(); in DoNumberUntagD()
4653 HValue* value = instr->hydrogen()->value(); in DoNumberUntagD()
4671 if (instr->hydrogen()->deoptimize_on_minus_zero()) { in DoNumberUntagD()
4804 String::Encoding encoding = instr->hydrogen()->encoding(); in DoSeqStringGetChar()
4839 String::Encoding encoding = instr->hydrogen()->encoding(); in DoSeqStringSetChar()
4850 instr->hydrogen()->encoding() == String::ONE_BYTE_ENCODING in DoSeqStringSetChar()
4866 HChange* hchange = instr->hydrogen(); in DoSmiTag()
5023 __ LoadHeapObject(scratch1, instr->hydrogen()->pairs()); in DoDeclareGlobals()
5024 __ Mov(scratch2, Smi::FromInt(instr->hydrogen()->flags())); in DoDeclareGlobals()
5057 if (instr->hydrogen()->is_function_entry()) { in DoStackCheck()
5072 DCHECK(instr->hydrogen()->is_backwards_branch()); in DoStackCheck()
5107 if (instr->hydrogen()->RequiresHoleCheck()) { in DoStoreContextSlot()
5109 if (instr->hydrogen()->DeoptimizesOnHole()) { in DoStoreContextSlot()
5117 if (instr->hydrogen()->NeedsWriteBarrier()) { in DoStoreContextSlot()
5119 instr->hydrogen()->value()->type().IsHeapObject() in DoStoreContextSlot()
5139 __ Mov(cell, Operand(instr->hydrogen()->cell().handle())); in DoStoreGlobalCell()
5145 if (instr->hydrogen()->RequiresHoleCheck()) { in DoStoreGlobalCell()
5163 bool key_is_smi = instr->hydrogen()->key()->representation().IsSmi(); in DoStoreKeyedExternal()
5251 bool key_is_tagged = instr->hydrogen()->key()->representation().IsSmi(); in DoStoreKeyedFixedDouble()
5253 instr->hydrogen()->elements_kind(), in DoStoreKeyedFixedDouble()
5254 instr->hydrogen()->representation(), in DoStoreKeyedFixedDouble()
5276 instr->hydrogen()->NeedsWriteBarrier()) { in DoStoreKeyedFixed()
5280 Representation representation = instr->hydrogen()->value()->representation(); in DoStoreKeyedFixed()
5287 DCHECK(instr->hydrogen()->store_mode() == STORE_TO_INITIALIZED_ENTRY); in DoStoreKeyedFixed()
5288 DCHECK(instr->hydrogen()->elements_kind() == FAST_SMI_ELEMENTS); in DoStoreKeyedFixed()
5298 bool key_is_tagged = instr->hydrogen()->key()->representation().IsSmi(); in DoStoreKeyedFixed()
5301 instr->hydrogen()->elements_kind(), in DoStoreKeyedFixed()
5307 if (instr->hydrogen()->NeedsWriteBarrier()) { in DoStoreKeyedFixed()
5312 instr->hydrogen()->value()->type().IsHeapObject() in DoStoreKeyedFixed()
5318 instr->hydrogen()->PointersToHereCheckForValue()); in DoStoreKeyedFixed()
5339 HObjectAccess access = instr->hydrogen()->access(); in DoStoreNamedField()
5343 DCHECK(!instr->hydrogen()->has_transition()); in DoStoreNamedField()
5344 DCHECK(!instr->hydrogen()->NeedsWriteBarrier()); in DoStoreNamedField()
5354 DCHECK(!instr->hydrogen()->has_transition()); in DoStoreNamedField()
5355 DCHECK(!instr->hydrogen()->NeedsWriteBarrier()); in DoStoreNamedField()
5367 if (instr->hydrogen()->has_transition()) { in DoStoreNamedField()
5368 Handle<Map> transition = instr->hydrogen()->transition_map(); in DoStoreNamedField()
5374 if (instr->hydrogen()->NeedsWriteBarrierForMap()) { in DoStoreNamedField()
5395 instr->hydrogen()->value()->representation().IsInteger32()) { in DoStoreNamedField()
5396 DCHECK(instr->hydrogen()->store_mode() == STORE_TO_INITIALIZED_ENTRY); in DoStoreNamedField()
5415 if (instr->hydrogen()->NeedsWriteBarrier()) { in DoStoreNamedField()
5423 instr->hydrogen()->SmiCheckForWriteBarrier(), in DoStoreNamedField()
5424 instr->hydrogen()->PointersToHereCheckForValue()); in DoStoreNamedField()
5445 instr->hydrogen()->flags(), in DoStringAdd()
5446 instr->hydrogen()->pretenure_flag()); in DoStringAdd()
5512 DCHECK(instr->hydrogen()->value()->representation().IsInteger32()); in DoStringCharFromCode()
5558 bool can_overflow = instr->hydrogen()->CheckFlag(HValue::kCanOverflow); in DoSubI()
5573 bool can_overflow = instr->hydrogen()->CheckFlag(HValue::kCanOverflow); in DoSubS()
5632 if (instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero)) { in DoDeferredTaggedToI()
5661 if (instr->hydrogen()->value()->representation().IsSmi()) { in DoTaggedToI()
5696 FixedArray::OffsetOfElementAt(instr->hydrogen()->literal_index()); in DoRegExpLiteral()
5697 __ LoadObject(x7, instr->hydrogen()->literals()); in DoRegExpLiteral()
5703 __ Mov(x12, Operand(Smi::FromInt(instr->hydrogen()->literal_index()))); in DoRegExpLiteral()
5704 __ Mov(x11, Operand(instr->hydrogen()->pattern())); in DoRegExpLiteral()
5705 __ Mov(x10, Operand(instr->hydrogen()->flags())); in DoRegExpLiteral()
5916 if (!instr->hydrogen()->known_function()) { in DoWrapReceiver()