Lines Matching refs:InstPatNode

203   bool initialize(TreePatternNode &InstPatNode, const CodeGenTarget &Target,  in initialize()
206 if (InstPatNode.isLeaf()) in initialize()
209 if (InstPatNode.getOperator()->getName() == "imm") { in initialize()
214 if (InstPatNode.getOperator()->getName() == "fpimm") { in initialize()
221 for (unsigned i = 0, e = InstPatNode.getNumChildren(); i != e; ++i) { in initialize()
222 TreePatternNode &Op = InstPatNode.getChild(i); in initialize()
519 TreePatternNode &InstPatNode = Pattern.getSrcPattern(); in collectPatterns() local
520 if (InstPatNode.isLeaf()) in collectPatterns()
524 if (InstPatNode.getNumTypes() > 1) in collectPatterns()
527 Record *InstPatOp = InstPatNode.getOperator(); in collectPatterns()
530 if (InstPatNode.getNumTypes()) in collectPatterns()
531 RetVT = InstPatNode.getSimpleType(0); in collectPatterns()
533 if (InstPatNode.getNumChildren()) { in collectPatterns()
534 assert(InstPatNode.getChild(0).getNumTypes() == 1); in collectPatterns()
535 VT = InstPatNode.getChild(0).getSimpleType(0); in collectPatterns()
539 if (!InstPatNode.getPredicateCalls().empty()) in collectPatterns()
544 if (!Operands.initialize(InstPatNode, Target, VT, ImmediatePredicates, in collectPatterns()
549 if (InstPatNode.getOperator()->getName() == "imm" || in collectPatterns()
550 InstPatNode.getOperator()->getName() == "fpimm") in collectPatterns()
557 for (unsigned i = 0, e = InstPatNode.getNumChildren(); i != e; ++i) { in collectPatterns()
558 std::string PhysReg = PhyRegForNode(InstPatNode.getChild(i), Target); in collectPatterns()
562 InstPatNode.getChild(i).getName()) { in collectPatterns()