Home
last modified time | relevance | path

Searched refs:ReplaceInt32 (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/compiler/
Dmachine-operator-reducer.cc54 return ReplaceInt32(m.left().Value() & m.right().Value()); in Reduce()
64 return ReplaceInt32(m.left().Value() | m.right().Value()); in Reduce()
123 return ReplaceInt32(m.left().Value() ^ m.right().Value()); in Reduce()
125 if (m.LeftEqualsRight()) return ReplaceInt32(0); // x ^ x => 0 in Reduce()
132 return ReplaceInt32(m.left().Value() << m.right().Value()); in Reduce()
140 return ReplaceInt32(m.left().Value() >> m.right().Value()); in Reduce()
148 return ReplaceInt32(m.left().Value() >> m.right().Value()); in Reduce()
156 return ReplaceInt32( in Reduce()
180 return ReplaceInt32(static_cast<uint32_t>(m.left().Value()) + in Reduce()
189 return ReplaceInt32(static_cast<uint32_t>(m.left().Value()) - in Reduce()
[all …]
Dsimplified-operator-reducer.cc41 return ReplaceInt32(0); in Reduce()
44 return ReplaceInt32(1); in Reduce()
75 if (m.HasValue()) return ReplaceInt32(DoubleToInt32(m.Value())); in Reduce()
118 Reduction SimplifiedOperatorReducer::ReplaceInt32(int32_t value) { in ReplaceInt32() function in v8::internal::compiler::SimplifiedOperatorReducer
Dsimplified-operator-reducer.h32 Reduction ReplaceInt32(int32_t value);
34 return ReplaceInt32(bit_cast<int32_t>(value)); in ReplaceUint32()
Dmachine-operator-reducer.h35 Reduction ReplaceBool(bool value) { return ReplaceInt32(value ? 1 : 0); } in ReplaceBool()
42 Reduction ReplaceInt32(int32_t value) { in ReplaceInt32() function