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

1 2

  /external/chromium_org/v8/src/compiler/
js-typed-lowering.h 25 virtual Reduction Reduce(Node* node) OVERRIDE;
34 Reduction ReplaceEagerly(Node* old, Node* node);
35 Reduction ReplaceWith(Node* node) { return Reducer::Replace(node); }
36 Reduction ReduceJSAdd(Node* node);
37 Reduction ReduceJSComparison(Node* node);
38 Reduction ReduceJSLoadProperty(Node* node);
39 Reduction ReduceJSStoreProperty(Node* node);
40 Reduction ReduceJSEqual(Node* node, bool invert);
41 Reduction ReduceJSStrictEqual(Node* node, bool invert);
42 Reduction ReduceJSToNumberInput(Node* input)
    [all...]
graph-reducer.h 20 class Reduction FINAL {
22 explicit Reduction(Node* replacement = NULL) : replacement_(replacement) {}
34 // language-specific reductions (e.g. reduction based on types or constant
35 // folding of low-level operators) can be integrated into the graph reduction
43 virtual Reduction Reduce(Node* node) = 0;
46 static Reduction NoChange() { return Reduction(); }
47 static Reduction Replace(Node* node) { return Reduction(node); }
48 static Reduction Changed(Node* node) { return Reduction(node);
    [all...]
simplified-operator-reducer.h 27 virtual Reduction Reduce(Node* node) OVERRIDE;
30 Reduction Change(Node* node, const Operator* op, Node* a);
31 Reduction ReplaceFloat64(double value);
32 Reduction ReplaceInt32(int32_t value);
33 Reduction ReplaceUint32(uint32_t value) {
36 Reduction ReplaceNumber(double value);
37 Reduction ReplaceNumber(int32_t value);
change-lowering.h 26 virtual Reduction Reduce(Node* node) OVERRIDE;
37 Reduction ChangeBitToBool(Node* val, Node* control);
38 Reduction ChangeBoolToBit(Node* val);
39 Reduction ChangeFloat64ToTagged(Node* val, Node* control);
40 Reduction ChangeInt32ToTagged(Node* val, Node* control);
41 Reduction ChangeTaggedToFloat64(Node* val, Node* control);
42 Reduction ChangeTaggedToUI32(Node* val, Node* control, Signedness signedness);
43 Reduction ChangeUint32ToTagged(Node* val, Node* control);
machine-operator-reducer.h 20 // Performs constant folding and strength reduction on nodes that have
27 virtual Reduction Reduce(Node* node) OVERRIDE;
35 Reduction ReplaceBool(bool value) { return ReplaceInt32(value ? 1 : 0); }
36 Reduction ReplaceFloat32(volatile float value) {
39 Reduction ReplaceFloat64(volatile double value) {
42 Reduction ReplaceInt32(int32_t value) {
45 Reduction ReplaceInt64(int64_t value) {
49 Reduction ReduceProjection(size_t index, Node* node);
js-builtin-reducer.h 24 virtual Reduction Reduce(Node* node) OVERRIDE;
33 Reduction ReduceMathSqrt(Node* node);
34 Reduction ReduceMathMax(Node* node);
35 Reduction ReduceMathImul(Node* node);
js-context-specialization.h 25 Reduction ReduceJSLoadContext(Node* node);
26 Reduction ReduceJSStoreContext(Node* node);
value-numbering-reducer.h 19 virtual Reduction Reduce(Node* node) OVERRIDE;
simplified-operator-reducer-unittest.cc 23 Reduction Reduce(Node* node) {
164 Reduction reduction = Reduce( local
166 EXPECT_FALSE(reduction.Changed());
181 Reduction reduction = Reduce( local
184 ASSERT_TRUE(reduction.Changed());
185 EXPECT_EQ(param0, reduction.replacement());
190 Reduction reduction0 =
198 Reduction reduction1
211 Reduction reduction = Reduce(graph()->NewNode( local
220 Reduction reduction = Reduce( local
228 Reduction reduction = Reduce( local
240 Reduction reduction = Reduce( local
248 Reduction reduction = local
257 Reduction reduction = Reduce(graph()->NewNode( local
271 Reduction reduction = Reduce(graph()->NewNode( local
285 Reduction reduction = Reduce(graph()->NewNode( local
300 Reduction reduction = Reduce(graph()->NewNode( local
311 Reduction reduction = Reduce(graph()->NewNode( local
322 Reduction reduction = Reduce(graph()->NewNode( local
332 Reduction reduction = Reduce(graph()->NewNode( local
341 Reduction reduction = local
350 Reduction reduction = local
365 Reduction reduction = Reduce(graph()->NewNode( local
376 Reduction reduction = Reduce(graph()->NewNode( local
386 Reduction reduction = Reduce(graph()->NewNode( local
395 Reduction reduction = local
404 Reduction reduction = local
419 Reduction reduction = Reduce(graph()->NewNode( local
430 Reduction reduction = Reduce(graph()->NewNode( local
440 Reduction reduction = Reduce(graph()->NewNode( local
450 Reduction reduction = local
459 Reduction reduction = local
473 Reduction reduction = local
    [all...]
simplified-operator-reducer.cc 18 Reduction SimplifiedOperatorReducer::Reduce(Node* node) {
105 Reduction SimplifiedOperatorReducer::Change(Node* node, const Operator* op,
113 Reduction SimplifiedOperatorReducer::ReplaceFloat64(double value) {
118 Reduction SimplifiedOperatorReducer::ReplaceInt32(int32_t value) {
123 Reduction SimplifiedOperatorReducer::ReplaceNumber(double value) {
128 Reduction SimplifiedOperatorReducer::ReplaceNumber(int32_t value) {
machine-operator-reducer-unittest.cc 21 Reduction Reduce(Node* node) {
234 Reduction reduction = local
236 EXPECT_FALSE(reduction.Changed());
251 Reduction reduction = Reduce(graph()->NewNode( local
253 ASSERT_TRUE(reduction.Changed());
254 EXPECT_THAT(reduction.replacement(), IsFloat64Constant(x));
266 Reduction reduction = Reduce(graph()->NewNode local
276 Reduction reduction = Reduce(graph()->NewNode( local
291 Reduction reduction = Reduce(graph()->NewNode( local
301 Reduction reduction = Reduce(graph()->NewNode( local
315 Reduction reduction = Reduce( local
329 Reduction reduction = Reduce( local
343 Reduction reduction = local
358 Reduction reduction = local
375 Reduction reduction = Reduce(graph()->NewNode( local
385 Reduction reduction = Reduce(graph()->NewNode( local
400 Reduction reduction = Reduce(graph()->NewNode( local
410 Reduction reduction = Reduce(graph()->NewNode( local
424 Reduction reduction = Reduce(graph()->NewNode( local
434 Reduction reduction = Reduce( local
503 Reduction reduction = Reduce(node); local
514 Reduction reduction = Reduce(node); local
    [all...]
js-context-specialization.cc 26 Reduction r = spec_->ReduceJSLoadContext(node);
34 Reduction r = spec_->ReduceJSStoreContext(node);
61 Reduction JSContextSpecializer::ReduceJSLoadContext(Node* node) {
65 // If the context is not constant, no reduction can occur.
109 Reduction JSContextSpecializer::ReduceJSStoreContext(Node* node) {
113 // If the context is not constant, no reduction can occur.
phi-reducer.h 17 virtual Reduction Reduce(Node* node) OVERRIDE {
value-numbering-reducer-unittest.cc 28 Reduction Reduce(Node* node) { return reducer_.Reduce(node); }
71 Reduction r1 = Reduce(n1);
78 Reduction r2 = Reduce(n2);
98 Reduction r = Reduce(n);
js-builtin-reducer-unittest.cc 23 Reduction Reduce(Node* node) {
74 Reduction r = Reduce(call);
92 Reduction r = Reduce(call);
107 Reduction r = Reduce(call);
126 Reduction r = Reduce(call);
162 Reduction r = Reduce(call);
js-builtin-reducer.cc 17 // produce an effect. Replaces {node} with {reduction} and relaxes effects.
18 static Reduction ReplaceWithPureReduction(Node* node, Reduction reduction) {
19 if (reduction.Changed()) {
20 NodeProperties::ReplaceWithValue(node, reduction.replacement());
21 return reduction;
28 // for reduction when they have a BuiltinFunctionId associated with them.
99 Reduction JSBuiltinReducer::ReduceMathSqrt(Node* node) {
111 Reduction JSBuiltinReducer::ReduceMathMax(Node* node)
    [all...]
change-lowering-unittest.cc 75 Reduction Reduce(Node* node) {
128 Reduction reduction = Reduce(node); local
129 ASSERT_TRUE(reduction.Changed());
131 Node* phi = reduction.replacement();
145 Reduction reduction = Reduce(node); local
146 ASSERT_TRUE(reduction.Changed());
148 EXPECT_THAT(reduction.replacement(), IsWordEqual(val, IsTrueConstant()));
155 Reduction reduction = Reduce(node) local
174 Reduction reduction = Reduce(node); local
199 Reduction reduction = Reduce(node); local
229 Reduction reduction = Reduce(node); local
258 Reduction reduction = Reduce(node); local
284 Reduction reduction = Reduce(node); local
310 Reduction reduction = Reduce(node); local
351 Reduction reduction = Reduce(node); local
366 Reduction reduction = Reduce(node); local
395 Reduction reduction = Reduce(node); local
422 Reduction reduction = Reduce(node); local
449 Reduction reduction = Reduce(node); local
    [all...]
js-typed-lowering.cc 35 Reduction JSTypedLowering::ReplaceEagerly(Node* old, Node* node) {
86 Reduction ChangeToPureOperator(const Operator* op, bool invert = false) {
148 Reduction reduced = lowering_->ReduceJSToStringInput(node);
158 Reduction reduced = lowering_->ReduceJSToNumberInput(node);
224 Reduction JSTypedLowering::ReduceJSAdd(Node* node) {
253 Reduction JSTypedLowering::ReduceNumberBinop(Node* node,
268 Reduction JSTypedLowering::ReduceI32Binop(Node* node, bool left_signed,
281 Reduction JSTypedLowering::ReduceI32Shift(Node* node, bool left_signed,
289 Reduction JSTypedLowering::ReduceJSComparison(Node* node) {
357 Reduction JSTypedLowering::ReduceJSEqual(Node* node, bool invert)
    [all...]
graph-reducer-unittest.cc 28 MOCK_METHOD1(Reduce, Reduction(Node*));
40 DefaultValue<Reduction>::Set(Reducer::NoChange());
44 DefaultValue<Reduction>::Clear();
change-lowering.cc 17 Reduction ChangeLowering::Reduce(Node* node) {
104 Reduction ChangeLowering::ChangeBitToBool(Node* val, Node* control) {
122 Reduction ChangeLowering::ChangeBoolToBit(Node* val) {
128 Reduction ChangeLowering::ChangeFloat64ToTagged(Node* val, Node* control) {
133 Reduction ChangeLowering::ChangeInt32ToTagged(Node* val, Node* control) {
161 Reduction ChangeLowering::ChangeTaggedToUI32(Node* val, Node* control,
188 Reduction ChangeLowering::ChangeTaggedToFloat64(Node* val, Node* control) {
211 Reduction ChangeLowering::ChangeUint32ToTagged(Node* val, Node* control) {
js-generic-lowering.h 32 virtual Reduction Reduce(Node* node);
graph-reducer.cc 35 Reduction reduction = (*i)->Reduce(node); local
36 Node* replacement = reduction.replacement();
40 // {replacement == node} represents an in-place reduction.
42 // as now there may be more opportunities for reduction.
57 // {node} with {replacement}. New nodes created by this reduction can
89 // Perform a post-order reduction of all nodes starting from the end.
value-numbering-reducer.cc 59 Reduction ValueNumberingReducer::Reduce(Node* node) {
  /external/chromium_org/v8/test/cctest/compiler/
test-js-context-specialization.cc 74 Reduction r = spec.ReduceJSLoadContext(load);
82 Reduction r = spec.ReduceJSLoadContext(load);
91 Reduction r = spec.ReduceJSLoadContext(load);
107 Reduction r = spec.ReduceJSLoadContext(load);
146 Reduction r = spec.ReduceJSStoreContext(load);
154 Reduction r = spec.ReduceJSStoreContext(load);
162 Reduction r = spec.ReduceJSStoreContext(load);
171 Reduction r = spec.ReduceJSStoreContext(load);
test-graph-reducer.cc 38 virtual Reduction Reduce(Node* node) {
62 virtual Reduction Reduce(Node* node) {
84 virtual Reduction Reduce(Node* node) {
108 virtual Reduction Reduce(Node* node) OVERRIDE {
124 virtual Reduction Reduce(Node* node) OVERRIDE {
138 virtual Reduction Reduce(Node* node) {
151 virtual Reduction Reduce(Node* node) {
164 virtual Reduction Reduce(Node* node) {
187 virtual Reduction Reduce(Node* node) {
632 virtual Reduction Reduce(Node* node)
    [all...]

Completed in 2785 milliseconds

1 2