Searched refs:DagNode (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/mlir/tools/mlir-tblgen/ |
D | RewriterGen.cpp | 66 void emitMatchLogic(DagNode tree, StringRef opName); 76 void emitMatch(DagNode tree, StringRef name, int depth); 79 void emitNativeCodeMatch(DagNode tree, StringRef name, int depth); 83 void emitOpMatch(DagNode tree, StringRef opName, int depth); 87 void emitOperandMatch(DagNode tree, StringRef opName, int argIndex, 92 void emitAttributeMatch(DagNode tree, StringRef opName, int argIndex, 119 std::string handleResultPattern(DagNode resultTree, int resultIndex, 124 std::string handleReplaceWithNativeCodeCall(DagNode resultTree, int depth); 127 StringRef handleReplaceWithValue(DagNode tree); 130 std::pair<bool, std::string> getLocation(DagNode tree); [all …]
|
/external/llvm-project/mlir/lib/TableGen/ |
D | Pattern.cpp | 105 bool DagNode::isNativeCodeCall() const { in isNativeCodeCall() 111 bool DagNode::isOperation() const { in isOperation() 115 llvm::StringRef DagNode::getNativeCodeTemplate() const { in getNativeCodeTemplate() 122 llvm::StringRef DagNode::getSymbol() const { return node->getNameStr(); } in getSymbol() 124 Operator &DagNode::getDialectOp(RecordOperatorMap *mapper) const { in getDialectOp() 133 int DagNode::getNumOps() const { in getNumOps() 142 int DagNode::getNumArgs() const { return node->getNumArgs(); } in getNumArgs() 144 bool DagNode::isNestedDagArg(unsigned index) const { in isNestedDagArg() 148 DagNode DagNode::getArgAsNestedDag(unsigned index) const { in getArgAsNestedDag() 149 return DagNode(dyn_cast_or_null<llvm::DagInit>(node->getArg(index))); in getArgAsNestedDag() [all …]
|
/external/llvm-project/mlir/include/mlir/TableGen/ |
D | Pattern.h | 131 class DagNode { 133 explicit DagNode(const llvm::DagInit *node) : node(node) {} in DagNode() function 159 DagNode getArgAsNestedDag(unsigned index) const; 396 DagNode getSourcePattern() const; 403 DagNode getResultPattern(unsigned index) const; 416 Operator &getDialectOp(DagNode node); 436 void collectBoundSymbols(DagNode tree, SymbolInfoMap &infoMap,
|