Lines Matching refs:BinopMatcher

237 struct BinopMatcher : public NodeMatcher {  struct
238 explicit BinopMatcher(Node* node) in BinopMatcher() argument
242 BinopMatcher(Node* node, bool allow_input_swap) in BinopMatcher() function
277 typedef BinopMatcher<Int32Matcher, Int32Matcher> Int32BinopMatcher; argument
278 typedef BinopMatcher<Uint32Matcher, Uint32Matcher> Uint32BinopMatcher;
279 typedef BinopMatcher<Int64Matcher, Int64Matcher> Int64BinopMatcher;
280 typedef BinopMatcher<Uint64Matcher, Uint64Matcher> Uint64BinopMatcher;
281 typedef BinopMatcher<IntPtrMatcher, IntPtrMatcher> IntPtrBinopMatcher;
282 typedef BinopMatcher<UintPtrMatcher, UintPtrMatcher> UintPtrBinopMatcher;
283 typedef BinopMatcher<Float32Matcher, Float32Matcher> Float32BinopMatcher;
284 typedef BinopMatcher<Float64Matcher, Float64Matcher> Float64BinopMatcher;
285 typedef BinopMatcher<NumberMatcher, NumberMatcher> NumberBinopMatcher;
286 typedef BinopMatcher<HeapObjectMatcher, HeapObjectMatcher>
289 template <class BinopMatcher, IrOpcode::Value kMulOpcode,
295 BinopMatcher m(node);
298 typename BinopMatcher::RightMatcher::ValueType value =
306 typename BinopMatcher::RightMatcher::ValueType value =
346 template <class BinopMatcher, IrOpcode::Value AddOpcode,
349 struct AddMatcher : public BinopMatcher {
352 typedef ScaleMatcher<BinopMatcher, kMulOpcode, kShiftOpcode> Matcher;
355 : BinopMatcher(node, allow_input_swap), in AddMatcher()
361 : BinopMatcher(node, node->op()->HasProperty(Operator::kCommutative)), in AddMatcher()
752 template <class BinopMatcher, IrOpcode::Value expected_opcode>
758 BinopMatcher m(compare_); in Matched()
763 bool MatchedInternal(const typename BinopMatcher::LeftMatcher& l, in MatchedInternal()
764 const typename BinopMatcher::RightMatcher& r) { in MatchedInternal()
780 template <class BinopMatcher, IrOpcode::Value expected_opcode>
790 BinopMatcher m(compare_); in Matched()
795 bool MatchedInternal(const typename BinopMatcher::LeftMatcher& l, in MatchedInternal()
796 const typename BinopMatcher::RightMatcher& r) { in MatchedInternal()