Home
last modified time | relevance | path

Searched refs:FeedbackSlot (Results 1 – 25 of 27) sorted by relevance

12

/external/v8/src/
Dfeedback-vector.h205 static int GetIndex(FeedbackSlot slot) { return slot.ToInt(); } in GetIndex()
208 static inline FeedbackSlot ToSlot(int index);
209 inline MaybeObject* Get(FeedbackSlot slot) const;
211 inline void Set(FeedbackSlot slot, MaybeObject* value,
215 inline void Set(FeedbackSlot slot, Object* value,
224 FeedbackSlotKind GetKind(FeedbackSlot slot) const;
226 FeedbackSlot GetTypeProfileSlot() const;
232 bool Name(FeedbackSlot slot) const { return Name##Kind(GetKind(slot)); }
247 inline TypeofMode GetTypeofMode(FeedbackSlot slot) const { in DEFINE_SLOT_KIND_PREDICATE()
252 inline LanguageMode GetLanguageMode(FeedbackSlot slot) const { in GetLanguageMode()
[all …]
Dvector-slot-pair.h22 VectorSlotPair(Handle<FeedbackVector> vector, FeedbackSlot slot) in VectorSlotPair()
28 FeedbackSlot slot() const { return slot_; } in slot()
34 FeedbackSlot slot_;
Dfeedback-vector-inl.h144 FeedbackSlot FeedbackVector::ToSlot(int index) { in ToSlot()
146 return FeedbackSlot(index); in ToSlot()
149 MaybeObject* FeedbackVector::Get(FeedbackSlot slot) const { in Get()
160 void FeedbackVector::Set(FeedbackSlot slot, MaybeObject* value, in Set()
173 void FeedbackVector::Set(FeedbackSlot slot, Object* value, in Set()
260 FeedbackSlot slot = iter.Next(); in ComputeCounts()
379 FeedbackSlot FeedbackMetadataIterator::Next() { in Next()
383 next_slot_ = FeedbackSlot(next_slot_.ToInt() + entry_size()); in Next()
Dfeedback-vector.cc17 FeedbackSlot FeedbackVectorSpec::AddSlot(FeedbackSlotKind kind) { in AddSlot()
24 return FeedbackSlot(slot); in AddSlot()
27 FeedbackSlot FeedbackVectorSpec::AddTypeProfileSlot() { in AddTypeProfileSlot()
28 FeedbackSlot slot = AddSlot(FeedbackSlotKind::kTypeProfile); in AddTypeProfileSlot()
35 FeedbackSlot slot = in HasTypeProfileSlot()
59 FeedbackSlotKind FeedbackMetadata::GetKind(FeedbackSlot slot) const { in GetKind()
65 void FeedbackMetadata::SetKind(FeedbackSlot slot, FeedbackSlotKind kind) { in SetKind()
84 FeedbackSlotKind kind = spec->GetKind(FeedbackSlot(i)); in New()
87 FeedbackSlotKind kind = spec->GetKind(FeedbackSlot(i + j)); in New()
100 FeedbackSlot slot(i); in New()
[all …]
Dutils.h966 class FeedbackSlot { in INT_1_TO_63_LIST()
968 FeedbackSlot() : id_(kInvalidSlot) {} in INT_1_TO_63_LIST()
969 explicit FeedbackSlot(int id) : id_(id) {} in INT_1_TO_63_LIST()
973 static FeedbackSlot Invalid() { return FeedbackSlot(); } in INT_1_TO_63_LIST()
976 bool operator==(FeedbackSlot that) const { return this->id_ == that.id_; } in INT_1_TO_63_LIST()
977 bool operator!=(FeedbackSlot that) const { return !(*this == that); } in INT_1_TO_63_LIST()
979 friend size_t hash_value(FeedbackSlot slot) { return slot.ToInt(); } in INT_1_TO_63_LIST()
980 friend std::ostream& operator<<(std::ostream& os, FeedbackSlot); in INT_1_TO_63_LIST()
Dutils.cc79 std::ostream& operator<<(std::ostream& os, FeedbackSlot slot) { in operator <<()
Dobjects-printer.cc1011 FeedbackSlotKind kind = GetKind(FeedbackSlot(slot)); in FeedbackVectorSpecPrint()
1026 FeedbackSlot slot = iter.Next(); in FeedbackMetadataPrint()
1053 FeedbackSlot slot = iter.Next(); in FeedbackVectorPrint()
1071 FeedbackSlot slot) { // NOLINT in FeedbackSlotPrint()
Ddeoptimizer.h386 FeedbackSlot feedback_slot_;
/external/v8/src/compiler/
Djs-type-hint-lowering.h18 class FeedbackSlot; variable
105 FeedbackSlot slot) const;
111 FeedbackSlot slot) const;
117 FeedbackSlot slot) const;
120 FeedbackSlot slot) const;
125 FeedbackSlot slot) const;
130 FeedbackSlot slot) const;
136 FeedbackSlot slot) const;
140 FeedbackSlot slot) const;
144 FeedbackSlot slot) const;
[all …]
Dbytecode-graph-builder.h196 const Operator* op, Node* operand, FeedbackSlot slot);
198 const Operator* op, Node* left, Node* right, FeedbackSlot slot);
201 FeedbackSlot slot);
203 Node* receiver, FeedbackSlot slot);
205 Node* input, FeedbackSlot slot);
209 FeedbackSlot slot);
211 const Operator* op, Node* const* args, int arg_count, FeedbackSlot slot);
213 const Operator* op, Node* receiver, FeedbackSlot slot);
215 const Operator* op, Node* receiver, Node* key, FeedbackSlot slot);
217 const Operator* op, Node* receiver, Node* value, FeedbackSlot slot);
[all …]
Djs-type-hint-lowering.cc53 Node* effect, Node* control, FeedbackSlot slot) in JSSpeculativeBinopBuilder()
208 FeedbackSlot slot_;
220 FeedbackSlot slot) const { in ReduceUnaryOperation()
282 FeedbackSlot slot) const { in ReduceBinaryOperation()
363 Node* effect, Node* control, FeedbackSlot slot) const { in ReduceForInNextOperation()
377 FeedbackSlot slot) const { in ReduceForInPrepareOperation()
389 Node* input, Node* effect, Node* control, FeedbackSlot slot) const { in ReduceToNumberOperation()
405 Node* control, FeedbackSlot slot) const { in ReduceCallOperation()
420 Node* control, FeedbackSlot slot) const { in ReduceConstructOperation()
435 FeedbackSlot slot) const { in ReduceLoadNamedOperation()
[all …]
Dbytecode-graph-builder.cc1471 FeedbackSlot slot = bytecode_iterator().GetSlotOperand(1); in VisitCreateClosure()
1646 FeedbackSlot slot = bytecode_iterator().GetSlotOperand(1); in VisitGetTemplateObject()
2141 FeedbackSlot slot = in BuildUnaryOp()
2164 FeedbackSlot slot = in BuildBinaryOp()
2185 FeedbackSlot slot = bytecode_iterator().GetSlotOperand(operand_index); in GetBinaryOperationHint()
2193 FeedbackSlot slot = bytecode_iterator().GetSlotOperand(1); in GetCompareOperationHint()
2200 FeedbackSlot slot = bytecode_iterator().GetSlotOperand(operand_index); in GetForInMode()
2294 FeedbackSlot slot = in BuildBinaryOpWithImmediate()
2409 FeedbackSlot slot = bytecode_iterator().GetSlotOperand(1); in BuildCompareOp()
2567 FeedbackSlot slot = bytecode_iterator().GetSlotOperand(0); in VisitToNumber()
[all …]
Djs-heap-broker.h280 ObjectRef get(FeedbackSlot slot) const;
Djs-heap-broker.cc780 ObjectRef FeedbackVectorRef::get(FeedbackSlot slot) const { in get()
/external/v8/src/interpreter/
Dbytecode-generator.h183 FeedbackSlot index_slot,
184 FeedbackSlot element_slot);
273 FeedbackSlot GetCachedLoadGlobalICSlot(TypeofMode typeof_mode,
275 FeedbackSlot GetCachedStoreGlobalICSlot(LanguageMode language_mode,
277 FeedbackSlot GetCachedCreateClosureSlot(FunctionLiteral* literal);
278 FeedbackSlot GetCachedLoadICSlot(const Expression* expr,
280 FeedbackSlot GetCachedStoreICSlot(const Expression* expr,
282 FeedbackSlot GetDummyCompareICSlot();
332 inline int feedback_index(FeedbackSlot slot) const;
376 FeedbackSlot dummy_feedback_slot_;
Dbytecode-generator.cc700 void AddFunctionDeclaration(const AstRawString* name, FeedbackSlot slot, in AddFunctionDeclaration()
701 FeedbackSlot literal_slot, in AddFunctionDeclaration()
707 void AddUndefinedDeclaration(const AstRawString* name, FeedbackSlot slot) { in AddUndefinedDeclaration()
763 Declaration() : slot(FeedbackSlot::Invalid()), func(nullptr) {} in Declaration()
764 Declaration(const AstRawString* name, FeedbackSlot slot, in Declaration()
765 FeedbackSlot literal_slot, FunctionLiteral* func) in Declaration()
767 Declaration(const AstRawString* name, FeedbackSlot slot, in Declaration()
771 literal_slot(FeedbackSlot::Invalid()), in Declaration()
775 FeedbackSlot slot;
776 FeedbackSlot literal_slot;
[all …]
Dbytecode-array-accessor.h88 FeedbackSlot GetSlotOperand(int operand_index) const;
Dbytecode-array-accessor.cc142 FeedbackSlot BytecodeArrayAccessor::GetSlotOperand(int operand_index) const { in GetSlotOperand()
/external/v8/src/ic/
Dic.h38 IC(Isolate* isolate, Handle<FeedbackVector> vector, FeedbackSlot slot);
66 FeedbackSlot slot, JSFunction* host_function,
211 LoadIC(Isolate* isolate, Handle<FeedbackVector> vector, FeedbackSlot slot) in LoadIC()
246 FeedbackSlot slot) in LoadGlobalIC()
260 FeedbackSlot slot) in KeyedLoadIC()
290 StoreIC(Isolate* isolate, Handle<FeedbackVector> vector, FeedbackSlot slot) in StoreIC()
326 FeedbackSlot slot) in StoreGlobalIC()
351 FeedbackSlot slot) in KeyedStoreIC()
384 FeedbackSlot slot) in StoreInArrayLiteralIC()
Dic.cc157 IC::IC(Isolate* isolate, Handle<FeedbackVector> vector, FeedbackSlot slot) in IC()
315 FeedbackSlot slot = nexus->slot(); in OnFeedbackChanged()
321 FeedbackSlot slot, JSFunction* host_function, in OnFeedbackChanged()
2167 FeedbackSlot vector_slot = FeedbackVector::ToSlot(slot->value()); in RUNTIME_FUNCTION()
2200 FeedbackSlot vector_slot = FeedbackVector::ToSlot(slot->value()); in RUNTIME_FUNCTION()
2242 FeedbackSlot vector_slot = FeedbackVector::ToSlot(slot->value()); in RUNTIME_FUNCTION()
2262 FeedbackSlot vector_slot = FeedbackVector::ToSlot(slot->value()); in RUNTIME_FUNCTION()
2277 FeedbackSlot vector_slot = FeedbackVector::ToSlot(slot->value()); in RUNTIME_FUNCTION()
2305 FeedbackSlot vector_slot = FeedbackVector::ToSlot(slot->value()); in RUNTIME_FUNCTION()
2323 FeedbackSlot vector_slot = FeedbackVector::ToSlot(slot->value()); in RUNTIME_FUNCTION()
[all …]
/external/v8/src/debug/
Ddebug-type-profile.cc52 FeedbackSlot slot = vector->GetTypeProfileSlot(); in Collect()
93 FeedbackSlot slot = vector->GetTypeProfileSlot(); in SelectMode()
/external/v8/src/runtime/
Druntime-literals.cc29 FeedbackSlot slot) { in PreInitializeLiteralSite()
498 FeedbackSlot literals_slot(FeedbackVector::ToSlot(literals_index)); in CreateLiteral()
597 FeedbackSlot literal_slot(FeedbackVector::ToSlot(index)); in RUNTIME_FUNCTION()
Druntime-scopes.cc50 FeedbackSlot slot = FeedbackSlot::Invalid()) { in DeclareGlobal()
143 FeedbackSlot slot(Smi::ToInt(declarations->get(i + 1))); in DeclareGlobals()
158 FeedbackSlot feedback_cells_slot( in DeclareGlobals()
Druntime-interpreter.cc201 function->feedback_vector()->FeedbackSlotPrint(os, FeedbackSlot(slot)); in RUNTIME_FUNCTION()
/external/v8/src/heap/
Dobject-stats.cc615 FeedbackSlot slot = it.Next(); in RecordVirtualFeedbackVectorDetails()

12