Home
last modified time | relevance | path

Searched refs:DagNode (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DPattern.h140 class DagNode {
168 DagNode getArgAsNestedDag(unsigned index) const;
208 friend llvm::DenseMapInfo<DagNode>;
460 DagNode getSourcePattern() const;
467 DagNode getResultPattern(unsigned index) const;
480 Operator &getDialectOp(DagNode node);
517 struct DenseMapInfo<mlir::tblgen::DagNode> {
518 static mlir::tblgen::DagNode getEmptyKey() {
519 return mlir::tblgen::DagNode(
523 return mlir::tblgen::DagNode(
[all …]
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DRewriterGen.cpp111 void emitEitherOperandMatch(DagNode tree, DagNode eitherArgTree,
158 DagNode location;
161 DagNode returnType;
194 void supplyValuesForOpArgs(DagNode node,
226 int getNodeValueCount(DagNode node);
264 bool useStaticMatcher(DagNode node) { in useStaticMatcher()
318 DenseMap<DagNode, unsigned> refStats;
689 void PatternEmitter::emitEitherOperandMatch(DagNode tree, DagNode eitherArgTree, in emitEitherOperandMatch()
1333 TrailingDirectives tail = {DagNode(nullptr), DagNode(nullptr), 0}; in getTrailingDirectives()
1699 DagNode node = dagInfo.first; in populateStaticMatchers()
[all …]
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DPattern.cpp110 bool DagNode::isNativeCodeCall() const { in isNativeCodeCall()
116 bool DagNode::isOperation() const { in isOperation()
146 int DagNode::getNumOps() const { in getNumOps()
163 DagNode DagNode::getArgAsNestedDag(unsigned index) const { in getArgAsNestedDag()
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()
609 DagNode Pattern::getSourcePattern() const { in getSourcePattern()
[all …]
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Drewriter-static-matcher.td38 // Test static matcher for duplicate DagNode