Lines Matching refs:BinopMatcher
233 struct BinopMatcher : public NodeMatcher { struct
234 explicit BinopMatcher(Node* node) in BinopMatcher() argument
238 BinopMatcher(Node* node, bool allow_input_swap) in BinopMatcher() function
270 typedef BinopMatcher<Int32Matcher, Int32Matcher> Int32BinopMatcher; argument
271 typedef BinopMatcher<Uint32Matcher, Uint32Matcher> Uint32BinopMatcher;
272 typedef BinopMatcher<Int64Matcher, Int64Matcher> Int64BinopMatcher;
273 typedef BinopMatcher<Uint64Matcher, Uint64Matcher> Uint64BinopMatcher;
274 typedef BinopMatcher<IntPtrMatcher, IntPtrMatcher> IntPtrBinopMatcher;
275 typedef BinopMatcher<UintPtrMatcher, UintPtrMatcher> UintPtrBinopMatcher;
276 typedef BinopMatcher<Float32Matcher, Float32Matcher> Float32BinopMatcher;
277 typedef BinopMatcher<Float64Matcher, Float64Matcher> Float64BinopMatcher;
278 typedef BinopMatcher<NumberMatcher, NumberMatcher> NumberBinopMatcher;
279 typedef BinopMatcher<HeapObjectMatcher, HeapObjectMatcher>
282 template <class BinopMatcher, IrOpcode::Value kMulOpcode,
288 BinopMatcher m(node);
291 typename BinopMatcher::RightMatcher::ValueType value =
299 typename BinopMatcher::RightMatcher::ValueType value =
339 template <class BinopMatcher, IrOpcode::Value AddOpcode,
342 struct AddMatcher : public BinopMatcher {
345 typedef ScaleMatcher<BinopMatcher, kMulOpcode, kShiftOpcode> Matcher;
348 : BinopMatcher(node, allow_input_swap), in AddMatcher()
354 : BinopMatcher(node, node->op()->HasProperty(Operator::kCommutative)), in AddMatcher()