| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | SymbolTable.h | 116 static Operation *lookupSymbolIn(Operation *op, StringAttr symbol); 117 static Operation *lookupSymbolIn(Operation *op, StringRef symbol) { in lookupSymbolIn() function 118 return lookupSymbolIn(op, StringAttr::get(op->getContext(), symbol)); in lookupSymbolIn() 120 static Operation *lookupSymbolIn(Operation *op, SymbolRefAttr symbol); 124 static LogicalResult lookupSymbolIn(Operation *op, SymbolRefAttr symbol, 246 Operation *lookupSymbolIn(Operation *symbolTableOp, StringAttr symbol); 247 Operation *lookupSymbolIn(Operation *symbolTableOp, SymbolRefAttr name); 249 T lookupSymbolIn(Operation *symbolTableOp, NameT &&name) const { in lookupSymbolIn() function 251 lookupSymbolIn(symbolTableOp, std::forward<NameT>(name))); in lookupSymbolIn() 348 return mlir::SymbolTable::lookupSymbolIn(this->getOperation(), name); in lookupSymbol() [all …]
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | SymbolTable.cpp | 312 Operation *SymbolTable::lookupSymbolIn(Operation *symbolTableOp, in lookupSymbolIn() function in SymbolTable 327 Operation *SymbolTable::lookupSymbolIn(Operation *symbolTableOp, in lookupSymbolIn() function in SymbolTable 330 if (failed(lookupSymbolIn(symbolTableOp, symbol, resolvedSymbols))) in lookupSymbolIn() 374 return lookupSymbolIn(symbolTableOp, symbol); in lookupSymbolIn() 385 return symbolTableOp ? lookupSymbolIn(symbolTableOp, symbol) : nullptr; in lookupNearestSymbolFrom() 390 return symbolTableOp ? lookupSymbolIn(symbolTableOp, symbol) : nullptr; in lookupNearestSymbolFrom() 926 if (failed(lookupSymbolIn(symbolTableOp, name, symbols))) in lookupSymbolIn() 934 SymbolTableCollection::lookupSymbolIn(Operation *symbolTableOp, in lookupSymbolIn() function in SymbolTableCollection 938 return lookupSymbolIn(symbolTableOp, symbol); in lookupSymbolIn() 950 return symbolTableOp ? lookupSymbolIn(symbolTableOp, symbol) : nullptr; in lookupNearestSymbolFrom() [all …]
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Shape/ |
| H A D | TestShapeFunctions.cpp | 51 cast<shape::FuncOp>(SymbolTable::lookupSymbolIn(module, symbol)); in runOnOperation() 64 SymbolTable::lookupSymbolIn(module, attr.cast<SymbolRefAttr>())); in runOnOperation()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ComplexToLibm/ |
| H A D | ComplexToLibm.cpp | 77 SymbolTable::lookupSymbolIn(module, name)); in matchAndRewrite() 88 assert(isa<FunctionOpInterface>(SymbolTable::lookupSymbolIn(module, name))); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Linking/ModuleCombiner/ |
| H A D | ModuleCombiner.cpp | 42 if (!SymbolTable::lookupSymbolIn(module, possible)) in renameSymbol() 55 if (!SymbolTable::lookupSymbolIn(source, op.getName())) in updateSymbolAndAllUses()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/MathToLibm/ |
| H A D | MathToLibm.cpp | 122 SymbolTable::lookupSymbolIn(module, name)); in matchAndRewrite() 133 assert(isa<FunctionOpInterface>(SymbolTable::lookupSymbolIn(module, name))); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Transforms/ |
| H A D | SymbolDCE.cpp | 129 if (failed(symbolTable.lookupSymbolIn( in computeLiveness()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/ |
| H A D | UnifyAliasedResourcePass.cpp | 212 auto *varOp = SymbolTable::lookupSymbolIn(moduleOp, addressOp.variable()); in shouldUnify() 316 SymbolTable::lookupSymbolIn(moduleOp, addressOp.variable())); in matchAndRewrite() 335 SymbolTable::lookupSymbolIn(moduleOp, addressOp.variable())); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | AsmParserState.cpp | 75 if (failed(symbolTable.lookupSymbolIn( in resolveSymbolUses()
|
| /llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/ |
| H A D | DeadCodeAnalysis.cpp | 164 Operation *symbol = symbolTable.lookupSymbolIn(top, use.getSymbolRef()); in initializeSymbolCallables()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/ |
| H A D | Shape.cpp | 171 auto *symbol = SymbolTable::lookupSymbolIn(op, symbolRef); in verifyOperationAttribute() 191 SymbolTable::lookupSymbolIn(op, it.cast<SymbolRefAttr>())); in verifyOperationAttribute()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/ |
| H A D | LLVMDialect.cpp | 1736 mlir::SymbolTable::lookupSymbolIn(module, name)); in lookupSymbolInModule()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Affine/IR/ |
| H A D | AffineOps.cpp | 2665 SymbolTable::lookupSymbolIn(symbolTableOp, getGlobalOp.getNameAttr())); in fold()
|