#include <js-inlining-heuristic.h>
|
| JSInliningHeuristic (Editor *editor, Zone *local_zone, OptimizedCompilationInfo *info, JSGraph *jsgraph, JSHeapBroker *broker, SourcePositionTable *source_positions, NodeOriginTable *node_origins, Mode mode, const wasm::WasmModule *wasm_module, JsWasmCallsSidetable *js_wasm_calls_sidetable) |
|
const char * | reducer_name () const override |
|
Reduction | Reduce (Node *node) final |
|
void | Finalize () final |
|
int | total_inlined_bytecode_size () const |
|
| AdvancedReducer (Editor *editor) |
|
virtual | ~Reducer ()=default |
|
Reduction | Reduce (Node *node, ObserveNodeManager *observe_node_manager) |
|
|
void | PrintCandidates () |
|
Reduction | InlineCandidate (Candidate const &candidate, bool small_function) |
|
void | CreateOrReuseDispatch (Node *node, Node *callee, Candidate const &candidate, Node **if_successes, Node **calls, Node **inputs, int input_count, int *num_calls) |
|
bool | TryReuseDispatch (Node *node, Node *callee, Node **if_successes, Node **calls, Node **inputs, int input_count, int *num_calls) |
|
FrameState | DuplicateFrameStateAndRename (FrameState frame_state, Node *from, Node *to, StateCloneMode mode) |
|
Node * | DuplicateStateValuesAndRename (Node *state_values, Node *from, Node *to, StateCloneMode mode) |
|
Candidate | CollectFunctions (Node *node, int functions_size) |
|
CommonOperatorBuilder * | common () const |
|
TFGraph * | graph () const |
|
JSGraph * | jsgraph () const |
|
JSHeapBroker * | broker () const |
|
CompilationDependencies * | dependencies () const |
|
Isolate * | isolate () const |
|
SimplifiedOperatorBuilder * | simplified () const |
|
Mode | mode () const |
|
Definition at line 14 of file js-inlining-heuristic.h.
◆ Candidates
◆ Mode
◆ StateCloneMode
◆ JSInliningHeuristic()
◆ broker()
JSHeapBroker * v8::internal::compiler::JSInliningHeuristic::broker |
( |
| ) |
const |
|
inlineprivate |
◆ CollectFunctions()
◆ common()
◆ CreateOrReuseDispatch()
void v8::internal::compiler::JSInliningHeuristic::CreateOrReuseDispatch |
( |
Node * | node, |
|
|
Node * | callee, |
|
|
Candidate const & | candidate, |
|
|
Node ** | if_successes, |
|
|
Node ** | calls, |
|
|
Node ** | inputs, |
|
|
int | input_count, |
|
|
int * | num_calls ) |
|
private |
◆ dependencies()
◆ DuplicateFrameStateAndRename()
◆ DuplicateStateValuesAndRename()
Node * v8::internal::compiler::JSInliningHeuristic::DuplicateStateValuesAndRename |
( |
Node * | state_values, |
|
|
Node * | from, |
|
|
Node * | to, |
|
|
StateCloneMode | mode ) |
|
private |
◆ Finalize()
void v8::internal::compiler::JSInliningHeuristic::Finalize |
( |
| ) |
|
|
finalvirtual |
◆ graph()
TFGraph * v8::internal::compiler::JSInliningHeuristic::graph |
( |
| ) |
const |
|
private |
◆ InlineCandidate()
Reduction v8::internal::compiler::JSInliningHeuristic::InlineCandidate |
( |
Candidate const & | candidate, |
|
|
bool | small_function ) |
|
private |
◆ isolate()
Isolate * v8::internal::compiler::JSInliningHeuristic::isolate |
( |
| ) |
const |
|
inlineprivate |
◆ jsgraph()
JSGraph * v8::internal::compiler::JSInliningHeuristic::jsgraph |
( |
| ) |
const |
|
inlineprivate |
◆ mode()
Mode v8::internal::compiler::JSInliningHeuristic::mode |
( |
| ) |
const |
|
inlineprivate |
◆ PrintCandidates()
void v8::internal::compiler::JSInliningHeuristic::PrintCandidates |
( |
| ) |
|
|
private |
◆ Reduce()
Reduction v8::internal::compiler::JSInliningHeuristic::Reduce |
( |
Node * | node | ) |
|
|
finalvirtual |
◆ reducer_name()
const char * v8::internal::compiler::JSInliningHeuristic::reducer_name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ simplified()
◆ total_inlined_bytecode_size()
int v8::internal::compiler::JSInliningHeuristic::total_inlined_bytecode_size |
( |
| ) |
const |
|
inline |
◆ TryReuseDispatch()
bool v8::internal::compiler::JSInliningHeuristic::TryReuseDispatch |
( |
Node * | node, |
|
|
Node * | callee, |
|
|
Node ** | if_successes, |
|
|
Node ** | calls, |
|
|
Node ** | inputs, |
|
|
int | input_count, |
|
|
int * | num_calls ) |
|
private |
◆ broker_
JSHeapBroker* const v8::internal::compiler::JSInliningHeuristic::broker_ |
|
private |
◆ candidates_
Candidates v8::internal::compiler::JSInliningHeuristic::candidates_ |
|
private |
◆ info_
◆ inliner_
JSInliner v8::internal::compiler::JSInliningHeuristic::inliner_ |
|
private |
◆ jsgraph_
JSGraph* const v8::internal::compiler::JSInliningHeuristic::jsgraph_ |
|
private |
◆ kMaxCallPolymorphism
const int v8::internal::compiler::JSInliningHeuristic::kMaxCallPolymorphism = 4 |
|
staticprivate |
◆ max_inlined_bytecode_size_absolute_
const int v8::internal::compiler::JSInliningHeuristic::max_inlined_bytecode_size_absolute_ |
|
private |
◆ max_inlined_bytecode_size_cumulative_
const int v8::internal::compiler::JSInliningHeuristic::max_inlined_bytecode_size_cumulative_ |
|
private |
◆ mode_
const Mode v8::internal::compiler::JSInliningHeuristic::mode_ |
|
private |
◆ seen_
ZoneSet<NodeId> v8::internal::compiler::JSInliningHeuristic::seen_ |
|
private |
◆ source_positions_
◆ total_inlined_bytecode_size_
int v8::internal::compiler::JSInliningHeuristic::total_inlined_bytecode_size_ = 0 |
|
private |
The documentation for this class was generated from the following files: