Lines Matching refs:TreePatternNodePtr
46 using TreePatternNodePtr = std::shared_ptr<TreePatternNode>; variable
660 std::vector<TreePatternNodePtr> Children;
663 TreePatternNode(Record *Op, std::vector<TreePatternNodePtr> Ch, in TreePatternNode()
725 const TreePatternNodePtr &getChildShared(unsigned N) const { in getChildShared()
728 void setChild(unsigned i, TreePatternNodePtr N) { Children[i] = N; } in setChild()
798 TreePatternNodePtr clone() const;
813 SubstituteFormalArguments(std::map<std::string, TreePatternNodePtr> &ArgMap);
818 void InlinePatternFragments(TreePatternNodePtr T,
820 std::vector<TreePatternNodePtr> &OutAlternatives);
865 std::vector<TreePatternNodePtr> Trees;
908 TreePattern(Record *TheRec, TreePatternNodePtr Pat, bool isInput,
913 const std::vector<TreePatternNodePtr> &getTrees() const { return Trees; } in getTrees()
915 const TreePatternNodePtr &getTree(unsigned i) const { return Trees[i]; } in getTree()
916 void setTree(unsigned i, TreePatternNodePtr Tree) { Trees[i] = Tree; } in setTree()
917 const TreePatternNodePtr &getOnlyTree() const { in getOnlyTree()
947 std::vector<TreePatternNodePtr> Copy = Trees; in InlinePatternFragments()
975 TreePatternNodePtr ParseTreePattern(Init *DI, StringRef OpName);
1009 std::vector<TreePatternNodePtr> DefaultOps;
1016 TreePatternNodePtr SrcPattern;
1017 TreePatternNodePtr ResultPattern;
1023 TreePatternNodePtr srcpattern = nullptr,
1024 TreePatternNodePtr resultpattern = nullptr)
1048 TreePatternNodePtr getSrcPattern() const { return SrcPattern; } in getSrcPattern()
1049 TreePatternNodePtr getResultPattern() const { return ResultPattern; } in getResultPattern()
1108 TreePatternNodePtr src, TreePatternNodePtr dst,
1116 TreePatternNodePtr SrcPattern; // Source pattern to match.
1117 TreePatternNodePtr DstPattern; // Resulting pattern.
1127 TreePatternNodePtr getSrcPatternShared() const { return SrcPattern; } in getSrcPatternShared()
1129 TreePatternNodePtr getDstPatternShared() const { return DstPattern; } in getDstPatternShared()
1299 TreePattern &I, TreePatternNodePtr Pat,
1300 std::map<std::string, TreePatternNodePtr> &InstInputs,
1301 MapVector<std::string, TreePatternNodePtr,