V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
select-lowering.h
1
// Copyright 2014 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_SELECT_LOWERING_H_
6
#define V8_COMPILER_SELECT_LOWERING_H_
7
8
#include "src/compiler/graph-reducer.h"
9
10
namespace
v8
{
11
namespace
internal {
12
namespace
compiler {
13
14
// Forward declarations.
15
class
CommonOperatorBuilder;
16
class
Graph;
17
18
19
// Lowers Select nodes to diamonds.
20
class
SelectLowering
final :
public
Reducer
{
21
public
:
22
SelectLowering
(
Graph
* graph,
CommonOperatorBuilder
* common);
23
~
SelectLowering
()
override
;
24
25
const
char
* reducer_name()
const override
{
return
"SelectLowering"
; }
26
27
Reduction
Reduce(
Node
* node)
override
;
28
29
private
:
30
CommonOperatorBuilder
* common()
const
{
return
common_; }
31
Graph
* graph()
const
{
return
graph_; }
32
33
CommonOperatorBuilder
* common_;
34
Graph
* graph_;
35
};
36
37
}
// namespace compiler
38
}
// namespace internal
39
}
// namespace v8
40
41
#endif // V8_COMPILER_SELECT_LOWERING_H_
v8::internal::compiler::SelectLowering
Definition:
select-lowering.h:20
v8::internal::compiler::Reducer
Definition:
graph-reducer.h:47
v8
Definition:
libplatform.h:13
v8::internal::compiler::Graph
Definition:
graph.h:35
v8::internal::compiler::Node
Definition:
node.h:43
v8::internal::compiler::CommonOperatorBuilder
Definition:
common-operator.h:445
v8::internal::compiler::Reduction
Definition:
graph-reducer.h:30
v8
src
compiler
select-lowering.h
Generated on Tue Dec 25 2018 14:38:42 by
1.8.14