HomeSort by relevance Sort by last modified time
    Searched refs:jsgraph (Results 1 - 25 of 31) sorted by null

1 2

  /external/v8/src/compiler/
js-builtin-reducer.h 20 explicit JSBuiltinReducer(JSGraph* jsgraph)
21 : jsgraph_(jsgraph), simplified_(jsgraph->zone()) {}
27 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::FINAL
37 JSGraph* jsgraph_;
js-context-specialization.h 17 // Specializes a given JSGraph to a given context, potentially constant folding
21 JSContextSpecializer(CompilationInfo* info, JSGraph* jsgraph, Node* context)
22 : info_(info), jsgraph_(jsgraph), context_(context) {}
30 JSGraph* jsgraph_;
simplified-lowering.h 19 explicit SimplifiedLowering(JSGraph* jsgraph) : jsgraph_(jsgraph) {}
35 JSGraph* jsgraph_;
47 JSGraph* jsgraph() { return jsgraph_; } function in class:v8::internal::compiler::SimplifiedLowering
48 Graph* graph() { return jsgraph()->graph(); }
49 CommonOperatorBuilder* common() { return jsgraph()->common(); }
50 MachineOperatorBuilder* machine() { return jsgraph()->machine(); }
simplified-operator-reducer.h 19 class JSGraph;
24 explicit SimplifiedOperatorReducer(JSGraph* jsgraph) : jsgraph_(jsgraph) {}
41 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::FINAL
44 JSGraph* jsgraph_;
js-inlining.h 19 JSInliner(CompilationInfo* info, JSGraph* jsgraph)
20 : info_(info), jsgraph_(jsgraph) {}
28 JSGraph* jsgraph_;
simplified-operator-reducer.cc 23 return Replace(jsgraph()->TrueConstant());
26 return Replace(jsgraph()->FalseConstant());
33 if (m.Is(0)) return Replace(jsgraph()->FalseConstant());
34 if (m.Is(1)) return Replace(jsgraph()->TrueConstant());
114 return Replace(jsgraph()->Float64Constant(value));
119 return Replace(jsgraph()->Int32Constant(value));
124 return Replace(jsgraph()->Constant(value));
129 return Replace(jsgraph()->Constant(value));
133 Graph* SimplifiedOperatorReducer::graph() const { return jsgraph()->graph(); }
137 return jsgraph()->isolate()->factory()
    [all...]
