Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/utils/TableGen/
DFastISelEmitter.cpp170 bool initialize(TreePatternNode *InstPatNode, const CodeGenTarget &Target, in initialize()
173 if (InstPatNode->isLeaf()) in initialize()
176 if (InstPatNode->getOperator()->getName() == "imm") { in initialize()
181 if (InstPatNode->getOperator()->getName() == "fpimm") { in initialize()
188 for (unsigned i = 0, e = InstPatNode->getNumChildren(); i != e; ++i) { in initialize()
189 TreePatternNode *Op = InstPatNode->getChild(i); in initialize()
479 TreePatternNode *InstPatNode = Pattern.getSrcPattern(); in collectPatterns() local
480 if (!InstPatNode) continue; in collectPatterns()
481 if (InstPatNode->isLeaf()) continue; in collectPatterns()
484 if (InstPatNode->getNumTypes() > 1) continue; in collectPatterns()
[all …]
DDAGISelMatcherGen.cpp629 TreePatternNode *InstPatNode; in GetInstPatternNode() local
631 InstPatNode = InstPat->getTree(0); in GetInstPatternNode()
633 InstPatNode = Pattern.getSrcPattern(); in GetInstPatternNode()
637 if (InstPatNode && !InstPatNode->isLeaf() && in GetInstPatternNode()
638 InstPatNode->getOperator()->getName() == "set") in GetInstPatternNode()
639 InstPatNode = InstPatNode->getChild(InstPatNode->getNumChildren()-1); in GetInstPatternNode()
641 return InstPatNode; in GetInstPatternNode()
687 const TreePatternNode *InstPatNode = GetInstPatternNode(Inst, N); in EmitResultInstructionAsOperand() local
690 bool NodeHasChain = InstPatNode && in EmitResultInstructionAsOperand()
691 InstPatNode->TreeHasProperty(SDNPHasChain, CGP); in EmitResultInstructionAsOperand()
/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()
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()
[all …]
DDAGISelMatcherGen.cpp662 TreePatternNode *InstPatNode; in GetInstPatternNode() local
664 InstPatNode = InstPat->getTree(0); in GetInstPatternNode()
666 InstPatNode = Pattern.getSrcPattern(); in GetInstPatternNode()
670 if (InstPatNode && !InstPatNode->isLeaf() && in GetInstPatternNode()
671 InstPatNode->getOperator()->getName() == "set") in GetInstPatternNode()
672 InstPatNode = InstPatNode->getChild(InstPatNode->getNumChildren()-1); in GetInstPatternNode()
674 return InstPatNode; in GetInstPatternNode()
720 const TreePatternNode *InstPatNode = GetInstPatternNode(Inst, N); in EmitResultInstructionAsOperand() local
723 bool NodeHasChain = InstPatNode && in EmitResultInstructionAsOperand()
724 InstPatNode->TreeHasProperty(SDNPHasChain, CGP); in EmitResultInstructionAsOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DFastISelEmitter.cpp187 bool initialize(TreePatternNode *InstPatNode, const CodeGenTarget &Target, in initialize()
191 if (InstPatNode->isLeaf()) in initialize()
194 if (InstPatNode->getOperator()->getName() == "imm") { in initialize()
199 if (InstPatNode->getOperator()->getName() == "fpimm") { in initialize()
206 for (unsigned i = 0, e = InstPatNode->getNumChildren(); i != e; ++i) { in initialize()
207 TreePatternNode *Op = InstPatNode->getChild(i); in initialize()
513 TreePatternNode *InstPatNode = Pattern.getSrcPattern(); in collectPatterns() local
514 if (!InstPatNode) continue; in collectPatterns()
515 if (InstPatNode->isLeaf()) continue; in collectPatterns()
518 if (InstPatNode->getNumTypes() > 1) continue; in collectPatterns()
[all …]