Home
last modified time | relevance | path

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

/external/llvm-project/mlir/test/lib/IR/
DTestSymbolUses.cpp23 Optional<SymbolTable::UseRange> symbolUses = in operateOnSymbol() local
27 if (!symbolUses) { in operateOnSymbol()
33 if (unsigned numUses = llvm::size(*symbolUses)) in operateOnSymbol()
48 symbolUses = SymbolTable::getSymbolUses(symbol, &module.getBodyRegion()); in operateOnSymbol()
49 assert(symbolUses.hasValue() && "expected no unknown operations"); in operateOnSymbol()
50 for (SymbolTable::SymbolUse symbolUse : *symbolUses) { in operateOnSymbol()
59 symbol->emitRemark() << "symbol has " << llvm::size(*symbolUses) << " uses"; in operateOnSymbol()
/external/llvm-project/mlir/lib/Transforms/
DNormalizeMemRefs.cpp114 Optional<SymbolTable::UseRange> symbolUses = funcOp.getSymbolUses(moduleOp); in setCalleesAndCallersNonNormalizable() local
115 for (SymbolTable::SymbolUse symbolUse : *symbolUses) { in setCalleesAndCallersNonNormalizable()
246 Optional<SymbolTable::UseRange> symbolUses = funcOp.getSymbolUses(moduleOp); in updateFunctionSignature() local
247 for (SymbolTable::SymbolUse symbolUse : *symbolUses) { in updateFunctionSignature()
DInliner.cpp40 auto symbolUses = SymbolTable::getSymbolUses(op); in walkReferencedSymbolNodes() local
41 assert(symbolUses && "expected uses to be valid"); in walkReferencedSymbolNodes()
44 for (const SymbolTable::SymbolUse &use : *symbolUses) { in walkReferencedSymbolNodes()
/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DKernelOutlining.cpp295 if (Optional<SymbolTable::UseRange> symbolUses = in createKernelModule() local
297 for (SymbolTable::SymbolUse symbolUse : *symbolUses) { in createKernelModule()