js-generic-lowering.h 29 JSGenericLowering(CompilationInfo* info, JSGraph* graph);
59 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::JSGenericLowering
60 Graph* graph() const { return jsgraph()->graph(); }
63 CommonOperatorBuilder* common() const { return jsgraph()->common(); }
64 MachineOperatorBuilder* machine() const { return jsgraph()->machine(); }
68 JSGraph* jsgraph_;
js-typed-lowering.h 21 explicit JSTypedLowering(JSGraph* jsgraph)
22 : jsgraph_(jsgraph), simplified_(jsgraph->zone()) {}
27 JSGraph* jsgraph() { return jsgraph_; } function in class:v8::internal::compiler::FINAL
56 JSGraph* jsgraph_;
representation-change.h 23 RepresentationChanger(JSGraph* jsgraph, SimplifiedOperatorBuilder* simplified,
25 : jsgraph_(jsgraph),
79 return jsgraph()->Constant(static_cast<double>(value));
82 return jsgraph()->Constant(value);
84 return OpParameter<int32_t>(node) == 0 ? jsgraph()->FalseConstant()
85 : jsgraph()->TrueConstant();
90 return jsgraph()->Constant(OpParameter<double>(node));
111 return jsgraph()->graph()->NewNode(op, node);
118 return jsgraph()->Float64Constant(OpParameter<double>(node))
351 JSGraph* jsgraph() { return jsgraph_; } function in class:v8::internal::compiler::RepresentationChanger
    [all...]
change-lowering.h 16 class JSGraph;
22 ChangeLowering(JSGraph* jsgraph, Linkage* linkage)
23 : jsgraph_(jsgraph), linkage_(linkage) {}
47 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::FINAL
52 JSGraph* jsgraph_;
pipeline.cc 122 explicit AstGraphBuilderWithPositions(CompilationInfo* info, JSGraph* jsgraph,
124 : AstGraphBuilder(info, jsgraph), source_positions_(source_positions) {}
186 JSGraph jsgraph(&graph, &common, &javascript, &typer, &machine);
191 AstGraphBuilderWithPositions graph_builder(info(), &jsgraph, local
214 JSContextSpecializer spec(info(), &jsgraph, context_node); local
222 JSInliner inliner(info(), &jsgraph); local
247 JSTypedLowering lowering(&jsgraph);
260 SimplifiedLowering lowering(&jsgraph);
297 JSGenericLowering lowering(info(), &jsgraph); local
    [all...]
change-lowering.cc 48 return jsgraph()->Int32Constant(heap_number_value_offset - kHeapObjectTag);
55 return jsgraph()->Int32Constant(
63 return jsgraph()->Int32Constant(smi_shift_size + kSmiTagSize);
70 Node* context = jsgraph()->ZeroConstant();
78 common()->Call(desc), jsgraph()->CEntryStubConstant(),
79 jsgraph()->ExternalConstant(ExternalReference(function, isolate())),
80 jsgraph()->Int32Constant(function->nargs), context, effect, control);
108 Node* true_value = jsgraph()->TrueConstant();
111 Node* false_value = jsgraph()->FalseConstant();
124 graph()->NewNode(machine()->WordEqual(), val, jsgraph()->TrueConstant()))
    [all...]
js-inlining.cc 101 // Inline this graph at {call}, use {jsgraph} and its zone to create
103 void InlineAtCall(JSGraph* jsgraph, Node* call);
106 static void UnifyReturn(JSGraph* jsgraph);
114 void Inlinee::UnifyReturn(JSGraph* jsgraph) {
115 Graph* graph = jsgraph->graph();
127 const Operator* op_phi = jsgraph->common()->Phi(kMachAnyTagged, predecessors);
128 const Operator* op_ephi = jsgraph->common()->EffectPhi(predecessors)
    [all...]
machine-operator-reducer.h 17 class JSGraph;
24 explicit MachineOperatorReducer(JSGraph* jsgraph);
52 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::FINAL
56 JSGraph* jsgraph_;
ast-graph-builder.cc 20 AstGraphBuilder::AstGraphBuilder(CompilationInfo* info, JSGraph* jsgraph)
21 : StructuredGraphBuilder(jsgraph->graph(), jsgraph->common()),
23 jsgraph_(jsgraph),
100 Node* return_value = jsgraph()->UndefinedConstant();
105 Node* control = NewNode(common()->Return(), jsgraph()->UndefinedConstant());
183 Node* undefined_constant = builder->jsgraph()->UndefinedConstant();
231 builder()->jsgraph()->UndefinedConstant());
317 return environment()->Push(jsgraph()->NullConstant())
    [all...]
simplified-lowering.cc 62 RepresentationSelector(JSGraph* jsgraph, Zone* zone,
64 : jsgraph_(jsgraph),
65 count_(jsgraph->graph()->NodeCount()),
768 JSGraph* jsgraph_;
792 jsgraph()->Int32Constant(kSmiTagMask));
798 RepresentationChanger changer(jsgraph(), &simplified,
800 RepresentationSelector selector(jsgraph(), zone(), &changer);
807 Node* shift_amount = jsgraph()->Int32Constant(kSmiTagSize + kSmiShiftSize);
814 Node* shift_amount = jsgraph()->Int32Constant(kSmiTagSize + kSmiShiftSize)
    [all...]
js-typed-lowering.cc 73 jsgraph()->Int32Constant(0x1F)));
136 JSGraph* jsgraph() { return lowering_->jsgraph(); } function in class:v8::internal::compiler::JSBinopReduction
382 return ReplaceEagerly(node, invert ? jsgraph()->FalseConstant()
383 : jsgraph()->TrueConstant());
390 return ReplaceEagerly(node, invert ? jsgraph()->TrueConstant()
391 : jsgraph()->FalseConstant());
442 return ReplaceWith(jsgraph()->NaNConstant());
446 return ReplaceWith(jsgraph()->ZeroConstant())
    [all...]
js-generic-lowering.cc 19 JSGenericLowering::JSGenericLowering(CompilationInfo* info, JSGraph* jsgraph)
21 jsgraph_(jsgraph),
22 linkage_(new (jsgraph->zone()) Linkage(info)) {}
36 return jsgraph()->SmiConstant(immediate);
41 return jsgraph()->Int32Constant(immediate);
46 return jsgraph()->HeapConstant(code);
51 return jsgraph()->HeapConstant(function);
56 return jsgraph()->ExternalConstant(ref);
241 jsgraph()->TrueConstant())
    [all...]
