Searched refs:jsgraph (Results 1 - 25 of 71) sorted by relevance

123

/external/v8/src/compiler/
H A Dwasm-compiler.cc56 void MergeControlToEnd(JSGraph* jsgraph, Node* node) { argument
57 Graph* g = jsgraph->graph();
59 NodeProperties::MergeControlToEnd(g, jsgraph->common(), node);
61 g->SetEnd(g->NewNode(jsgraph->common()->End(1), node));
75 jsgraph_(builder->jsgraph()),
76 graph_(builder->jsgraph() ? builder->jsgraph()->graph() : nullptr) {}
97 graph()->NewNode(jsgraph()->machine()->Word32Equal(), node,
98 jsgraph()->Int32Constant(val)),
115 AddTrapIfTrue(reason, graph()->NewNode(jsgraph()
187 JSGraph* jsgraph() { return jsgraph_; } function in class:v8::internal::compiler::WasmTrapHelper
270 WasmGraphBuilder( Zone* zone, JSGraph* jsgraph, wasm::FunctionSig* function_signature, compiler::SourcePositionTable* source_position_table) argument
[all...]
H A Djs-context-specialization.h23 JSContextSpecialization(Editor* editor, JSGraph* jsgraph, argument
25 : AdvancedReducer(editor), jsgraph_(jsgraph), context_(context) {}
38 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::final
H A Djs-frame-specialization.h24 JSFrameSpecialization(JavaScriptFrame const* frame, JSGraph* jsgraph) argument
25 : frame_(frame), jsgraph_(jsgraph) {}
36 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::final
H A Dsimplified-lowering.h32 SimplifiedLowering(JSGraph* jsgraph, Zone* zone,
84 JSGraph* jsgraph() { return jsgraph_; } function in class:v8::internal::compiler::final
85 Graph* graph() { return jsgraph()->graph(); }
86 CommonOperatorBuilder* common() { return jsgraph()->common(); }
87 MachineOperatorBuilder* machine() { return jsgraph()->machine(); }
88 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); }
H A Djs-generic-lowering.cc31 JSGenericLowering::JSGenericLowering(JSGraph* jsgraph) : jsgraph_(jsgraph) {} argument
101 Node* stub_code = jsgraph()->HeapConstant(callable.code());
116 Node* ref = jsgraph()->ExternalConstant(ExternalReference(f, isolate()));
117 Node* arity = jsgraph()->Int32Constant(nargs);
118 node->InsertInput(zone(), 0, jsgraph()->CEntryStubConstant(fun->result_size));
163 jsgraph()->IntPtrConstant(JSFunction::kLiteralsOffset - kHeapObjectTag),
167 jsgraph()->IntPtrConstant(LiteralsArray::kFeedbackVectorOffset -
170 node->InsertInput(zone(), 2, jsgraph()->SmiConstant(p.feedback().index()));
187 jsgraph()
[all...]
H A Djs-global-object-specialization.cc30 Editor* editor, JSGraph* jsgraph,
33 jsgraph_(jsgraph),
65 Node* context = jsgraph()->HeapConstant(result.context);
85 Node* value = jsgraph()->Constant(property_cell_value);
101 Node* value = jsgraph()->Constant(property_cell_value);
124 jsgraph()->HeapConstant(property_cell), effect, control);
147 Node* context = jsgraph()->HeapConstant(result.context);
175 jsgraph()->Constant(property_cell_value));
199 jsgraph()->HeapConstant(property_cell_value_map));
207 jsgraph()
29 JSGlobalObjectSpecialization( Editor* editor, JSGraph* jsgraph, MaybeHandle<Context> native_context, CompilationDependencies* dependencies) argument
[all...]
H A Dstore-store-elimination.h29 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::final
H A Djs-call-reducer.h32 JSCallReducer(JSGraph* jsgraph, Flags flags, argument
34 : jsgraph_(jsgraph), flags_(flags), native_context_(native_context) {}
50 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::final
H A Djs-inlining.h25 JSGraph* jsgraph)
29 jsgraph_(jsgraph) {}
40 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::final
24 JSInliner(Editor* editor, Zone* local_zone, CompilationInfo* info, JSGraph* jsgraph) argument
H A Djs-create-lowering.cc32 AllocationBuilder(JSGraph* jsgraph, Node* effect, Node* control) argument
33 : jsgraph_(jsgraph),
44 jsgraph()->Constant(size), effect_, control_);
70 Store(AccessBuilder::ForFixedArrayLength(), jsgraph()->Constant(length));
75 Store(access, jsgraph()->Constant(value));
91 JSGraph* jsgraph() { return jsgraph_; } function in class:v8::internal::compiler::__anon17320::final
261 AllocationBuilder a(jsgraph(), effect, graph()->start());
265 jsgraph()->EmptyFixedArrayConstant());
267 jsgraph()->EmptyFixedArrayConstant());
270 jsgraph()
[all...]
H A Dmemory-optimizer.cc18 MemoryOptimizer::MemoryOptimizer(JSGraph* jsgraph, Zone* zone) argument
19 : jsgraph_(jsgraph),
111 Node* top_address = jsgraph()->ExternalConstant(
115 Node* limit_address = jsgraph()->ExternalConstant(
142 jsgraph()->IntPtrConstant(object_size));
146 top_address, jsgraph()->IntPtrConstant(0), top, effect, control);
152 jsgraph()->IntPtrConstant(kHeapObjectTag)));
165 jsgraph()->IntPtrConstant(0), effect, control);
168 jsgraph()->IntPtrConstant(0), effect, control);
192 ? jsgraph()
[all...]
H A Dsimplified-operator-reducer.cc36 JSGraph* jsgraph)
38 jsgraph_(jsgraph),
49 return Replace(jsgraph()->BooleanConstant(!m.Value()->BooleanValue()));
56 if (m.Is(0)) return Replace(jsgraph()->FalseConstant());
57 if (m.Is(1)) return Replace(jsgraph()->TrueConstant());
194 return Replace(jsgraph()->TrueConstant());
196 return Replace(jsgraph()->FalseConstant());
221 return Replace(jsgraph()->BooleanConstant(value));
225 return Replace(jsgraph()->Float64Constant(value));
230 return Replace(jsgraph()
35 SimplifiedOperatorReducer(Editor* editor, JSGraph* jsgraph) argument
[all...]
H A Djs-frame-specialization.cc43 return Replace(jsgraph()->Constant(value));
67 return Replace(jsgraph()->Constant(value));
71 Isolate* JSFrameSpecialization::isolate() const { return jsgraph()->isolate(); }
H A Dosr.h102 void Deconstruct(JSGraph* jsgraph, CommonOperatorBuilder* common,
H A Descape-analysis-reducer.cc24 EscapeAnalysisReducer::EscapeAnalysisReducer(Editor* editor, JSGraph* jsgraph, argument
28 jsgraph_(jsgraph),
31 fully_reduced_(static_cast<int>(jsgraph->graph()->NodeCount() * 2), zone),
184 ReplaceWithValue(node, jsgraph()->TrueConstant());
186 Replace(jsgraph()->TrueConstant());
189 ReplaceWithValue(node, jsgraph()->FalseConstant());
191 return Replace(jsgraph()->FalseConstant());
194 ReplaceWithValue(node, jsgraph()->FalseConstant());
196 return Replace(jsgraph()->FalseConstant());
206 ReplaceWithValue(node, jsgraph()
[all...]
H A Descape-analysis-reducer.h21 EscapeAnalysisReducer(Editor* editor, JSGraph* jsgraph,
43 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::final
H A Djs-generic-lowering.h27 explicit JSGenericLowering(JSGraph* jsgraph);
46 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::final
H A Djs-global-object-specialization.h32 JSGlobalObjectSpecialization(Editor* editor, JSGraph* jsgraph,
51 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::final
H A Djs-inlining-heuristic.h18 CompilationInfo* info, JSGraph* jsgraph)
21 inliner_(editor, local_zone, info, jsgraph),
17 JSInliningHeuristic(Editor* editor, Mode mode, Zone* local_zone, CompilationInfo* info, JSGraph* jsgraph) argument
H A Dsimplified-operator-reducer.h25 SimplifiedOperatorReducer(Editor* editor, JSGraph* jsgraph);
45 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::final
H A Drepresentation-change.cc178 return jsgraph()->Constant(value);
181 return jsgraph()->Constant(static_cast<double>(value));
183 return OpParameter<int32_t>(node) == 0 ? jsgraph()->FalseConstant()
184 : jsgraph()->TrueConstant();
190 return jsgraph()->Constant(OpParameter<double>(node));
192 return jsgraph()->Constant(OpParameter<float>(node));
236 return jsgraph()->graph()->NewNode(op, node);
247 return jsgraph()->Float32Constant(
252 return jsgraph()->Float32Constant(static_cast<float>(value));
255 return jsgraph()
[all...]
H A Djs-create-lowering.h33 JSGraph* jsgraph, MaybeHandle<LiteralsArray> literals_array,
37 jsgraph_(jsgraph),
80 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::final
32 JSCreateLowering(Editor* editor, CompilationDependencies* dependencies, JSGraph* jsgraph, MaybeHandle<LiteralsArray> literals_array, Zone* zone) argument
H A Dpipeline.cc181 JSGraph* jsgraph() const { return jsgraph_; } function in class:v8::internal::compiler::PipelineData
435 JSGraph* jsgraph,
439 : AstGraphBuilder(local_zone, info, jsgraph, loop_assignment,
488 JSGraphReducer(JSGraph* jsgraph, Zone* zone) argument
489 : GraphReducer(zone, jsgraph->graph(), jsgraph->Dead()) {}
747 data->jsgraph());
751 temp_zone, data->info(), data->jsgraph(), data->loop_assignment(),
767 JSGraphReducer graph_reducer(data->jsgraph(), temp_zone);
772 JSCallReducer call_reducer(data->jsgraph(),
434 AstGraphBuilderWithPositions(Zone* local_zone, CompilationInfo* info, JSGraph* jsgraph, LoopAssignmentAnalysis* loop_assignment, TypeHintAnalysis* type_hint_analysis, SourcePositionTable* source_positions) argument
[all...]
/external/v8/test/cctest/compiler/
H A Dtest-osr.cc52 jsgraph(main_isolate(), &graph, &common, nullptr, nullptr, nullptr),
69 JSGraph jsgraph; member in class:v8::internal::compiler::OsrDeconstructorTester
117 helper.Deconstruct(&jsgraph, &common, main_zone());
151 T.NewOsrPhi(loop, T.jsgraph.OneConstant(), 0, T.jsgraph.ZeroConstant());
159 CheckInputs(osr_phi, T.osr_values[0], T.jsgraph.ZeroConstant(), loop);
171 T.NewOsrPhi(loop, T.jsgraph.OneConstant(), 0, T.jsgraph.ZeroConstant());
179 CheckInputs(osr_phi, T.osr_values[0], T.jsgraph.ZeroConstant(), loop);
202 T.NewOsrPhi(loop, T.jsgraph
470 MakeCounter(JSGraph* jsgraph, Node* start, Node* loop) argument
[all...]
H A Dtest-representation-change.cc39 JSGraph* jsgraph() { return &jsgraph_; } function in class:v8::internal::compiler::RepresentationChangerTester
125 Node* true_node = r.jsgraph()->TrueConstant();
132 Node* false_node = r.jsgraph()->FalseConstant();
145 Node* node = r.jsgraph()->Int32Constant(i);
161 Node* n = r.jsgraph()->Float64Constant(*i);
172 Node* n = r.jsgraph()->Constant(*i);
183 Node* n = r.jsgraph()->Float32Constant(*i);
194 Node* n = r.jsgraph()->Int32Constant(*i);
205 Node* n = r.jsgraph()->Int32Constant(*i);
221 Node* n = r.jsgraph()
[all...]

Completed in 251 milliseconds

123