Lines Matching refs:AddInstruction

106 void HBasicBlock::AddInstruction(HInstruction* instr) {
160 AddInstruction(end);
170 AddInstruction(new(zone()) HLeaveInlined);
184 AddInstruction(new(zone()) HLeaveInlined);
2270 owner()->AddInstruction(instr);
2292 owner()->AddInstruction(instr);
2321 builder->AddInstruction(instr);
2425 Push(AddInstruction(new(zone()) HPushArgument(value)));
2493 AddInstruction(
2594 HInstruction* HGraphBuilder::AddInstruction(HInstruction* instr) {
2596 current_block()->AddInstruction(instr);
2615 AddInstruction(instr);
2628 AddInstruction(new(zone()) HPushArgument(arguments.RemoveLast()));
2637 AddInstruction(undefined_constant);
2641 AddInstruction(object);
2649 HInstruction* parameter = AddInstruction(new(zone()) HParameter(i));
2654 HInstruction* context = AddInstruction(new(zone()) HContext);
3128 AddInstruction(osr_value);
3137 AddInstruction(osr_value);
3146 AddInstruction(new(zone()) HOsrEntry(osr_entry_id));
3148 AddInstruction(context);
3165 AddInstruction(stack_check);
3334 HInstruction* map = AddInstruction(new(zone()) HForInPrepareMap(
3338 HInstruction* array = AddInstruction(
3344 HInstruction* array_length = AddInstruction(
3347 HInstruction* start_index = AddInstruction(new(zone()) HConstant(
3355 HInstruction* index_cache = AddInstruction(
3389 HValue* key = AddInstruction(
3397 AddInstruction(new(zone()) HCheckMapValue(
3565 AddInstruction(context_instruction);
3610 AddInstruction(global_object);
3786 AddInstruction(store);
3809 AddInstruction(result);
3883 AddInstruction(elements);
3885 HValue* key = AddInstruction(
3892 AddInstruction(new(zone()) HCheckSmi(value));
3895 AddInstruction(new(zone()) HStoreKeyedFastElement(
3902 AddInstruction(new(zone()) HStoreKeyedFastDoubleElement(elements,
3949 AddInstruction(new(zone()) HCheckNonSmi(object));
3950 AddInstruction(new(zone()) HCheckMap(object, type, NULL,
4046 AddInstruction(new(zone()) HCheckNonSmi(object)); // Only needed once.
4061 AddInstruction(instr);
4077 AddInstruction(instr);
4158 AddInstruction(instr);
4179 AddInstruction(instr);
4184 AddInstruction(global_object);
4192 AddInstruction(instr);
4269 AddInstruction(instr);
4309 AddInstruction(store);
4388 AddInstruction(new HUseConst(old_value));
4471 AddInstruction(instr);
4501 AddInstruction(instr);
4514 AddInstruction(new(zone()) HCheckNonSmi(object));
4515 AddInstruction(new(zone()) HCheckMap(object, type, NULL,
4536 AddInstruction(new(zone()) HSoftDeoptimize);
4559 AddInstruction(new(zone()) HCheckNonSmi(obj));
4560 AddInstruction(new(zone()) HCheckMap(obj, map, NULL,
4587 val = AddInstruction(new(zone()) HClampToUint8(val));
4597 val = AddInstruction(new(zone()) HChange(
4639 AddInstruction(new(zone()) HCheckSmi(val));
4663 HInstruction* mapcheck = AddInstruction(new(zone()) HCheckMap(object, map));
4666 HInstruction* elements = AddInstruction(new(zone()) HLoadElements(object));
4668 AddInstruction(new(zone()) HCheckMap(
4674 length = AddInstruction(new(zone()) HFixedArrayBaseLength(elements));
4675 checked_key = AddInstruction(new(zone()) HBoundsCheck(key, length));
4678 AddInstruction(external_elements);
4686 length = AddInstruction(new(zone()) HJSArrayLength(object, mapcheck));
4688 length = AddInstruction(new(zone()) HFixedArrayBaseLength(elements));
4690 checked_key = AddInstruction(new(zone()) HBoundsCheck(key, length));
4705 AddInstruction(new(zone()) HCheckNonSmi(object));
4741 AddInstruction(new(zone()) HTransitionElementsKind(
4758 instr = AddInstruction(is_store ? BuildStoreKeyedGeneric(object, key, val)
4761 instr = AddInstruction(BuildMonomorphicElementAccess(
4769 AddInstruction(HCheckInstanceType::NewIsSpecObject(object));
4773 AddInstruction(new(zone()) HElementsKind(object));
4775 HInstruction* elements = AddInstruction(new(zone()) HLoadElements(object));
4798 AddInstruction(new(zone()) HFixedArrayBaseLength(elements));
4799 checked_key = AddInstruction(new(zone()) HBoundsCheck(key, length));
4801 AddInstruction(external_elements);
4818 AddInstruction(new(zone()) HCheckMap(
4840 length = AddInstruction(new(zone()) HJSArrayLength(object, typecheck));
4841 checked_key = AddInstruction(new(zone()) HBoundsCheck(key, length));
4842 access = AddInstruction(BuildFastElementAccess(
4855 length = AddInstruction(new(zone()) HFixedArrayBaseLength(elements));
4856 checked_key = AddInstruction(new(zone()) HBoundsCheck(key, length));
4857 access = AddInstruction(BuildFastElementAccess(
4861 access = AddInstruction(BuildStoreKeyedGeneric(object, key, val));
4863 access = AddInstruction(BuildLoadKeyedGeneric(object, key));
4866 access = AddInstruction(BuildExternalArrayElementAccess(
4903 AddInstruction(new(zone()) HCheckNonSmi(obj));
4918 AddInstruction(instr);
4955 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements);
4963 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements);
4964 HInstruction* length = AddInstruction(
4967 AddInstruction(new(zone()) HBoundsCheck(key, length));
4988 AddInstruction(new(zone()) HCheckNonSmi(array));
4990 AddInstruction(HCheckInstanceType::NewIsJSArray(array));
4995 AddInstruction(new(zone()) HCheckNonSmi(string));
4996 AddInstruction(HCheckInstanceType::NewIsString(string));
5005 AddInstruction(char_code);
5010 AddInstruction(new(zone()) HCheckNonSmi(function));
5021 AddInstruction(new(zone()) HCheckNonSmi(obj));
5063 AddInstruction(new(zone()) HCheckNonSmi(receiver));
5064 AddInstruction(new(zone()) HCheckMap(receiver, receiver_map, NULL,
5068 AddInstruction(new(zone()) HCheckPrototypeMaps(
5090 AddInstruction(new(zone()) HCheckNonSmi(receiver));
5115 AddInstruction(call);
5136 AddInstruction(call);
5373 AddInstruction(context);
5378 AddInstruction(new(zone()) HEnterInlined(target,
5543 AddInstruction(new(zone()) HCheckPrototypeMaps(
5552 AddInstruction(char_code);
5597 AddInstruction(double_one);
5600 AddInstruction(square_root);
5627 AddInstruction(global_object);
5654 left_operand = AddInstruction(left_convert);
5663 right_operand = AddInstruction(right_convert);
5760 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements);
5762 AddInstruction(new(zone()) HArgumentsLength(elements));
5764 AddInstruction(new(zone()) HWrapReceiver(receiver, function));
5779 AddInstruction(new(zone()) HWrapReceiver(receiver, function));
5920 AddInstruction(new(zone()) HCheckFunction(function, expr->target()));
5927 AddInstruction(global_receiver);
5946 AddInstruction(receiver);
5962 AddInstruction(global);
5965 AddInstruction(new(zone()) HCheckFunction(function, expr->target()));
5991 AddInstruction(global_object);
5992 AddInstruction(receiver);
6030 HValue* check = AddInstruction(
6043 AddInstruction(receiver);
6213 AddInstruction(new(zone()) HSoftDeoptimize);
6229 AddInstruction(new(zone()) HSoftDeoptimize);
6296 AddInstruction(number_input);
6310 AddInstruction(instr);
6382 AddInstruction(instr);
6420 AddInstruction(store);
6474 AddInstruction(new(zone()) HCheckNonSmi(string));
6475 AddInstruction(HCheckInstanceType::NewIsString(string));
6477 AddInstruction(length);
6479 AddInstruction(new(zone()) HBoundsCheck(index, length));
6490 AddInstruction(new(zone()) HSoftDeoptimize);
6498 AddInstruction(new(zone()) HCheckNonSmi(left));
6499 AddInstruction(HCheckInstanceType::NewIsString(left));
6500 AddInstruction(new(zone()) HCheckNonSmi(right));
6501 AddInstruction(HCheckInstanceType::NewIsString(right));
6817 AddInstruction(new(zone()) HSoftDeoptimize);
6883 AddInstruction(new(zone()) HCheckFunction(right, target));
6900 AddInstruction(new(zone()) HCheckNonSmi(left));
6901 AddInstruction(new(zone()) HCheckMap(left, map, NULL,
6903 AddInstruction(new(zone()) HCheckNonSmi(right));
6904 AddInstruction(new(zone()) HCheckMap(right, map, NULL,
6911 AddInstruction(new(zone()) HCheckNonSmi(left));
6912 AddInstruction(HCheckInstanceType::NewIsSpecObject(left));
6913 AddInstruction(new(zone()) HCheckNonSmi(right));
6914 AddInstruction(HCheckInstanceType::NewIsSpecObject(right));
6926 AddInstruction(new(zone()) HCheckNonSmi(left));
6927 AddInstruction(HCheckInstanceType::NewIsSymbol(left));
6928 AddInstruction(new(zone()) HCheckNonSmi(right));
6929 AddInstruction(HCheckInstanceType::NewIsSymbol(right));
7025 AddInstruction(result);
7056 AddInstruction(store);
7231 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements);
7245 HInstruction* elements = AddInstruction(new(zone()) HArgumentsElements);
7246 HInstruction* length = AddInstruction(new(zone()) HArgumentsLength(elements));
7311 AddInstruction(new HStoreNamedField(object,
7357 AddInstruction(char_code);
7387 AddInstruction(global_object);
7493 HInstruction* invoke_result = AddInstruction(
7500 HInstruction* call_result = AddInstruction(