machine-operator-reducer.cc 17 MachineOperatorReducer::MachineOperatorReducer(JSGraph* jsgraph)
18 : jsgraph_(jsgraph) {}
30 return jsgraph()->Float64Constant(value);
35 return jsgraph()->Int32Constant(value);
491 return jsgraph()->common();
496 return jsgraph()->machine();
500 Graph* MachineOperatorReducer::graph() const { return jsgraph()->graph(); }
js-builtin-reducer-unittest.cc 26 JSGraph jsgraph(graph(), common(), javascript(), &typer, &machine);
27 JSBuiltinReducer reducer(&jsgraph);
  /external/v8/test/cctest/compiler/
test-js-context-specialization.cc 35 JSGraph* jsgraph() { return &jsgraph_; } function in class:ContextSpecializationTester
44 JSGraph jsgraph_;
65 Node* const_context = t.jsgraph()->Constant(native);
66 Node* deep_const_context = t.jsgraph()->Constant(subcontext2);
68 JSContextSpecializer spec(t.info(), t.jsgraph(), const_context);
137 Node* const_context = t.jsgraph()->Constant(native);
138 Node* deep_const_context = t.jsgraph()->Constant(subcontext2);
140 JSContextSpecializer spec(t.info(), t.jsgraph(), const_context);
204 Node* const_context = t.jsgraph()->Constant(native)
    [all...]
test-representation-change.cc 38 JSGraph jsgraph_;
44 JSGraph* jsgraph() { return &jsgraph_; } function in class:v8::internal::compiler::RepresentationChangerTester
118 Node* true_node = r.jsgraph()->TrueConstant();
123 Node* false_node = r.jsgraph()->FalseConstant();
134 Node* node = r.jsgraph()->Int32Constant(i);
146 Node* n = r.jsgraph()->Float64Constant(double_inputs[i]);
152 Node* n = r.jsgraph()->Int32Constant(int32_inputs[i]);
159 Node* n = r.jsgraph()->Int32Constant(uint32_inputs[i]);
test-simplified-lowering.cc 40 jsgraph(this->graph(), this->common(), &javascript, &typer,
42 lowering(&jsgraph) {}
46 JSGraph jsgraph; member in class:SimplifiedLoweringTester
75 t.Return(t.jsgraph.TrueConstant());
103 t.Return(t.jsgraph.TrueConstant());
150 t.Return(t.jsgraph.TrueConstant());
246 t.Return(t.jsgraph.TrueConstant());
434 t.Return(t.jsgraph.TrueConstant());
456 t.Return(t.jsgraph.TrueConstant())
640 JSGraph jsgraph; member in class:TestingGraph
    [all...]
test-machine-operator-reducer.cc 60 jsgraph(&graph, &common, &javascript, &typer, &machine),
74 JSGraph jsgraph; member in class:ReducerTester
100 MachineOperatorReducer reducer(&jsgraph);
112 MachineOperatorReducer reducer(&jsgraph);
124 MachineOperatorReducer reducer(&jsgraph);
139 MachineOperatorReducer reducer(&jsgraph);
154 MachineOperatorReducer reducer(&jsgraph);
171 MachineOperatorReducer reducer(&jsgraph);
179 MachineOperatorReducer reducer(&jsgraph);
    [all...]
test-changes-lowering.cc 35 jsgraph(this->graph(), this->common(), &javascript, &typer,
41 JSGraph jsgraph; member in class:ChangesLoweringTester
150 ChangeLowering lowering(&jsgraph, &linkage);

Completed in 276 milliseconds

1 2