5 #ifndef V8_COMPILER_SIMPLIFIED_LOWERING_H_ 6 #define V8_COMPILER_SIMPLIFIED_LOWERING_H_ 8 #include "src/compiler/js-graph.h" 9 #include "src/compiler/machine-operator.h" 10 #include "src/compiler/node.h" 11 #include "src/compiler/simplified-operator.h" 18 class NodeOriginTable;
19 class RepresentationChanger;
20 class RepresentationSelector;
21 class SourcePositionTable;
29 PoisoningMitigationLevel poisoning_level);
34 void DoMax(
Node* node,
Operator const* op, MachineRepresentation rep);
35 void DoMin(
Node* node,
Operator const* op, MachineRepresentation rep);
36 void DoJSToNumberOrNumericTruncatesToFloat64(
38 void DoJSToNumberOrNumericTruncatesToWord32(
Node* node,
41 void DoIntegral32ToBit(
Node* node);
42 void DoOrderedNumberToBit(
Node* node);
43 void DoNumberToBit(
Node* node);
44 void DoIntegerToUint8Clamped(
Node* node);
45 void DoNumberToUint8Clamped(
Node* node);
46 void DoSigned32ToUint8Clamped(
Node* node);
47 void DoUnsigned32ToUint8Clamped(
Node* node);
69 PoisoningMitigationLevel poisoning_level_;
71 Node* Float64Round(
Node*
const node);
81 Node* ToNumberConvertBigIntCode();
82 Node* ToNumericCode();
84 Operator const* ToNumberConvertBigIntOperator();
89 Isolate* isolate() {
return jsgraph_->isolate(); }
90 Zone* zone() {
return jsgraph_->zone(); }
91 JSGraph* jsgraph() {
return jsgraph_; }
92 Graph* graph() {
return jsgraph()->graph(); }
102 #endif // V8_COMPILER_SIMPLIFIED_LOWERING_H_