Home
last modified time | relevance | path

Searched refs:InstPatNode (Results 1 – 2 of 2) sorted by relevance

/external/llvm/utils/TableGen/
DFastISelEmitter.cpp176 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()
[all …]
DDAGISelMatcherGen.cpp669 TreePatternNode *InstPatNode; in GetInstPatternNode() local
671 InstPatNode = InstPat->getTree(0); in GetInstPatternNode()
673 InstPatNode = Pattern.getSrcPattern(); in GetInstPatternNode()
677 if (InstPatNode && !InstPatNode->isLeaf() && in GetInstPatternNode()
678 InstPatNode->getOperator()->getName() == "set") in GetInstPatternNode()
679 InstPatNode = InstPatNode->getChild(InstPatNode->getNumChildren()-1); in GetInstPatternNode()
681 return InstPatNode; in GetInstPatternNode()
727 const TreePatternNode *InstPatNode = GetInstPatternNode(Inst, N); in EmitResultInstructionAsOperand() local
730 bool NodeHasChain = InstPatNode && in EmitResultInstructionAsOperand()
731 InstPatNode->TreeHasProperty(SDNPHasChain, CGP); in EmitResultInstructionAsOperand()