• Home
  • Raw
  • Download

Lines Matching refs:InstPatNode

176   bool initialize(TreePatternNode *InstPatNode, const CodeGenTarget &Target,  in initialize()
180 if (InstPatNode->isLeaf()) in initialize()
183 if (InstPatNode->getOperator()->getName() == "imm") { in initialize()
188 if (InstPatNode->getOperator()->getName() == "fpimm") { in initialize()
195 for (unsigned i = 0, e = InstPatNode->getNumChildren(); i != e; ++i) { in initialize()
196 TreePatternNode *Op = InstPatNode->getChild(i); in initialize()
503 TreePatternNode *InstPatNode = Pattern.getSrcPattern(); in collectPatterns() local
504 if (!InstPatNode) continue; in collectPatterns()
505 if (InstPatNode->isLeaf()) continue; in collectPatterns()
508 if (InstPatNode->getNumTypes() > 1) continue; in collectPatterns()
510 Record *InstPatOp = InstPatNode->getOperator(); in collectPatterns()
513 if (InstPatNode->getNumTypes()) RetVT = InstPatNode->getType(0); in collectPatterns()
515 if (InstPatNode->getNumChildren()) { in collectPatterns()
516 assert(InstPatNode->getChild(0)->getNumTypes() == 1); in collectPatterns()
517 VT = InstPatNode->getChild(0)->getType(0); in collectPatterns()
521 if (!InstPatNode->getPredicateFns().empty()) in collectPatterns()
526 if (!Operands.initialize(InstPatNode, Target, VT, ImmediatePredicates, in collectPatterns()
531 if (InstPatNode->getOperator()->getName() == "imm" || in collectPatterns()
532 InstPatNode->getOperator()->getName() == "fpimm") in collectPatterns()
539 for (unsigned i = 0, e = InstPatNode->getNumChildren(); i != e; ++i) { in collectPatterns()
540 std::string PhysReg = PhyRegForNode(InstPatNode->getChild(i), Target); in collectPatterns()
544 InstPatNode->getChild(i)->getName()) { in collectPatterns()