Searched refs:symbolTableOp (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/mlir/lib/IR/ |
D | SymbolTable.cpp | 53 Operation *symbolTableOp = symbol->getParentOp(); in collectValidReferencesFor() local 54 if (within == symbolTableOp) in collectValidReferencesFor() 63 if (!symbolTableOp->hasTrait<OpTrait::SymbolTable>()) in collectValidReferencesFor() 67 getNameIfSymbol(symbolTableOp, symbolNameId); in collectValidReferencesFor() 72 symbolTableOp = symbolTableOp->getParentOp(); in collectValidReferencesFor() 73 if (symbolTableOp == within) in collectValidReferencesFor() 110 SymbolTable::SymbolTable(Operation *symbolTableOp) in SymbolTable() argument 111 : symbolTableOp(symbolTableOp) { in SymbolTable() 112 assert(symbolTableOp->hasTrait<OpTrait::SymbolTable>() && in SymbolTable() 114 assert(symbolTableOp->getNumRegions() == 1 && in SymbolTable() [all …]
|
/external/llvm-project/mlir/lib/Transforms/ |
D | SymbolDCE.cpp | 26 LogicalResult computeLiveness(Operation *symbolTableOp, 34 Operation *symbolTableOp = getOperation(); in runOnOperation() local 37 if (!symbolTableOp->hasTrait<OpTrait::SymbolTable>()) { in runOnOperation() 38 symbolTableOp->emitOpError() in runOnOperation() 47 SymbolOpInterface symbol = dyn_cast<SymbolOpInterface>(symbolTableOp); in runOnOperation() 48 if (symbolTableOp->getParentOp() && symbol) in runOnOperation() 54 if (failed(computeLiveness(symbolTableOp, symbolTable, symbolTableIsHidden, in runOnOperation() 60 symbolTableOp->walk([&](Operation *nestedSymbolTable) { in runOnOperation() 76 LogicalResult SymbolDCE::computeLiveness(Operation *symbolTableOp, in computeLiveness() argument 85 for (auto &block : symbolTableOp->getRegion(0)) { in computeLiveness()
|
D | Inliner.cpp | 43 Operation *symbolTableOp = op->getParentOp(); in walkReferencedSymbolNodes() local 51 auto *symbolOp = symbolTable.lookupNearestSymbolFrom(symbolTableOp, in walkReferencedSymbolNodes() 131 auto walkFn = [&](Operation *symbolTableOp, bool allUsesVisible) { in CGUseList() argument 132 for (Operation &op : symbolTableOp->getRegion(0).getOps()) { in CGUseList()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | SymbolTable.h | 27 SymbolTable(Operation *symbolTableOp); 48 Operation *getOp() const { return symbolTableOp; } in getOp() 204 Operation *symbolTableOp; 225 Operation *lookupSymbolIn(Operation *symbolTableOp, StringRef symbol); 226 Operation *lookupSymbolIn(Operation *symbolTableOp, SymbolRefAttr name); 228 T lookupSymbolIn(Operation *symbolTableOp, NameT &&name) const { in lookupSymbolIn() argument 230 lookupSymbolIn(symbolTableOp, std::forward<NameT>(name))); in lookupSymbolIn() 236 LogicalResult lookupSymbolIn(Operation *symbolTableOp, SymbolRefAttr name,
|