Lines Matching refs:Value
26 Node* MachineOperatorReducer::Float32Constant(volatile float value) {
27 return graph()->NewNode(common()->Float32Constant(value));
31 Node* MachineOperatorReducer::Float64Constant(volatile double value) {
32 return jsgraph()->Float64Constant(value);
36 Node* MachineOperatorReducer::Int32Constant(int32_t value) {
37 return jsgraph()->Int32Constant(value);
41 Node* MachineOperatorReducer::Int64Constant(int64_t value) {
42 return graph()->NewNode(common()->Int64Constant(value));
142 return ReplaceInt32(m.left().Value() ^ m.right().Value());
159 return ReplaceInt32(m.left().Value() >> m.right().Value());
170 base::bits::RotateRight32(m.left().Value(), m.right().Value()));
177 return ReplaceBool(m.left().Value() == m.right().Value());
192 return ReplaceBool(m.left().Value() == m.right().Value());
213 return ReplaceInt32(m.left().Value() * m.right().Value());
222 node->ReplaceInput(1, Int32Constant(WhichPowerOf2(m.right().Value())));
240 return ReplaceBool(m.left().Value() < m.right().Value());
260 return ReplaceBool(m.left().Value() <= m.right().Value());
282 return ReplaceBool(m.left().Value() < m.right().Value());
290 const uint32_t c = m.right().Value();
291 const uint32_t k = mleft.right().Value() & 0x1f;
307 return ReplaceBool(m.left().Value() <= m.right().Value());
318 return ReplaceFloat64(m.left().Value() + m.right().Value());
324 if (m.right().Is(0) && (Double(m.right().Value()).Sign() > 0)) {
334 return ReplaceFloat64(m.left().Value() - m.right().Value());
351 return ReplaceFloat64(m.left().Value() * m.right().Value());
365 return ReplaceFloat64(m.left().Value() / m.right().Value());
381 return ReplaceFloat64(modulo(m.left().Value(), m.right().Value()));
387 if (m.HasValue()) return ReplaceFloat64(m.Value());
392 if (m.HasValue()) return ReplaceInt32(FastD2I(m.Value()));
398 if (m.HasValue()) return ReplaceInt32(FastD2UI(m.Value()));
404 if (m.HasValue()) return ReplaceFloat64(FastI2D(m.Value()));
409 if (m.HasValue()) return ReplaceInt64(m.Value());
414 if (m.HasValue()) return ReplaceFloat64(FastUI2D(m.Value()));
419 if (m.HasValue()) return ReplaceInt64(static_cast<uint64_t>(m.Value()));
426 if (m.HasValue()) return ReplaceInt32(static_cast<int32_t>(m.Value()));
432 if (m.HasValue()) return ReplaceFloat32(DoubleToFloat32(m.Value()));
458 return ReplaceUint32(bit_cast<uint32_t>(m.left().Value()) +
459 bit_cast<uint32_t>(m.right().Value()));
489 return ReplaceInt32(static_cast<uint32_t>(m.left().Value()) -
490 static_cast<uint32_t>(m.right().Value()));
494 node->ReplaceInput(1, Int32Constant(-m.right().Value()));
510 base::bits::SignedDiv32(m.left().Value(), m.right().Value()));
524 int32_t const divisor = m.right().Value();
558 base::bits::UnsignedDiv32(m.left().Value(), m.right().Value()));
566 uint32_t const divisor = m.right().Value();
568 node->ReplaceInput(1, Uint32Constant(WhichPowerOf2(m.right().Value())));
589 base::bits::SignedMod32(m.left().Value(), m.right().Value()));
593 int32_t const divisor = Abs(m.right().Value());
626 base::bits::UnsignedMod32(m.left().Value(), m.right().Value()));
630 uint32_t const divisor = m.right().Value();
632 node->ReplaceInput(1, Uint32Constant(m.right().Value() - 1));
650 if (m.HasValue()) return ReplaceInt32(DoubleToInt32(m.Value()));
682 Node* const value = node->InputAt(2);
683 switch (value->opcode()) {
685 Uint32BinopMatcher m(value);
687 (m.right().Value() & 0xff) == 0xff) ||
689 (m.right().Value() & 0xffff) == 0xffff))) {
696 Int32BinopMatcher m(value);
702 if (mleft.right().Is(m.right().Value())) {
723 bool ovf = base::bits::SignedAddOverflow32(m.left().Value(),
724 m.right().Value(), &val);
737 bool ovf = base::bits::SignedSubOverflow32(m.left().Value(),
738 m.right().Value(), &val);
778 return ReplaceInt32(m.left().Value() << m.right().Value());
785 if (mleft.right().Is(m.right().Value())) {
788 Uint32Constant(~((1U << m.right().Value()) - 1U)));
803 return ReplaceInt32(m.left().Value() >> m.right().Value());
844 return ReplaceInt32(m.left().Value() & m.right().Value());
852 1, Int32Constant(m.right().Value() & mleft.right().Value()));
858 int32_t const mask = m.right().Value
862 mleft.right().Value() >= base::bits::CountTrailingZeros32(mask)) {
869 (mleft.right().Value() & mask) == mleft.right().Value()) {
943 return ReplaceInt32(m.left().Value() | m.right().Value());
969 if (mshl.right().Value() + mshr.right().Value() != 32) return NoChange();
1000 (bit_cast<uint64_t>(mlhs.Value()) & V8_UINT64_C(0xFFFFFFFF00000000)) |
1001 mrhs.Value()));
1013 (bit_cast<uint64_t>(mlhs.Value()) & V8_UINT64_C(0xFFFFFFFF)) |
1014 (static_cast<uint64_t>(mrhs.Value()) << 32)));
1024 double v = m.Value();
1065 ? Float32Constant(static_cast<float>(m.left().Value()))
1069 ? Float32Constant(static_cast<float>(m.right().Value()))