Home
last modified time | relevance | path

Searched refs:FeedbackVectorSlotKind (Results 1 – 11 of 11) sorted by relevance

/external/v8/src/
Dtype-feedback-vector.h19 enum class FeedbackVectorSlotKind { enum
38 std::ostream& operator<<(std::ostream& os, FeedbackVectorSlotKind kind);
44 inline FeedbackVectorSlot AddSlot(FeedbackVectorSlotKind kind);
47 return AddSlot(FeedbackVectorSlotKind::CALL_IC); in AddCallICSlot()
51 return AddSlot(FeedbackVectorSlotKind::LOAD_IC); in AddLoadICSlot()
55 return AddSlot(FeedbackVectorSlotKind::KEYED_LOAD_IC); in AddKeyedLoadICSlot()
59 return AddSlot(FeedbackVectorSlotKind::STORE_IC); in AddStoreICSlot()
63 return AddSlot(FeedbackVectorSlotKind::KEYED_STORE_IC); in AddKeyedStoreICSlot()
67 return AddSlot(FeedbackVectorSlotKind::GENERAL); in AddGeneralSlot()
79 FeedbackVectorSlotKind GetKind(int slot) const { in GetKind()
[all …]
Dtype-feedback-vector-inl.h16 FeedbackVectorSlotKind kind) { in AddSlot()
23 derived->append(FeedbackVectorSlotKind::INVALID); in AddSlot()
50 int TypeFeedbackMetadata::GetSlotSize(FeedbackVectorSlotKind kind) { in GetSlotSize()
51 DCHECK_NE(FeedbackVectorSlotKind::INVALID, kind); in GetSlotSize()
52 DCHECK_NE(FeedbackVectorSlotKind::KINDS_NUMBER, kind); in GetSlotSize()
53 return kind == FeedbackVectorSlotKind::GENERAL ? 1 : 2; in GetSlotSize()
77 FeedbackVectorSlotKind TypeFeedbackVector::GetKind( in GetKind()
119 FeedbackVectorSlotKind kind = iter.kind(); in ComputeCounts()
123 kind != FeedbackVectorSlotKind::GENERAL) { in ComputeCounts()
162 FeedbackVectorSlotKind kind = vector()->GetKind(slot()); in GetFeedbackExtra()
[all …]
Dtype-feedback-vector.cc23 std::ostream& operator<<(std::ostream& os, FeedbackVectorSlotKind kind) { in operator <<()
28 FeedbackVectorSlotKind TypeFeedbackMetadata::GetKind( in GetKind()
37 FeedbackVectorSlotKind kind) { in SetKind()
64 FeedbackVectorSlotKind kind = spec->GetKind(i); in New()
67 FeedbackVectorSlotKind kind = spec->GetKind(i + j); in New()
68 DCHECK_EQ(FeedbackVectorSlotKind::INVALID, kind); in New()
106 const char* TypeFeedbackMetadata::Kind2String(FeedbackVectorSlotKind kind) { in Kind2String()
108 case FeedbackVectorSlotKind::INVALID: in Kind2String()
110 case FeedbackVectorSlotKind::CALL_IC: in Kind2String()
112 case FeedbackVectorSlotKind::LOAD_IC: in Kind2String()
[all …]
Dtype-info.cc78 FeedbackVectorSlotKind kind = feedback_vector_->GetKind(slot); in LoadInlineCacheState()
79 if (kind == FeedbackVectorSlotKind::LOAD_IC) { in LoadInlineCacheState()
82 } else if (kind == FeedbackVectorSlotKind::KEYED_LOAD_IC) { in LoadInlineCacheState()
96 FeedbackVectorSlotKind kind = feedback_vector_->GetKind(slot); in StoreIsUninitialized()
97 if (kind == FeedbackVectorSlotKind::STORE_IC) { in StoreIsUninitialized()
100 } else if (kind == FeedbackVectorSlotKind::KEYED_STORE_IC) { in StoreIsUninitialized()
143 FeedbackVectorSlotKind::KEYED_STORE_IC) { in GetStoreModeAndKeyType()
360 FeedbackVectorSlotKind kind = feedback_vector_->GetKind(slot); in CollectReceiverTypes()
361 if (kind == FeedbackVectorSlotKind::STORE_IC) { in CollectReceiverTypes()
365 DCHECK_EQ(FeedbackVectorSlotKind::KEYED_STORE_IC, kind); in CollectReceiverTypes()
Dobjects-printer.cc581 FeedbackVectorSlotKind kind = iter.kind(); in TypeFeedbackMetadataPrint()
606 FeedbackVectorSlotKind kind = iter.kind(); in TypeFeedbackVectorPrint()
610 case FeedbackVectorSlotKind::LOAD_IC: { in TypeFeedbackVectorPrint()
615 case FeedbackVectorSlotKind::KEYED_LOAD_IC: { in TypeFeedbackVectorPrint()
620 case FeedbackVectorSlotKind::CALL_IC: { in TypeFeedbackVectorPrint()
625 case FeedbackVectorSlotKind::STORE_IC: { in TypeFeedbackVectorPrint()
630 case FeedbackVectorSlotKind::KEYED_STORE_IC: { in TypeFeedbackVectorPrint()
635 case FeedbackVectorSlotKind::GENERAL: in TypeFeedbackVectorPrint()
637 case FeedbackVectorSlotKind::INVALID: in TypeFeedbackVectorPrint()
638 case FeedbackVectorSlotKind::KINDS_NUMBER: in TypeFeedbackVectorPrint()
/external/v8/test/cctest/
Dtest-feedback-vector.cc89 FeedbackVectorSlotKind::CALL_IC), in TEST()
95 FeedbackVectorSlotKind::CALL_IC), in TEST()
137 FeedbackVectorSlotKind kind = vector->GetKind(helper.slot(i)); in TEST()
140 CHECK_EQ(FeedbackVectorSlotKind::GENERAL, kind); in TEST()
143 CHECK_EQ(FeedbackVectorSlotKind::CALL_IC, kind); in TEST()
146 CHECK_EQ(FeedbackVectorSlotKind::LOAD_IC, kind); in TEST()
149 CHECK_EQ(FeedbackVectorSlotKind::KEYED_LOAD_IC, kind); in TEST()
403 CHECK_SLOT_KIND(helper, 0, FeedbackVectorSlotKind::STORE_IC); in TEST()
404 CHECK_SLOT_KIND(helper, 1, FeedbackVectorSlotKind::LOAD_IC); in TEST()
405 CHECK_SLOT_KIND(helper, 2, FeedbackVectorSlotKind::STORE_IC); in TEST()
[all …]
/external/v8/src/ast/
Dast.cc129 FeedbackVectorSlotKind kind = assign_type == KEYED_PROPERTY in AssignVectorSlots()
130 ? FeedbackVectorSlotKind::KEYED_STORE_IC in AssignVectorSlots()
131 : FeedbackVectorSlotKind::STORE_IC; in AssignVectorSlots()
Dast.h1869 FeedbackVectorSlotKind kind = key()->IsPropertyName() in AssignFeedbackVectorSlots()
1870 ? FeedbackVectorSlotKind::LOAD_IC in AssignFeedbackVectorSlots()
1871 : FeedbackVectorSlotKind::KEYED_LOAD_IC; in AssignFeedbackVectorSlots()
/external/v8/src/ic/
Dic.cc2251 if (vector->GetKind(vector_slot) == FeedbackVectorSlotKind::LOAD_IC) { in RUNTIME_FUNCTION()
2257 DCHECK_EQ(FeedbackVectorSlotKind::KEYED_LOAD_IC, in RUNTIME_FUNCTION()
2321 if (vector->GetKind(vector_slot) == FeedbackVectorSlotKind::STORE_IC) { in RUNTIME_FUNCTION()
2328 DCHECK_EQ(FeedbackVectorSlotKind::KEYED_STORE_IC, in RUNTIME_FUNCTION()
2372 if (vector->GetKind(vector_slot) == FeedbackVectorSlotKind::STORE_IC) { in RUNTIME_FUNCTION()
2379 DCHECK_EQ(FeedbackVectorSlotKind::KEYED_STORE_IC, in RUNTIME_FUNCTION()
2967 if (vector->GetKind(vector_slot) == FeedbackVectorSlotKind::LOAD_IC) { in RUNTIME_FUNCTION()
2973 DCHECK_EQ(FeedbackVectorSlotKind::KEYED_LOAD_IC, in RUNTIME_FUNCTION()
/external/v8/test/cctest/heap/
Dtest-heap.cc3670 if (vector->GetKind(slot) == FeedbackVectorSlotKind::LOAD_IC) { in CheckVectorIC()
3674 CHECK_EQ(FeedbackVectorSlotKind::KEYED_LOAD_IC, vector->GetKind(slot)); in CheckVectorIC()
/external/v8/src/crankshaft/
Dhydrogen.cc7261 FeedbackVectorSlotKind::KEYED_STORE_IC) { in BuildNamedGeneric()