/external/v8/test/cctest/compiler/ |
test-branch-combine.cc | 27 m.Branch(m.Word32Equal(p0, m.Int32Constant(0)), &blocka, &blockb); 29 m.Return(m.Int32Constant(eq_constant)); 31 m.Return(m.Int32Constant(ne_constant)); 52 cond = m.Word32Equal(cond, m.Int32Constant(0)); 56 m.Return(m.Int32Constant(eq_constant)); 58 m.Return(m.Int32Constant(ne_constant)); 78 m.Branch(m.Int32LessThan(p0, m.Int32Constant(0)), &blocka, &blockb); 80 m.Return(m.Int32Constant(eq_constant)); 82 m.Return(m.Int32Constant(ne_constant)); 100 m.Branch(m.Uint32LessThan(p0, m.Int32Constant(100)), &blocka, &blockb) [all...] |
test-code-assembler.cc | 42 m.Return(SmiTag(m, m.Int32Constant(37))); 78 Node* b = SmiTag(m, m.Int32Constant(0)); 91 Node* b = SmiTag(m, m.Int32Constant(0)); 104 Node* a = SmiTag(m, m.Int32Constant(2)); 105 Node* b = SmiTag(m, m.Int32Constant(4)); 118 Node* a = SmiTag(m, m.Int32Constant(2)); 119 Node* b = SmiTag(m, m.Int32Constant(4)); 151 Node* receiver = SmiTag(m, m.Int32Constant(42)); 173 Node* receiver = SmiTag(m, m.Int32Constant(42)); 174 Node* a = SmiTag(m, m.Int32Constant(13)) [all...] |
test-run-machops.cc | 27 Node* add = m.Int32Add(m.Int32Constant(0), m.Int32Constant(1)); 36 m.Word32Shl(m.Int32Constant(shift_left), m.Int32Constant(shit_right)); 37 Node* add = m.Int32Add(m.Int32Constant(add_left), m.Int32Constant(add_right)); 382 return m->Int32Constant(0); 384 return m->Int32Constant(1); 386 return m->Int32Constant(-1); 388 return m->Int32Constant(0xff) [all...] |
test-run-wasm-machops.cc | 61 Node* index = m.Int32Constant(0); 64 m.Return(m.Int32Constant(OK)); 112 m.Return(m.Int32Constant(OK)); 152 Node* index = m.Int32Constant(0x200); 158 m.Return(m.Int32Constant(0xaced)); 160 m.Return(m.Int32Constant(0xdeadbeef));
|
test-basic-block-profiler.cc | 47 m.Return(m.Int32Constant(0)); 81 Node* one = m.Int32Constant(1);
|
test-instruction.cc | 54 Node* Int32Constant(int32_t val) { 55 Node* node = graph.NewNode(common.Int32Constant(val)); 73 Node* node = graph.NewNode(common.Int32Constant(111)); 113 R.Int32Constant(i); // Add some nodes to the graph. 197 R.schedule.AddReturn(b0, R.Int32Constant(1)); 217 R.schedule.AddReturn(b1, R.Int32Constant(1)); 242 R.schedule.AddReturn(b0, R.Int32Constant(1));
|
/external/v8/test/unittests/compiler/ |
state-values-utils-unittest.cc | 31 inputs.push_back(Int32Constant(i)); 61 nested_inputs.push_back(Int32Constant(count++)); 71 doubly_nested_inputs.push_back(Int32Constant(count++)); 75 nested_inputs.push_back(Int32Constant(count++)); 80 inputs.push_back(Int32Constant(count++)); 104 inputs.push_back(Int32Constant(i)); 134 inputs.push_back(Int32Constant(i));
|
branch-elimination-unittest.cc | 59 Int32Constant(1), Int32Constant(2), inner_merge); 66 inner_phi, Int32Constant(3), outer_merge); 101 Int32Constant(2), Int32Constant(3), inner_merge); 107 Int32Constant(1), inner_phi, outer_merge); 135 Int32Constant(1), Int32Constant(2), merge1); 143 Int32Constant(3), Int32Constant(4), merge1) [all...] |
machine-operator-reducer-unittest.cc | 335 graph()->NewNode(machine()->ChangeInt32ToFloat64(), Int32Constant(x))); 349 graph()->NewNode(machine()->ChangeInt32ToInt64(), Int32Constant(x))); 364 Int32Constant(bit_cast<int32_t>(x)))); 379 Int32Constant(bit_cast<int32_t>(x)))); 496 graph()->NewNode(machine()->Word32Shl(), p0, Int32Constant(l)), 497 Int32Constant(-1 << k))); 503 machine()->Word32And(), Int32Constant(-1 << k), 504 graph()->NewNode(machine()->Word32Shl(), p0, Int32Constant(l)))); 522 graph()->NewNode(machine()->Word32And(), p0, Int32Constant(k)), 523 Int32Constant(l))) [all...] |
graph-unittest.h | 38 Node* Int32Constant(int32_t value); 40 return Int32Constant(bit_cast<int32_t>(value));
|
scheduler-unittest.cc | 111 Node* tv = graph->NewNode(common->Int32Constant(6)); 112 Node* fv = graph->NewNode(common->Int32Constant(7)); 164 Node* n5 = g->NewNode(common()->Int32Constant(-100)); 166 Node* n7 = g->NewNode(common()->Int32Constant(0)); 228 Node* fv = graph()->NewNode(common()->Int32Constant(7)); 240 Node* ttrue = graph()->NewNode(common()->Int32Constant(1)); 241 Node* ffalse = graph()->NewNode(common()->Int32Constant(0)); 266 Node* c = graph()->NewNode(common()->Int32Constant(7)); 312 Node* fv = graph()->NewNode(common()->Int32Constant(7)); 348 Node* c = graph()->NewNode(common()->Int32Constant(7)) [all...] |
instruction-selector-unittest.cc | 186 m.Return(m.Int32Constant(0)); 278 m.Branch(m.Int32Constant(0), &a, &b); 298 m.Branch(m.Int32Constant(1), &a, &b); 329 m1.Return(m1.Load(MachineType::Int32(), p1, m1.Int32Constant(0))); 334 m2.machine()->Load(MachineType::Int32()), p2, m2.Int32Constant(0), 372 m.AddNode(m.common()->TypedStateValues(&int32_type), m.Int32Constant(1)); 375 Node* context_sentinel = m.Int32Constant(0); 383 Node* args[] = {receiver, m.UndefinedConstant(), m.Int32Constant(1), context}; 414 Node* context = m.Int32Constant(1); // Context is ignored. 427 m.AddNode(m.common()->TypedStateValues(&int32_type), m.Int32Constant(43)) [all...] |
control-flow-optimizer-unittest.cc | 45 graph()->NewNode(machine()->Word32Equal(), index, Int32Constant(0)), 51 graph()->NewNode(machine()->Word32Equal(), index, Int32Constant(1)), 76 graph()->NewNode(machine()->Word32Equal(), index, Int32Constant(0)), 82 graph()->NewNode(machine()->Word32Equal(), index, Int32Constant(1)),
|
node-cache-unittest.cc | 39 Node* node = graph()->NewNode(common()->Int32Constant(k)); 57 nodes[i] = graph()->NewNode(common()->Int32Constant(v)); 95 nodes[i] = graph()->NewNode(common()->Int32Constant(i)); 126 Node* n = graph()->NewNode(common()->Int32Constant(k));
|
/external/v8/src/compiler/ |
int64-lowering.cc | 108 graph()->NewNode(common()->Int32Constant(4))); 111 graph()->NewNode(common()->Int32Constant(4))); 129 common()->Int32Constant(static_cast<int32_t>(value & 0xFFFFFFFF))); 131 common()->Int32Constant(static_cast<int32_t>(value >> 32))); 470 graph()->NewNode(common()->Int32Constant(0))); 505 graph()->NewNode(common()->Int32Constant(31)))); 515 ReplaceNode(node, input, graph()->NewNode(common()->Int32Constant(0))); 530 graph()->NewNode(common()->Int32Constant(kHigherWordOffset)), 538 graph()->NewNode(common()->Int32Constant(kLowerWordOffset)), 543 graph()->NewNode(common()->Int32Constant(0)) [all...] |
machine-operator-reducer.h | 32 Node* Int32Constant(int32_t value); 35 return Int32Constant(bit_cast<uint32_t>(value)); 58 return Replace(Int32Constant(value));
|
basic-block-instrumentor.cc | 45 : common->Int32Constant( 71 Node* zero = graph->NewNode(common.Int32Constant(0)); 72 Node* one = graph->NewNode(common.Int32Constant(1));
|
js-graph.h | 75 // Creates a Int32Constant node, usually canonicalized. 76 Node* Int32Constant(int32_t value); 78 return Int32Constant(bit_cast<int32_t>(value)); 92 // Creates a Int32Constant/Int64Constant node, depending on the word size of 94 // TODO(turbofan): Code using Int32Constant/Int64Constant to store pointer 97 return machine()->Is32() ? Int32Constant(static_cast<int32_t>(value))
|
wasm-compiler.cc | 98 jsgraph()->Int32Constant(val)), 160 return jsgraph()->Int32Constant(0xdeadbeef); 174 return jsgraph()->Int32Constant(0xdeadbeef); 193 Node* reason_node = builder_->Int32Constant( 195 Node* position_node = builder_->Int32Constant(position); 243 jsgraph()->Int32Constant(fun->nargs), // arity 364 Node* WasmGraphBuilder::Int32Constant(int32_t value) { 365 return jsgraph()->Int32Constant(value); 644 return graph()->NewNode(op, input, jsgraph()->Int32Constant(0)); 947 vals[0] = jsgraph()->Int32Constant(0) [all...] |
/external/v8/src/ |
code-stub-assembler.cc | 517 Assert(Word32Equal(LoadInstanceType(object), Int32Constant(instance_type))); 564 Int32Constant(FIRST_JS_OBJECT_TYPE))); 578 Word32And(hash_field, Int32Constant(Name::kHashNotComputedMask)), 579 Int32Constant(0)), 582 return Word32Shr(hash_field, Int32Constant(Name::kHashShift)); 636 Int32Constant(Context::NATIVE_CONTEXT_INDEX)); 642 Int32Constant(Context::ArrayMapIndex(kind))); 862 Is64() ? Int64Constant(kHoleNanInt64) : Int32Constant(kHoleNanLower32); 867 Node* offset = ElementOffsetFromIndex(Int32Constant(i), kind, mode, 883 offset = ElementOffsetFromIndex(Int32Constant(i), kind, mode [all...] |
/external/v8/test/unittests/compiler/arm64/ |
instruction-selector-arm64-unittest.cc | 42 // Helper to build Int32Constant or Int64Constant depending on the given 48 return m.Int32Constant(static_cast<int32_t>(value)); 410 m.Return((m.*dpi.constructor)(m.Parameter(0), m.Int32Constant(imm))); 423 m.Return((m.*dpi.constructor)(m.Int32Constant(imm), m.Parameter(0))); 572 m.Parameter(0), m.Word32And(m.Parameter(1), m.Int32Constant(0xff)))); 587 m.Parameter(0), m.Word32And(m.Parameter(1), m.Int32Constant(0xffff)))); 603 m.Word32Sar(m.Word32Shl(m.Parameter(1), m.Int32Constant(24)), 604 m.Int32Constant(24)))); 620 m.Word32Sar(m.Word32Shl(m.Parameter(1), m.Int32Constant(16)), 621 m.Int32Constant(16)))) [all...] |
/external/v8/test/unittests/compiler/x64/ |
instruction-selector-x64-unittest.cc | 131 m.Return(m.Int32Constant(0)); 274 Node* const c0 = m.Int32Constant(15); 296 Node* const c0 = m.Int32Constant(1); 314 Node* const c0 = m.Int32Constant(15); 331 Node* const c0 = m.Int32Constant(15); 352 Node* const c0 = m.Int32Constant(15); 412 Node* const s0 = m.Int32Mul(p1, m.Int32Constant(2)); 429 Node* const s0 = m.Int32Mul(p1, m.Int32Constant(2)); 446 Node* const s0 = m.Word32Shl(p1, m.Int32Constant(1)); 463 Node* const s0 = m.Word32Shl(p1, m.Int32Constant(1)) [all...] |
/external/v8/test/unittests/interpreter/ |
interpreter-assembler-unittest.cc | 457 Node* accumulator_value_1 = m.Int32Constant(0xdeadbeef); 460 Node* accumulator_value_2 = m.Int32Constant(42); 510 Node* store_value = m.Int32Constant(0xdeadbeef); 526 Node* value = m.Int32Constant(44); 539 Node* a = m.Int32Constant(0); 540 Node* b = m.Int32Constant(1); 549 Node* a = m.Int32Constant(0); 550 Node* b = m.Int32Constant(1); 631 Node* arg1 = m.Int32Constant(2); 632 Node* arg2 = m.Int32Constant(3) [all...] |
/external/v8/test/unittests/compiler/arm/ |
instruction-selector-arm-unittest.cc | 166 m.Return((m.*dpi.constructor)(m.Parameter(0), m.Int32Constant(imm))); 177 m.Return((m.*dpi.constructor)(m.Int32Constant(imm), m.Parameter(0))); 228 (m.*shift.constructor)(m.Parameter(1), m.Int32Constant(imm)))); 243 (m.*shift.constructor)(m.Parameter(0), m.Int32Constant(imm)), 264 m.Return(m.Int32Constant(1)); 266 m.Return(m.Int32Constant(0)); 281 m.Branch((m.*dpi.constructor)(m.Parameter(0), m.Int32Constant(imm)), &a, 284 m.Return(m.Int32Constant(1)); 286 m.Return(m.Int32Constant(0)); 297 m.Branch((m.*dpi.constructor)(m.Int32Constant(imm), m.Parameter(0)), &a [all...] |
/external/v8/test/unittests/compiler/ia32/ |
instruction-selector-ia32-unittest.cc | 35 m.Return(m.Int32Add(m.Parameter(0), m.Int32Constant(imm))); 48 m.Return(m.Int32Add(m.Int32Constant(imm), m.Parameter(0))); 77 m.Return(m.Int32Sub(m.Parameter(0), m.Int32Constant(imm))); 218 m.Return(m.Load(memacc.type, m.Int32Constant(base), m.Parameter(0))); 238 m.Return(m.Load(memacc.type, m.Parameter(0), m.Int32Constant(index))); 260 m.Return(m.Int32Constant(0)); 274 m.Store(memacc.type.representation(), m.Int32Constant(base), m.Parameter(0), 276 m.Return(m.Int32Constant(0)); 298 m.Int32Constant(index), m.Parameter(1), kNoWriteBarrier); 299 m.Return(m.Int32Constant(0)) [all...] |