Lines Matching refs:jsgraph
131 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreate()
135 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreate()
137 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreate()
141 jsgraph()->UndefinedConstant()); in ReduceJSCreate()
181 Node* const arguments_map = jsgraph()->Constant( in ReduceJSCreateArguments()
186 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateArguments()
191 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateArguments()
215 jsgraph()->Constant(native_context().strict_arguments_map()); in ReduceJSCreateArguments()
217 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateArguments()
222 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateArguments()
247 Node* const jsarray_map = jsgraph()->Constant( in ReduceJSCreateArguments()
250 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateArguments()
255 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateArguments()
299 Node* const arguments_map = jsgraph()->Constant( in ReduceJSCreateArguments()
303 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateArguments()
308 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateArguments()
310 a.Store(AccessBuilder::ForArgumentsLength(), jsgraph()->Constant(length)); in ReduceJSCreateArguments()
343 jsgraph()->Constant(native_context().strict_arguments_map()); in ReduceJSCreateArguments()
345 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateArguments()
350 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateArguments()
352 a.Store(AccessBuilder::ForArgumentsLength(), jsgraph()->Constant(length)); in ReduceJSCreateArguments()
380 jsgraph()->Constant(native_context().js_array_packed_elements_map()); in ReduceJSCreateArguments()
382 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateArguments()
391 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateArguments()
394 jsgraph()->Constant(length)); in ReduceJSCreateArguments()
430 AllocationBuilder ab(jsgraph(), effect, control); in ReduceJSCreateGeneratorObject()
434 jsgraph()->UndefinedConstant()); in ReduceJSCreateGeneratorObject()
439 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateGeneratorObject()
441 Node* undefined = jsgraph()->UndefinedConstant(); in ReduceJSCreateGeneratorObject()
444 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateGeneratorObject()
446 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateGeneratorObject()
452 jsgraph()->Constant(JSGeneratorObject::kNext)); in ReduceJSCreateGeneratorObject()
454 jsgraph()->Constant(JSGeneratorObject::kGeneratorExecuting)); in ReduceJSCreateGeneratorObject()
461 jsgraph()->ZeroConstant()); in ReduceJSCreateGeneratorObject()
503 jsgraph()->Constant(JSArray::kInitialMaxFastElementArray), effect, in ReduceNewArray()
514 AllocationBuilder a(jsgraph(), effect, control); in ReduceNewArray()
518 jsgraph()->EmptyFixedArrayConstant()); in ReduceNewArray()
524 jsgraph()->UndefinedConstant()); in ReduceNewArray()
554 elements = jsgraph()->EmptyFixedArrayConstant(); in ReduceNewArray()
561 AllocationBuilder a(jsgraph(), effect, control); in ReduceNewArray()
565 jsgraph()->EmptyFixedArrayConstant()); in ReduceNewArray()
571 jsgraph()->UndefinedConstant()); in ReduceNewArray()
616 Node* length = jsgraph()->Constant(static_cast<int>(values.size())); in ReduceNewArray()
619 AllocationBuilder a(jsgraph(), effect, control); in ReduceNewArray()
623 jsgraph()->EmptyFixedArrayConstant()); in ReduceNewArray()
629 jsgraph()->UndefinedConstant()); in ReduceNewArray()
679 Node* length = jsgraph()->ZeroConstant(); in ReduceJSCreateArray()
702 length = jsgraph()->Constant(capacity); in ReduceJSCreateArray()
766 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateArrayIterator()
772 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateArrayIterator()
774 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateArrayIterator()
777 jsgraph()->ZeroConstant()); in ReduceJSCreateArrayIterator()
779 jsgraph()->Constant(static_cast<int>(p.kind()))); in ReduceJSCreateArrayIterator()
796 AllocationBuilder ab(jsgraph(), effect, control); in ReduceJSCreateAsyncFunctionObject()
801 jsgraph()->UndefinedConstant()); in ReduceJSCreateAsyncFunctionObject()
806 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateAsyncFunctionObject()
811 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateAsyncFunctionObject()
813 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateAsyncFunctionObject()
818 jsgraph()->UndefinedConstant()); in ReduceJSCreateAsyncFunctionObject()
820 jsgraph()->Constant(JSGeneratorObject::kNext)); in ReduceJSCreateAsyncFunctionObject()
822 jsgraph()->Constant(JSGeneratorObject::kGeneratorExecuting)); in ReduceJSCreateAsyncFunctionObject()
876 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateCollectionIterator()
883 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateCollectionIterator()
885 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateCollectionIterator()
888 jsgraph()->ZeroConstant()); in ReduceJSCreateCollectionIterator()
906 Node* bound_arguments = jsgraph()->EmptyFixedArrayConstant(); in ReduceJSCreateBoundFunction()
908 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateBoundFunction()
918 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateBoundFunction()
923 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateBoundFunction()
925 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateBoundFunction()
971 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateClosure()
975 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateClosure()
977 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateClosure()
985 jsgraph()->TheHoleConstant()); in ReduceJSCreateClosure()
990 jsgraph()->UndefinedConstant()); in ReduceJSCreateClosure()
1004 jsgraph()->Constant(native_context().iterator_result_map()); in ReduceJSCreateIterResultObject()
1007 AllocationBuilder a(jsgraph(), effect, graph()->start()); in ReduceJSCreateIterResultObject()
1011 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateIterResultObject()
1013 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateIterResultObject()
1027 jsgraph()->Constant(native_context().initial_string_iterator_map()); in ReduceJSCreateStringIterator()
1029 AllocationBuilder a(jsgraph(), effect, graph()->start()); in ReduceJSCreateStringIterator()
1034 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateStringIterator()
1036 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateStringIterator()
1038 a.Store(AccessBuilder::ForJSStringIteratorIndex(), jsgraph()->SmiConstant(0)); in ReduceJSCreateStringIterator()
1051 jsgraph()->Constant(native_context().js_array_packed_elements_map()); in ReduceJSCreateKeyValueArray()
1052 Node* length = jsgraph()->Constant(2); in ReduceJSCreateKeyValueArray()
1054 AllocationBuilder aa(jsgraph(), effect, graph()->start()); in ReduceJSCreateKeyValueArray()
1057 jsgraph()->ZeroConstant(), key); in ReduceJSCreateKeyValueArray()
1059 jsgraph()->OneConstant(), value); in ReduceJSCreateKeyValueArray()
1062 AllocationBuilder a(jsgraph(), elements, graph()->start()); in ReduceJSCreateKeyValueArray()
1066 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateKeyValueArray()
1080 AllocationBuilder a(jsgraph(), effect, graph()->start()); in ReduceJSCreatePromise()
1084 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreatePromise()
1086 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreatePromise()
1088 jsgraph()->ZeroConstant()); in ReduceJSCreatePromise()
1091 jsgraph()->ZeroConstant()); in ReduceJSCreatePromise()
1096 jsgraph()->ZeroConstant()); in ReduceJSCreatePromise()
1143 Node* length = jsgraph()->ZeroConstant(); in ReduceJSCreateEmptyLiteralArray()
1163 Node* js_object_map = jsgraph()->Constant(map); in ReduceJSCreateEmptyLiteralObject()
1166 Node* elements = jsgraph()->EmptyFixedArrayConstant(); in ReduceJSCreateEmptyLiteralObject()
1169 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateEmptyLiteralObject()
1173 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateEmptyLiteralObject()
1177 jsgraph()->UndefinedConstant()); in ReduceJSCreateEmptyLiteralObject()
1208 Node* value = jsgraph()->Constant(template_object); in ReduceJSGetTemplateObject()
1227 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateFunctionContext()
1245 a.Store(AccessBuilder::ForContextSlot(i), jsgraph()->UndefinedConstant()); in ReduceJSCreateFunctionContext()
1263 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateWithContext()
1284 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateCatchContext()
1309 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateBlockContext()
1316 a.Store(AccessBuilder::ForContextSlot(i), jsgraph()->UndefinedConstant()); in ReduceJSCreateBlockContext()
1358 Node* properties = jsgraph()->EmptyFixedArrayConstant(); in ReduceJSCreateObject()
1369 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateObject()
1374 jsgraph()->SmiConstant(length)); in ReduceJSCreateObject()
1377 jsgraph()->SmiConstant(0)); in ReduceJSCreateObject()
1379 jsgraph()->SmiConstant(0)); in ReduceJSCreateObject()
1381 jsgraph()->SmiConstant(capacity)); in ReduceJSCreateObject()
1384 jsgraph()->SmiConstant(PropertyDetails::kInitialIndex)); in ReduceJSCreateObject()
1386 jsgraph()->SmiConstant(PropertyArray::kNoHashSentinel)); in ReduceJSCreateObject()
1388 Node* undefined = jsgraph()->UndefinedConstant(); in ReduceJSCreateObject()
1405 AllocationBuilder a(jsgraph(), effect, control); in ReduceJSCreateObject()
1410 jsgraph()->EmptyFixedArrayConstant()); in ReduceJSCreateObject()
1412 Node* undefined = jsgraph()->UndefinedConstant(); in ReduceJSCreateObject()
1430 if (argument_count == 0) return jsgraph()->EmptyFixedArrayConstant(); in AllocateArguments()
1438 AllocationBuilder a(jsgraph(), effect, control); in AllocateArguments()
1443 a.Store(AccessBuilder::ForFixedArrayElement(), jsgraph()->Constant(i), in AllocateArguments()
1457 if (num_elements == 0) return jsgraph()->EmptyFixedArrayConstant(); in AllocateRestArguments()
1470 AllocationBuilder a(jsgraph(), effect, control); in AllocateRestArguments()
1474 a.Store(AccessBuilder::ForFixedArrayElement(), jsgraph()->Constant(i), in AllocateRestArguments()
1488 if (argument_count == 0) return jsgraph()->EmptyFixedArrayConstant(); in AllocateAliasedArguments()
1509 AllocationBuilder aa(jsgraph(), effect, control); in AllocateAliasedArguments()
1513 aa.Store(AccessBuilder::ForFixedArrayElement(), jsgraph()->Constant(i), in AllocateAliasedArguments()
1514 jsgraph()->TheHoleConstant()); in AllocateAliasedArguments()
1518 aa.Store(AccessBuilder::ForFixedArrayElement(), jsgraph()->Constant(i), in AllocateAliasedArguments()
1524 AllocationBuilder a(jsgraph(), arguments, control); in AllocateAliasedArguments()
1533 jsgraph()->Constant(i), jsgraph()->Constant(idx)); in AllocateAliasedArguments()
1572 AllocationBuilder a(jsgraph(), effect, control); in AllocateAliasedArguments()
1582 graph()->NewNode(simplified()->NumberLessThan(), jsgraph()->Constant(i), in AllocateAliasedArguments()
1584 jsgraph()->Constant(idx), jsgraph()->TheHoleConstant()); in AllocateAliasedArguments()
1586 jsgraph()->Constant(i), value); in AllocateAliasedArguments()
1604 Node* value = jsgraph()->TheHoleConstant(); in AllocateElements()
1607 AllocationBuilder a(jsgraph(), effect, control); in AllocateElements()
1610 Node* index = jsgraph()->Constant(i); in AllocateElements()
1632 AllocationBuilder a(jsgraph(), effect, control); in AllocateElements()
1635 Node* index = jsgraph()->Constant(i); in AllocateElements()
1680 value = jsgraph()->Constant(bit_cast<double>(value_bits)); in AllocateFastLiteral()
1697 AllocationBuilder builder(jsgraph(), effect, control); in AllocateFastLiteral()
1702 jsgraph()->Constant(number)); in AllocateFastLiteral()
1707 ? jsgraph()->ZeroConstant() in AllocateFastLiteral()
1708 : jsgraph()->Constant(boilerplate_value.AsSmi()); in AllocateFastLiteral()
1710 value = jsgraph()->Constant(boilerplate_value); in AllocateFastLiteral()
1722 Node* value = jsgraph()->HeapConstant(factory()->one_pointer_filler_map()); in AllocateFastLiteral()
1732 AllocationBuilder builder(jsgraph(), effect, control); in AllocateFastLiteral()
1737 jsgraph()->EmptyFixedArrayConstant()); in AllocateFastLiteral()
1764 return jsgraph()->HeapConstant(boilerplate_elements.object()); in AllocateFastLiteralElements()
1774 elements_values[i] = jsgraph()->TheHoleConstant(); in AllocateFastLiteralElements()
1776 elements_values[i] = jsgraph()->Constant(value.get_scalar()); in AllocateFastLiteralElements()
1787 elements_values[i] = jsgraph()->Constant(element_value); in AllocateFastLiteralElements()
1793 AllocationBuilder builder(jsgraph(), effect, control); in AllocateFastLiteralElements()
1800 builder.Store(access, jsgraph()->Constant(i), elements_values[i]); in AllocateFastLiteralElements()
1823 AllocationBuilder builder(jsgraph(), effect, control); in AllocateLiteralRegExp()
1840 return jsgraph()->isolate()->factory(); in factory()
1843 Graph* JSCreateLowering::graph() const { return jsgraph()->graph(); } in graph()
1846 return jsgraph()->common(); in common()
1850 return jsgraph()->simplified(); in simplified()