Searched refs:AddMatcher (Results 1 – 2 of 2) sorted by relevance
112 void AddMatcher(Matcher *NewNode);192 void MatcherGen::AddMatcher(Matcher *NewNode) { in AddMatcher() function in MatcherGen216 AddMatcher(new CheckOpcodeMatcher(NI)); in EmitLeafMatchCode()219 return AddMatcher(new CheckIntegerMatcher(II->getValue())); in EmitLeafMatchCode()243 return AddMatcher(new CheckValueTypeMatcher(LeafRec->getName())); in EmitLeafMatchCode()258 AddMatcher(new RecordMatcher("physreg input "+LeafRec->getName(), in EmitLeafMatchCode()265 return AddMatcher(new CheckCondCodeMatcher(LeafRec->getName())); in EmitLeafMatchCode()332 AddMatcher(new CheckOpcodeMatcher(CInfo)); in EmitOperatorMatchCode()336 AddMatcher(new CheckAndImmMatcher(II->getValue())); in EmitOperatorMatchCode()338 AddMatcher(new CheckOrImmMatcher(II->getValue())); in EmitOperatorMatchCode()[all …]
318 struct AddMatcher : public BinopMatcher { struct322 AddMatcher(Node* node, bool allow_input_swap) in AddMatcher() argument328 explicit AddMatcher(Node* node) in AddMatcher() function377 typedef AddMatcher<Int32BinopMatcher, IrOpcode::kInt32Add, IrOpcode::kInt32Mul, argument379 typedef AddMatcher<Int64BinopMatcher, IrOpcode::kInt64Add, IrOpcode::kInt64Mul,383 template <class AddMatcher>434 AddMatcher m(node, allow_input_swap); in Initialize()448 if (right->opcode() == AddMatcher::kOpcode && right->OwnedBy(node)) { in Initialize()449 AddMatcher right_matcher(right); in Initialize()466 if (left->opcode() == AddMatcher::kOpcode && left->OwnedBy(node)) { in Initialize()[all …]