Home | History | Annotate | Download | only in crankshaft

Lines Matching refs:HValue

203   void AddLeaveInlined(HValue* return_value, FunctionState* state,
376 int GetNextValueID(HValue* value) {
381 HValue* LookupValue(int id) const {
488 ZoneList<HValue*> values_;
550 const ZoneList<HValue*>* values() const { return &values_; }
578 void Bind(Variable* variable, HValue* value) {
582 void Bind(int index, HValue* value);
584 void BindContext(HValue* value) {
588 HValue* Lookup(Variable* variable) const {
592 HValue* Lookup(int index) const {
593 HValue* result = values_[index];
598 HValue* context() const {
603 void Push(HValue* value) {
609 HValue* Pop() {
621 HValue* Top() const { return ExpressionStackAt(0); }
625 HValue* ExpressionStackAt(int index_from_top) const {
631 void SetExpressionStackAt(int index_from_top, HValue* value);
632 HValue* RemoveExpressionStackAt(int index_from_top);
669 void SetValueAt(int index, HValue* value) {
728 ZoneList<HValue*> values_;
769 virtual void ReturnValue(HValue* value) = 0;
821 void ReturnValue(HValue* value) override;
836 void ReturnValue(HValue* value) override;
861 void ReturnValue(HValue* value) override;
879 void BuildBranch(HValue* value);
1023 explicit HAllocationMode(HValue* current_site)
1030 HValue* current_site() const { return current_site_; }
1043 HValue* current_site_;
1079 void Push(HValue* value) { environment()->Push(value); }
1080 HValue* Pop() { return environment()->Pop(); }
1082 virtual HValue* context() = 0;
1107 HValue* return_value,
1111 void AddLeaveInlined(HValue* return_value, FunctionState* state) {
1352 HValue* BuildDecodeField(HValue* encoded_field) {
1353 HValue* mask_value = Add<HConstant>(static_cast<int>(BitFieldClass::kMask));
1354 HValue* masked_field =
1360 HValue* BuildGetElementsKind(HValue* object);
1362 HValue* BuildEnumLength(HValue* map);
1364 HValue* BuildCheckHeapObject(HValue* object);
1365 HValue* BuildCheckString(HValue* string);
1366 HValue* BuildWrapReceiver(HValue* object, HValue* function);
1369 HValue* BuildCheckForCapacityGrow(HValue* object,
1370 HValue* elements,
1372 HValue* length,
1373 HValue* key,
1377 HValue* BuildCheckAndGrowElementsCapacity(HValue* object, HValue* elements,
1378 ElementsKind kind, HValue* length,
1379 HValue* capacity, HValue* key);
1381 HValue* BuildCopyElementsOnWrite(HValue* object,
1382 HValue* elements,
1384 HValue* length);
1386 void BuildTransitionElementsKind(HValue* object,
1387 HValue* map,
1392 HValue* BuildNumberToString(HValue* object, AstType* type);
1393 HValue* BuildToNumber(HValue* input);
1394 HValue* BuildToObject(HValue* receiver);
1396 HValue* BuildUncheckedDictionaryElementLoad(HValue* receiver,
1397 HValue* elements, HValue* key,
1398 HValue* hash);
1401 HValue* BuildCreateIterResultObject(HValue* value, HValue* done);
1404 HAllocate* BuildAllocate(HValue* object_size,
1409 HValue* BuildAddStringLengths(HValue* left_length, HValue* right_length);
1411 HValue* BuildCreateConsString(HValue* length,
1412 HValue* left,
1413 HValue* right,
1416 void BuildCopySeqStringChars(HValue* src,
1417 HValue* src_offset,
1419 HValue* dst,
1420 HValue* dst_offset,
1422 HValue* length);
1425 HValue* BuildObjectSizeAlignment(HValue* unaligned_size, int header_size);
1428 HValue* BuildUncheckedStringAdd(HValue* left,
1429 HValue* right,
1432 HValue* BuildStringAdd(HValue* left,
1433 HValue* right,
1437 HValue* checked_object,
1438 HValue* key,
1439 HValue* val,
1447 HValue* elements, HValue* checked_key, HValue* val, HValue* dependency,
1448 HValue* backing_store_owner, ElementsKind elements_kind,
1452 HInstruction* AddLoadStringInstanceType(HValue* string);
1453 HInstruction* AddLoadStringLength(HValue* string);
1454 HInstruction* BuildLoadStringLength(HValue* string);
1455 HStoreNamedField* AddStoreMapConstant(HValue* object, Handle<Map> map) {
1459 HLoadNamedField* AddLoadMap(HValue* object,
1460 HValue* dependency = NULL);
1461 HLoadNamedField* AddLoadElements(HValue* object,
1462 HValue* dependency = NULL);
1464 bool MatchRotateRight(HValue* left,
1465 HValue* right,
1466 HValue** operand,
1467 HValue** shift_amount);
1469 HValueHValue* left, HValue* right,
1475 HLoadNamedField* AddLoadFixedArrayLength(HValue *object,
1476 HValue *dependency = NULL);
1478 HLoadNamedField* AddLoadArrayLength(HValue *object,
1480 HValue *dependency = NULL);
1482 HValue* AddLoadJSBuiltin(int context_index);
1484 HValue* EnforceNumberType(HValue* number, AstType* expected);
1485 HValue* TruncateToNumber(HValue* value, AstType** expected);
1507 Condition* If(HValue *p) {
1514 Condition* If(HValue* p1, P2 p2) {
1521 Condition* If(HValue* p1, P2 p2, P3 p3) {
1528 Condition* IfNot(HValue* p) {
1535 Condition* IfNot(HValue* p1, P2 p2) {
1542 Condition* IfNot(HValue* p1, P2 p2, P3 p3) {
1549 Condition* OrIf(HValue *p) {
1555 Condition* OrIf(HValue* p1, P2 p2) {
1561 Condition* OrIf(HValue* p1, P2 p2, P3 p3) {
1567 Condition* AndIf(HValue *p) {
1573 Condition* AndIf(HValue* p1, P2 p2) {
1579 Condition* AndIf(HValue* p1, P2 p2, P3 p3) {
1646 void Return(HValue* value);
1707 HValue* context,
1710 HValue* context,
1712 HValue* increment_amount);
1718 HValue* BeginBody(
1719 HValue* initial,
1720 HValue* terminating,
1730 void Initialize(HGraphBuilder* builder, HValue* context,
1731 Direction direction, HValue* increment_amount);
1735 HValue* context_;
1736 HValue* increment_amount_;
1747 HValue* BuildNewElementsCapacity(HValue* old_capacity);
1749 HValue* BuildCalculateElementsSize(ElementsKind kind,
1750 HValue* capacity);
1754 HAllocate* BuildAllocateElements(ElementsKind kind, HValue* size_in_bytes);
1756 void BuildInitializeElementsHeader(HValue* elements,
1758 HValue* capacity);
1762 HValue* BuildAllocateAndInitializeArray(ElementsKind kind, HValue* capacity);
1768 void BuildJSArrayHeader(HValue* array,
1769 HValue* array_map,
1770 HValue* elements,
1773 HValue* allocation_site_payload,
1774 HValue* length_field);
1776 HValue* BuildGrowElementsCapacity(HValue* object,
1777 HValue* elements,
1780 HValue* length,
1781 HValue* new_capacity);
1783 void BuildFillElementsWithValue(HValue* elements,
1785 HValue* from,
1786 HValue* to,
1787 HValue* value);
1789 void BuildFillElementsWithHole(HValue* elements,
1791 HValue* from,
1792 HValue* to);
1794 void BuildCopyProperties(HValue* from_properties, HValue* to_properties,
1795 HValue* length, HValue* capacity);
1797 void BuildCopyElements(HValue* from_elements,
1799 HValue* to_elements,
1801 HValue* length,
1802 HValue* capacity);
1804 HValue* BuildElementIndexHash(HValue* index);
1806 void BuildCreateAllocationMemento(HValue* previous_object,
1807 HValue* previous_object_size,
1808 HValue* payload);
1814 HInstruction* BuildGetNativeContext(HValue* closure);
1819 HValue* BuildGetParentContext(HValue* depth, int depth_value);
1822 HValue* BuildArrayBufferViewFieldAccessor(HValue* object,
1823 HValue* checked_object,
1859 HValue* BuildAllocateEmptyArrayBuffer(HValue* byte_length);
1861 void BuildArrayBufferViewInitialization(HValue* obj,
1862 HValue* buffer,
1863 HValue* byte_offset,
1864 HValue* byte_length);
1933 inline HReturn* HGraphBuilder::Add<HReturn>(HValue* value) {
1935 HValue* params = AddUncasted<HConstant>(num_parameters);
1944 return Add<HReturn>(static_cast<HValue*>(value));
1948 inline HInstruction* HGraphBuilder::AddUncasted<HReturn>(HValue* value) {
2086 HValue* context() override { return environment()->context(); }
2223 HValue* enumerable);
2248 HValue* Top() const { return environment()->Top(); }
2250 void Bind(Variable* var, HValue* value) { environment()->Bind(var, value); }
2259 void BindIfLive(Variable* var, HValue* value) {
2272 HValue* LookupAndMakeLive(Variable* var) {
2322 HInstruction* InlineGlobalPropertyStore(LookupIterator* it, HValue* value,
2329 void HandleIndirectCall(Call* expr, HValue* function, int arguments_count);
2337 bool TryHandleArrayCall(T* expr, HValue* function);
2340 HValue* BuildArrayIndexOf(HValue* receiver,
2341 HValue* search_element,
2345 HValue* ImplicitReceiverFor(HValue* function,
2350 HValue* implicit_return_value, BailoutId ast_id,
2355 bool TryInlineConstruct(CallNew* expr, HValue* implicit_return_value);
2360 HValue* implicit_return_value);
2376 HValue* receiver,
2378 bool TryInlineApiFunctionCall(Call* expr, HValue* receiver);
2383 bool TryInlineApiCall(Handle<Object> function, HValue* receiver,
2397 void HandleGlobalVariableAssignment(Variable* var, HValue* value,
2405 BailoutId ast_id, BailoutId return_id, HValue* object, HValue* value,
2408 HValue* BuildAllocateExternalElements(
2411 HValue* buffer, HValue* byte_offset, HValue
2412 HValue* BuildAllocateFixedTypedArray(ExternalArrayType array_type,
2415 HValue* byte_length, HValue* length,
2419 HValue* BuildOrderedHashTableHashToBucket(HValue* hash, HValue* num_buckets);
2421 HValue* BuildOrderedHashTableHashToEntry(HValue* table, HValue* hash,
2422 HValue* num_buckets);
2424 HValue* BuildOrderedHashTableEntryToIndex(HValue* entry, HValue* num_buckets);
2426 HValue* BuildOrderedHashTableFindEntry(HValue* table, HValue* key,
2427 HValue* hash);
2429 HValue* BuildOrderedHashTableAddEntry(HValue* table, HValue* key,
2430 HValue* hash,
2433 HValue* BuildAllocateOrderedHashTable();
2435 void BuildOrderedHashTableClear(HValue* receiver);
2442 HValue* BuildStringHashLoadIfIsStringAndHashComputed(
2443 HValue* object, HIfContinuation* continuation);
2452 void BuildInitializeInobjectProperties(HValue* receiver,
2628 HValue* BuildMonomorphicAccess(PropertyAccessInfo* info, HValue* object,
2629 HValue* checked_object, HValue* value,
2633 HValue* BuildNamedAccess(PropertyAccessType access, BailoutId ast_id,
2635 FeedbackVectorSlot slot, HValue* object,
2636 Handle<Name> name, HValue* value,
2640 HValue* receiver,
2656 Token::Value op, HValue* left, HValue* right, AstType* left_type,
2661 HInstruction* BuildStringCharCodeAt(HValue* string,
2662 HValue* index);
2664 HValue* BuildBinaryOperation(
2666 HValue* left,
2667 HValue* right,
2672 HValue* object, HValue* key, HValue* value);
2674 HInstruction* TryBuildConsolidatedElementLoad(HValue* object,
2675 HValue* key,
2676 HValue* val,
2681 HInstruction* BuildMonomorphicElementAccess(HValue* object,
2682 HValue* key,
2683 HValue* val,
2684 HValue* dependency,
2689 HValue* HandlePolymorphicElementAccess(
2690 Expression* expr, FeedbackVectorSlot slot, HValue* object, HValue* key,
2691 HValue* val, SmallMapList* maps, PropertyAccessType access_type,
2694 HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val,
2701 FeedbackVectorSlot slot, HValue* object,
2702 Handle<Name> name, HValue* value,
2705 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map);
2710 HValue* object,
2711 HValue* key);
2715 BailoutId return_id, HValue* object, HValue* key,
2716 HValue* value);
2723 HValue* checked_object);
2725 HValue* checked_object,
2726 HValue* value);
2728 HValue* BuildContextChainWalk(Variable* var);
2730 HValue* AddThisFunction();
2746 HValue* object_elements,
2751 HValue* object_elements);
2755 HValue* object_elements,
2761 void BuildEnsureCallable(HValue* object);
2763 HInstruction* NewCallFunction(HValue* function, int argument_count,
2768 HInstruction* NewCallFunctionViaIC(HValue* function, int argument_count,