Lines Matching refs:TreePatternNode
42 class TreePatternNode; variable
46 using TreePatternNodePtr = std::shared_ptr<TreePatternNode>;
418 bool ApplyTypeConstraint(TreePatternNode *N, const SDNodeInfo &NodeInfo,
484 bool ApplyTypeConstraints(TreePatternNode *N, TreePattern &TP) const;
629 class TreePatternNode {
663 TreePatternNode(Record *Op, std::vector<TreePatternNodePtr> Ch, in TreePatternNode() function
671 TreePatternNode(Init *val, unsigned NumResults) // leaf ctor in TreePatternNode() function
724 TreePatternNode *getChild(unsigned N) const { return Children[N].get(); } in getChild()
731 bool hasChild(const TreePatternNode *N) const { in hasChild()
807 bool isIsomorphicTo(const TreePatternNode *N,
852 inline raw_ostream &operator<<(raw_ostream &OS, const TreePatternNode &TPN) {
869 StringMap<SmallVector<TreePatternNode *, 1>> NamedNodes;
922 const StringMap<SmallVector<TreePatternNode *, 1>> &getNamedNodesMap() { in getNamedNodesMap()
957 const StringMap<SmallVector<TreePatternNode *, 1>> *NamedTypes = nullptr);
977 void ComputeNamedNodes(TreePatternNode *N);
981 inline bool TreePatternNode::UpdateNodeType(unsigned ResNo, in UpdateNodeType()
989 inline bool TreePatternNode::UpdateNodeType(unsigned ResNo, in UpdateNodeType()
997 inline bool TreePatternNode::UpdateNodeType(unsigned ResNo, in UpdateNodeType()
1126 TreePatternNode *getSrcPattern() const { return SrcPattern.get(); } in getSrcPattern()
1128 TreePatternNode *getDstPattern() const { return DstPattern.get(); } in getDstPattern()
1307 inline bool SDNodeInfo::ApplyTypeConstraints(TreePatternNode *N, in ApplyTypeConstraints()