Searched defs:jsgraph (Results 1 - 23 of 23) sorted by relevance

/external/v8/src/compiler/
H A Djs-inlining.h19 JSInliner(CompilationInfo* info, JSGraph* jsgraph) argument
20 : info_(info), jsgraph_(jsgraph) {}
H A Dchange-lowering.h22 ChangeLowering(JSGraph* jsgraph, Linkage* linkage) argument
23 : jsgraph_(jsgraph), linkage_(linkage) {}
47 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::FINAL
H A Djs-context-specialization.h21 JSContextSpecializer(CompilationInfo* info, JSGraph* jsgraph, Node* context) argument
22 : info_(info), jsgraph_(jsgraph), context_(context) {}
H A Dmachine-operator-reducer.h24 explicit MachineOperatorReducer(JSGraph* jsgraph);
52 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::FINAL
H A Dsimplified-lowering.h19 explicit SimplifiedLowering(JSGraph* jsgraph) : jsgraph_(jsgraph) {} argument
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(); }
H A Dsimplified-operator-reducer.h24 explicit SimplifiedOperatorReducer(JSGraph* jsgraph) : jsgraph_(jsgraph) {} argument
41 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::FINAL
H A Djs-builtin-reducer.h20 explicit JSBuiltinReducer(JSGraph* jsgraph) argument
21 : jsgraph_(jsgraph), simplified_(jsgraph->zone()) {}
27 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::FINAL
H A Djs-typed-lowering.h21 explicit JSTypedLowering(JSGraph* jsgraph) argument
22 : jsgraph_(jsgraph), simplified_(jsgraph->zone()) {}
27 JSGraph* jsgraph() { return jsgraph_; } function in class:v8::internal::compiler::FINAL
H A Djs-generic-lowering.h59 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(); }
H A Dmachine-operator-reducer.cc17 MachineOperatorReducer::MachineOperatorReducer(JSGraph* jsgraph) argument
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(); }
H A Dpipeline.cc122 explicit AstGraphBuilderWithPositions(CompilationInfo* info, JSGraph* jsgraph, argument
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);
274 SimplifiedOperatorReducer simple_reducer(&jsgraph);
275 ChangeLowering lowering(&jsgraph,
297 JSGenericLowering lowering(info(), &jsgraph); local
[all...]
H A Drepresentation-change.h23 RepresentationChanger(JSGraph* jsgraph, SimplifiedOperatorBuilder* simplified, argument
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));
122 return jsgraph()
351 JSGraph* jsgraph() { return jsgraph_; } function in class:v8::internal::compiler::RepresentationChanger
[all...]
H A Djs-generic-lowering.cc19 JSGenericLowering::JSGenericLowering(CompilationInfo* info, JSGraph* jsgraph) argument
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());
286 PatchInsertInput(node, 1, jsgraph()
[all...]
H A Djs-inlining.cc101 // 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) { argument
115 Graph* graph = jsgraph->graph();
127 const Operator* op_phi = jsgraph->common()->Phi(kMachAnyTagged, predecessors);
128 const Operator* op_ephi = jsgraph->common()->EffectPhi(predecessors);
130 NodeVector values(jsgraph->zone());
131 NodeVector effects(jsgraph->zone());
157 graph->NewNode(jsgraph
233 InlineAtCall(JSGraph* jsgraph, Node* call) argument
[all...]
H A Dast-graph-builder.h28 AstGraphBuilder(CompilationInfo* info, JSGraph* jsgraph);
134 JSGraph* jsgraph() { return jsgraph_; } function in class:v8::internal::compiler::AstGraphBuilder
H A Djs-typed-lowering.cc73 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());
473 return ReplaceWith(jsgraph()
[all...]
H A Dsimplified-lowering.cc62 RepresentationSelector(JSGraph* jsgraph, Zone* zone, argument
64 : jsgraph_(jsgraph),
65 count_(jsgraph->graph()->NodeCount()),
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);
820 return jsgraph()->Int32Constant(offset - kHeapObjectTag);
840 Node* offset = jsgraph()
[all...]
H A Dast-graph-builder.cc20 AstGraphBuilder::AstGraphBuilder(CompilationInfo* info, JSGraph* jsgraph) argument
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());
370 Node* value = jsgraph()
[all...]
/external/v8/test/cctest/compiler/
H A Dtest-representation-change.cc44 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]);
H A Dtest-changes-lowering.cc35 jsgraph(this->graph(), this->common(), &javascript, &typer,
41 JSGraph jsgraph; member in class:ChangesLoweringTester
150 ChangeLowering lowering(&jsgraph, &linkage);
H A Dtest-js-context-specialization.cc35 JSGraph* jsgraph() { return &jsgraph_; } function in class:ContextSpecializationTester
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);
206 JSContextSpecializer spec(t.info(), t.jsgraph(), const_context);
H A Dtest-machine-operator-reducer.cc60 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);
195 MachineOperatorReducer reducer(&jsgraph);
[all...]
H A Dtest-simplified-lowering.cc40 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());
497 t.Return(t.jsgraph
640 JSGraph jsgraph; member in class:TestingGraph
[all...]

Completed in 200 milliseconds