Lines Matching refs:DagNode

110 bool DagNode::isNativeCodeCall() const {  in isNativeCodeCall()
116 bool DagNode::isOperation() const { in isOperation()
121 llvm::StringRef DagNode::getNativeCodeTemplate() const { in getNativeCodeTemplate()
128 int DagNode::getNumReturnsOfNativeCode() const { in getNumReturnsOfNativeCode()
135 llvm::StringRef DagNode::getSymbol() const { return node->getNameStr(); } in getSymbol()
137 Operator &DagNode::getDialectOp(RecordOperatorMap *mapper) const { in getDialectOp()
146 int DagNode::getNumOps() const { in getNumOps()
157 int DagNode::getNumArgs() const { return node->getNumArgs(); } in getNumArgs()
159 bool DagNode::isNestedDagArg(unsigned index) const { in isNestedDagArg()
163 DagNode DagNode::getArgAsNestedDag(unsigned index) const { in getArgAsNestedDag()
164 return DagNode(dyn_cast_or_null<llvm::DagInit>(node->getArg(index))); in getArgAsNestedDag()
167 DagLeaf DagNode::getArgAsLeaf(unsigned index) const { in getArgAsLeaf()
172 StringRef DagNode::getArgName(unsigned index) const { in getArgName()
176 bool DagNode::isReplaceWithValue() const { in isReplaceWithValue()
181 bool DagNode::isLocationDirective() const { in isLocationDirective()
186 bool DagNode::isReturnTypeDirective() const { in isReturnTypeDirective()
191 bool DagNode::isEither() const { in isEither()
196 void DagNode::print(raw_ostream &os) const { in print()
428 bool SymbolInfoMap::bindOpArgument(DagNode node, StringRef symbol, in bindOpArgument()
501 SymbolInfoMap::findBoundSymbol(StringRef key, DagNode node, const Operator &op, in findBoundSymbol()
609 DagNode Pattern::getSourcePattern() const { in getSourcePattern()
610 return DagNode(def.getValueAsDag("sourcePattern")); in getSourcePattern()
618 DagNode Pattern::getResultPattern(unsigned index) const { in getResultPattern()
620 return DagNode(cast<llvm::DagInit>(results->getElement(index))); in getResultPattern()
646 Operator &Pattern::getDialectOp(DagNode node) { in getDialectOp()
710 void Pattern::collectBoundSymbols(DagNode tree, SymbolInfoMap &infoMap, in collectBoundSymbols()
809 auto collectSymbolInEither = [&](DagNode parent, DagNode tree, in collectBoundSymbols()
812 if (DagNode subTree = tree.getArgAsNestedDag(i)) { in collectBoundSymbols()