Home
last modified time | relevance | path

Searched refs:symbolInfoMap (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/lib/TableGen/
DPattern.cpp372 if (symbolInfoMap.count(key)) { in bindOpArgument()
380 if (symbolInfoMap.find(key)->second.kind != SymbolInfo::Kind::Operand) { in bindOpArgument()
385 symbolInfoMap.emplace(key, symInfo); in bindOpArgument()
391 auto inserted = symbolInfoMap.emplace(name, SymbolInfo::getResult(&op)); in bindOpResult()
393 return symbolInfoMap.count(inserted->first) == 1; in bindOpResult()
397 auto inserted = symbolInfoMap.emplace(symbol.str(), SymbolInfo::getValue()); in bindValue()
398 return symbolInfoMap.count(inserted->first) == 1; in bindValue()
402 auto inserted = symbolInfoMap.emplace(symbol.str(), SymbolInfo::getAttr()); in bindAttr()
403 return symbolInfoMap.count(inserted->first) == 1; in bindAttr()
407 return find(symbol) != symbolInfoMap.end(); in contains()
[all …]
/external/llvm-project/mlir/tools/mlir-tblgen/
DRewriterGen.cpp197 SymbolInfoMap symbolInfoMap; member in __anon08e8fbd40111::PatternEmitter
215 symbolInfoMap(pat->getLoc()), nextValueId(0), os(os) { in PatternEmitter()
442 auto res = symbolInfoMap.findBoundSymbol(name, op, argIndex); in emitOperandMatch()
535 symbolInfoMap.getValueAndRangeUse(entities.front())); in emitMatchLogic()
553 names.push_back(symbolInfoMap.getValueAndRangeUse(entities[i])); in emitMatchLogic()
556 self = symbolInfoMap.getValueAndRangeUse(self); in emitMatchLogic()
573 for (auto symbolInfoIt = symbolInfoMap.begin(); in emitMatchLogic()
574 symbolInfoIt != symbolInfoMap.end();) { in emitMatchLogic()
575 auto range = symbolInfoMap.getRangeOfEqualElements(symbolInfoIt->first); in emitMatchLogic()
656 pattern.collectSourcePatternBoundSymbols(symbolInfoMap); in emit()
[all …]
/external/llvm-project/mlir/include/mlir/TableGen/
DPattern.h305 iterator begin() { return symbolInfoMap.begin(); } in begin()
306 iterator end() { return symbolInfoMap.end(); } in end()
310 const_iterator begin() const { return symbolInfoMap.begin(); } in begin()
311 const_iterator end() const { return symbolInfoMap.end(); } in end()
380 BaseT symbolInfoMap;