v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
checkpoint-elimination.h
Go to the documentation of this file.
1
// Copyright 2016 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef V8_COMPILER_CHECKPOINT_ELIMINATION_H_
6
#define V8_COMPILER_CHECKPOINT_ELIMINATION_H_
7
8
#include "
src/base/compiler-specific.h
"
9
#include "
src/compiler/graph-reducer.h
"
10
11
namespace
v8
{
12
namespace
internal
{
13
namespace
compiler {
14
15
// Performs elimination of redundant checkpoints within the graph.
16
class
V8_EXPORT_PRIVATE
CheckpointElimination
final
17
:
public
NON_EXPORTED_BASE
(AdvancedReducer) {
18
public
:
19
explicit
CheckpointElimination
(Editor* editor);
20
~CheckpointElimination
() final = default;
21
22
const
char
* reducer_name()
const override
{
return
"CheckpointElimination"
; }
23
24
Reduction
Reduce(
Node
* node)
final
;
25
26
private
:
27
Reduction
ReduceCheckpoint(
Node
* node);
28
};
29
30
}
// namespace compiler
31
}
// namespace internal
32
}
// namespace v8
33
34
#endif
// V8_COMPILER_CHECKPOINT_ELIMINATION_H_
v8::internal::compiler::CheckpointElimination
Definition
checkpoint-elimination.h:17
v8::internal::compiler::CheckpointElimination::~CheckpointElimination
~CheckpointElimination() final=default
v8::internal::compiler::Node
Definition
node.h:41
v8::internal::compiler::Reduction
Definition
graph-reducer.h:34
graph-reducer.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
compiler-specific.h
NON_EXPORTED_BASE
#define NON_EXPORTED_BASE(code)
Definition
compiler-specific.h:93
V8_EXPORT_PRIVATE
#define V8_EXPORT_PRIVATE
Definition
macros.h:460
src
compiler
checkpoint-elimination.h
Generated on Sun Apr 6 2025 21:08:51 for v8 by
1.12.0