• 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()
505 TreePatternNode *InstPatNode = Pattern.getSrcPattern(); in collectPatterns() local
506 if (!InstPatNode) continue; in collectPatterns()
507 if (InstPatNode->isLeaf()) continue; in collectPatterns()
510 if (InstPatNode->getNumTypes() > 1) continue; in collectPatterns()
512 Record *InstPatOp = InstPatNode->getOperator(); in collectPatterns()
515 if (InstPatNode->getNumTypes()) RetVT = InstPatNode->getType(0); in collectPatterns()
517 if (InstPatNode->getNumChildren()) { in collectPatterns()
518 assert(InstPatNode->getChild(0)->getNumTypes() == 1); in collectPatterns()
519 VT = InstPatNode->getChild(0)->getType(0); in collectPatterns()
523 if (!InstPatNode->getPredicateFns().empty()) in collectPatterns()
528 if (!Operands.initialize(InstPatNode, Target, VT, ImmediatePredicates, in collectPatterns()
533 if (InstPatNode->getOperator()->getName() == "imm" || in collectPatterns()
534 InstPatNode->getOperator()->getName() == "fpimm") in collectPatterns()
541 for (unsigned i = 0, e = InstPatNode->getNumChildren(); i != e; ++i) { in collectPatterns()
542 std::string PhysReg = PhyRegForNode(InstPatNode->getChild(i), Target); in collectPatterns()
546 InstPatNode->getChild(i)->getName()) { in collectPatterns()