Lines Matching refs:AddInstruction
105 void HBasicBlock::AddInstruction(HInstruction* instr) { in AddInstruction() function in v8::internal::HBasicBlock
158 AddInstruction(end); in Finish()
171 AddInstruction(new(zone()) HLeaveInlined); in Goto()
184 AddInstruction(new(zone()) HLeaveInlined); in AddLeaveInlined()
2071 owner()->AddInstruction(instr); in ReturnInstruction()
2077 owner()->AddInstruction(instr); in ReturnInstruction()
2085 builder->AddInstruction(instr); in ReturnInstruction()
2188 Push(AddInstruction(new(zone()) HPushArgument(Pop()))); in VisitArgument()
2222 AddInstruction(new(zone()) HStackCheck()); in CreateGraph()
2314 HInstruction* HGraphBuilder::AddInstruction(HInstruction* instr) { in AddInstruction() function in v8::internal::HGraphBuilder
2316 current_block()->AddInstruction(instr); in AddInstruction()
2335 AddInstruction(instr); in PushAndAdd()
2348 AddInstruction(new(zone()) HPushArgument(arguments.RemoveLast())); in PreProcessCall()
2360 AddInstruction(undefined_constant); in SetupScope()
2367 HInstruction* parameter = AddInstruction(new(zone()) HParameter(i)); in SetupScope()
2385 AddInstruction(object); in SetupScope()
2596 AddInstruction(compare); in VisitSwitchStatement()
2702 AddInstruction(unknown); in PreProcessOsrEntry()
2707 AddInstruction(new(zone()) HOsrEntry(osr_entry_id)); in PreProcessOsrEntry()
2934 AddInstruction(context); in BuildContextChainWalk()
2938 AddInstruction(context); in BuildContextChainWalk()
2978 AddInstruction(context); in VisitVariableProxy()
2980 AddInstruction(global_object); in VisitVariableProxy()
3013 AddInstruction(context); in VisitObjectLiteral()
3051 AddInstruction(store); in VisitObjectLiteral()
3074 AddInstruction(result); in VisitObjectLiteral()
3109 AddInstruction(elements); in VisitArrayLiteral()
3112 HValue* key = AddInstruction( in VisitArrayLiteral()
3115 AddInstruction(new(zone()) HStoreKeyedFastElement(elements, key, value)); in VisitArrayLiteral()
3159 AddInstruction(new(zone()) HCheckNonSmi(object)); in BuildStoreNamedField()
3160 AddInstruction(new(zone()) HCheckMap(object, type)); in BuildStoreNamedField()
3190 AddInstruction(context); in BuildStoreNamedGeneric()
3237 AddInstruction(new(zone()) HCheckNonSmi(object)); // Only needed once. in HandlePolymorphicStoreNamedField()
3252 AddInstruction(instr); in HandlePolymorphicStoreNamedField()
3268 AddInstruction(instr); in HandlePolymorphicStoreNamedField()
3342 AddInstruction(instr); in HandlePropertyAssignment()
3363 AddInstruction(instr); in HandleGlobalVariableAssignment()
3367 AddInstruction(context); in HandleGlobalVariableAssignment()
3369 AddInstruction(global_object); in HandleGlobalVariableAssignment()
3377 AddInstruction(instr); in HandleGlobalVariableAssignment()
3410 AddInstruction(instr); in HandleCompoundAssignment()
3445 AddInstruction(store); in HandleCompoundAssignment()
3473 AddInstruction(store); in HandleCompoundAssignment()
3525 AddInstruction(instr); in VisitAssignment()
3559 AddInstruction(instr); in VisitThrow()
3572 AddInstruction(new(zone()) HCheckNonSmi(object)); in BuildLoadNamedField()
3573 AddInstruction(new(zone()) HCheckMap(object, type)); in BuildLoadNamedField()
3595 AddInstruction(context); in BuildLoadNamedGeneric()
3613 AddInstruction(new(zone()) HCheckNonSmi(obj)); in BuildLoadNamed()
3614 AddInstruction(new(zone()) HCheckMap(obj, map)); in BuildLoadNamed()
3626 AddInstruction(context); in BuildLoadKeyedGeneric()
3635 AddInstruction(new(zone()) HCheckNonSmi(object)); in BuildLoadKeyedFastElement()
3638 AddInstruction(new(zone()) HCheckMap(object, map)); in BuildLoadKeyedFastElement()
3644 length = AddInstruction(new(zone()) HJSArrayLength(object)); in BuildLoadKeyedFastElement()
3645 checked_key = AddInstruction(new(zone()) HBoundsCheck(key, length)); in BuildLoadKeyedFastElement()
3646 AddInstruction(elements); in BuildLoadKeyedFastElement()
3648 AddInstruction(elements); in BuildLoadKeyedFastElement()
3649 length = AddInstruction(new(zone()) HFixedArrayLength(elements)); in BuildLoadKeyedFastElement()
3650 checked_key = AddInstruction(new(zone()) HBoundsCheck(key, length)); in BuildLoadKeyedFastElement()
3661 AddInstruction(new(zone()) HCheckNonSmi(object)); in BuildLoadKeyedSpecializedArrayElement()
3665 AddInstruction(new(zone()) HCheckMap(object, map)); in BuildLoadKeyedSpecializedArrayElement()
3667 AddInstruction(elements); in BuildLoadKeyedSpecializedArrayElement()
3669 AddInstruction(length); in BuildLoadKeyedSpecializedArrayElement()
3671 AddInstruction(new(zone()) HBoundsCheck(key, length)); in BuildLoadKeyedSpecializedArrayElement()
3674 AddInstruction(external_elements); in BuildLoadKeyedSpecializedArrayElement()
3704 AddInstruction(context); in BuildStoreKeyedGeneric()
3719 AddInstruction(new(zone()) HCheckNonSmi(object)); in BuildStoreKeyedFastElement()
3722 AddInstruction(new(zone()) HCheckMap(object, map)); in BuildStoreKeyedFastElement()
3723 HInstruction* elements = AddInstruction(new(zone()) HLoadElements(object)); in BuildStoreKeyedFastElement()
3724 AddInstruction(new(zone()) HCheckMap( in BuildStoreKeyedFastElement()
3729 length = AddInstruction(new(zone()) HJSArrayLength(object)); in BuildStoreKeyedFastElement()
3731 length = AddInstruction(new(zone()) HFixedArrayLength(elements)); in BuildStoreKeyedFastElement()
3734 AddInstruction(new(zone()) HBoundsCheck(key, length)); in BuildStoreKeyedFastElement()
3745 AddInstruction(new(zone()) HCheckNonSmi(object)); in BuildStoreKeyedSpecializedArrayElement()
3749 AddInstruction(new(zone()) HCheckMap(object, map)); in BuildStoreKeyedSpecializedArrayElement()
3751 AddInstruction(elements); in BuildStoreKeyedSpecializedArrayElement()
3752 HInstruction* length = AddInstruction( in BuildStoreKeyedSpecializedArrayElement()
3755 AddInstruction(new(zone()) HBoundsCheck(key, length)); in BuildStoreKeyedSpecializedArrayElement()
3758 AddInstruction(external_elements); in BuildStoreKeyedSpecializedArrayElement()
3808 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements); in TryArgumentsAccess()
3816 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements); in TryArgumentsAccess()
3817 HInstruction* length = AddInstruction( in TryArgumentsAccess()
3820 AddInstruction(new(zone()) HBoundsCheck(key, length)); in TryArgumentsAccess()
3839 AddInstruction(new(zone()) HCheckNonSmi(array)); in VisitProperty()
3840 AddInstruction(new(zone()) HCheckInstanceType(array, in VisitProperty()
3847 AddInstruction(new(zone()) HCheckNonSmi(string)); in VisitProperty()
3848 AddInstruction(new(zone()) HCheckInstanceType(string, in VisitProperty()
3857 AddInstruction(char_code); in VisitProperty()
3862 AddInstruction(new(zone()) HCheckNonSmi(function)); in VisitProperty()
3873 AddInstruction(new(zone()) HCheckNonSmi(obj)); in VisitProperty()
3899 AddInstruction(new(zone()) HCheckNonSmi(receiver)); in AddCheckConstantFunction()
3900 AddInstruction(new(zone()) HCheckMap(receiver, receiver_map)); in AddCheckConstantFunction()
3903 AddInstruction(new(zone()) HCheckPrototypeMaps( in AddCheckConstantFunction()
3925 AddInstruction(new(zone()) HCheckNonSmi(receiver)); in HandlePolymorphicCallNamed()
3949 AddInstruction(call); in HandlePolymorphicCallNamed()
3965 AddInstruction(context); in HandlePolymorphicCallNamed()
3971 AddInstruction(call); in HandlePolymorphicCallNamed()
4153 AddInstruction(new(zone()) HEnterInlined(target, function)); in TryInline()
4240 AddInstruction(new(zone()) HCheckPrototypeMaps( in TryInlineBuiltinFunction()
4248 AddInstruction(char_code); in TryInlineBuiltinFunction()
4288 AddInstruction(double_one); in TryInlineBuiltinFunction()
4291 AddInstruction(square_root); in TryInlineBuiltinFunction()
4359 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements); in TryCallApply()
4360 HInstruction* length = AddInstruction(new(zone()) HArgumentsLength(elements)); in TryCallApply()
4392 AddInstruction(context); in VisitCall()
4434 AddInstruction(context); in VisitCall()
4458 AddInstruction(context); in VisitCall()
4489 AddInstruction(context); in VisitCall()
4496 AddInstruction(new(zone()) HCheckFunction(function, expr->target())); in VisitCall()
4503 AddInstruction(global_receiver); in VisitCall()
4519 AddInstruction(context); in VisitCall()
4532 AddInstruction(context); in VisitCall()
4533 AddInstruction(global_object); in VisitCall()
4555 AddInstruction(context); in VisitCallNew()
4741 AddInstruction(after); in VisitCountOperation()
4756 AddInstruction(instr); in VisitCountOperation()
4793 AddInstruction(after); in VisitCountOperation()
4796 AddInstruction(store); in VisitCountOperation()
4829 AddInstruction(after); in VisitCountOperation()
4833 AddInstruction(store); in VisitCountOperation()
4855 AddInstruction(new(zone()) HCheckNonSmi(string)); in BuildStringCharCodeAt()
4856 AddInstruction(new(zone()) HCheckInstanceType( in BuildStringCharCodeAt()
4859 AddInstruction(length); in BuildStringCharCodeAt()
4861 AddInstruction(new(zone()) HBoundsCheck(index, length)); in BuildStringCharCodeAt()
5128 AddInstruction(context); in VisitCompareOperation()
5131 AddInstruction(new(zone()) HCheckFunction(right, target)); in VisitCompareOperation()
5140 AddInstruction(new(zone()) HCheckNonSmi(left)); in VisitCompareOperation()
5141 AddInstruction(HCheckInstanceType::NewIsJSObjectOrJSFunction(left)); in VisitCompareOperation()
5142 AddInstruction(new(zone()) HCheckNonSmi(right)); in VisitCompareOperation()
5143 AddInstruction(HCheckInstanceType::NewIsJSObjectOrJSFunction(right)); in VisitCompareOperation()
5297 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements); in GenerateArgumentsLength()
5311 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements); in GenerateArguments()
5312 HInstruction* length = AddInstruction(new(zone()) HArgumentsLength(elements)); in GenerateArguments()
5371 AddInstruction(char_code); in GenerateStringCharAt()
5407 AddInstruction(context); in GenerateStringAdd()
5420 AddInstruction(context); in GenerateSubString()
5433 AddInstruction(context); in GenerateStringCompare()
5447 AddInstruction(context); in GenerateRegExpExec()
5460 AddInstruction(context); in GenerateRegExpConstructResult()
5480 AddInstruction(context); in GenerateNumberToString()
5519 AddInstruction(context); in GenerateMathSin()
5533 AddInstruction(context); in GenerateMathCos()
5547 AddInstruction(context); in GenerateMathLog()