Lines Matching defs:mrule
273 MatchRule &mrule = *op->_matrule;
278 mrule._machType = rootOp;
319 MatchRule &mrule = *instr->_matrule;
324 mrule._machType = rootOp;
356 buildMatchList(instr->_matrule, result, mrule._machType, pred, cost);
361 static int setsResult(MatchRule &mrule) {
362 if (strcmp(mrule._name,"Set") == 0) return 1;
366 const char *ArchDesc::getMatchListIndex(MatchRule &mrule) {
367 if (setsResult(mrule)) {
369 return mrule._rChild->_opType;
372 return mrule._opType;
406 void ArchDesc::check_optype(MatchRule *mrule) {
407 MatchRule *rule = mrule;
411 // while(mrule) {
413 // if (mrule->_opType == NULL) {
488 void ArchDesc::buildMatchList(MatchRule *mrule, const char *resultStr,
496 if ( mrule->is_chain_rule(_globalNames) ) {
502 const char *indexStr = getMatchListIndex(*mrule);
522 if (!strcmp(mrule->_opType, "Set")) {
523 mnode = mrule->_rChild;
530 mnode = mrule->_lChild;
535 mnode = mrule->_rChild;