Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.h35 class TreePatternNode; variable
216 bool ApplyTypeConstraint(TreePatternNode *N, const SDNodeInfo &NodeInfo,
260 bool ApplyTypeConstraints(TreePatternNode *N, TreePattern &TP) const { in ApplyTypeConstraints()
322 class TreePatternNode {
348 std::vector<TreePatternNode*> Children;
350 TreePatternNode(Record *Op, const std::vector<TreePatternNode*> &Ch, in TreePatternNode() function
355 TreePatternNode(Init *val, unsigned NumResults) // leaf ctor in TreePatternNode() function
359 ~TreePatternNode();
391 TreePatternNode *getChild(unsigned N) const { return Children[N]; } in getChild()
392 void setChild(unsigned i, TreePatternNode *N) { in setChild()
[all …]
DCodeGenDAGPatterns.cpp710 static void FindDepVarsOf(TreePatternNode *N, DepVarMap &DepMap) { in FindDepVarsOf()
721 static void FindDepVars(TreePatternNode *N, MultipleUseVarSet &DepVars) { in FindDepVars()
815 static unsigned getPatternSize(const TreePatternNode *P, in getPatternSize()
843 TreePatternNode *Child = P->getChild(i); in getPatternSize()
961 static TreePatternNode *getOperandNum(unsigned OpNo, TreePatternNode *N, in getOperandNum()
987 bool SDTypeConstraint::ApplyTypeConstraint(TreePatternNode *N, in ApplyTypeConstraint()
994 TreePatternNode *NodeToApply = getOperandNum(OperandNo, N, NodeInfo, ResNo); in ApplyTypeConstraint()
1014 TreePatternNode *OtherNode = in ApplyTypeConstraint()
1035 TreePatternNode *OtherNode = in ApplyTypeConstraint()
1043 TreePatternNode *BigOperand = in ApplyTypeConstraint()
[all …]
DDAGISelMatcherGen.cpp56 TreePatternNode *PatWithNoTypes;
86 SmallVector<std::pair<const TreePatternNode*,
116 void EmitMatchCode(const TreePatternNode *N, TreePatternNode *NodeNoTypes);
117 void EmitLeafMatchCode(const TreePatternNode *N);
118 void EmitOperatorMatchCode(const TreePatternNode *N,
119 TreePatternNode *NodeNoTypes);
135 const TreePatternNode *GetInstPatternNode(const DAGInstruction &Ins,
136 const TreePatternNode *N);
138 void EmitResultOperand(const TreePatternNode *N,
140 void EmitResultOfNamedOperand(const TreePatternNode *N,
[all …]
DDAGISelEmitter.cpp41 static unsigned getResultPatternCost(TreePatternNode *P, in getResultPatternCost()
60 static unsigned getResultPatternSize(TreePatternNode *P, in getResultPatternSize()
83 const TreePatternNode *LHSSrc = LHS->getSrcPattern(); in operator ()()
84 const TreePatternNode *RHSSrc = RHS->getSrcPattern(); in operator ()()
DFastISelEmitter.cpp176 bool initialize(TreePatternNode *InstPatNode, const CodeGenTarget &Target, in initialize()
196 TreePatternNode *Op = InstPatNode->getChild(i); in initialize()
424 static std::string PhyRegForNode(TreePatternNode *Op, in PhyRegForNode()
456 TreePatternNode *Dst = Pattern.getDstPattern(); in collectPatterns()
468 TreePatternNode *ChildOp = Dst->getChild(i); in collectPatterns()
505 TreePatternNode *InstPatNode = Pattern.getSrcPattern(); in collectPatterns()