Lines Matching refs:SymbolRefAttr
45 SmallVectorImpl<SymbolRefAttr> &results) { in collectValidReferencesFor()
70 results.push_back(SymbolRefAttr::get(*symbolTableName, nestedRefs, ctx)); in collectValidReferencesFor()
292 SymbolRefAttr symbol) { in lookupSymbolIn()
302 Operation *symbolTableOp, SymbolRefAttr symbol, in lookupSymbolInImpl()
335 SymbolTable::lookupSymbolIn(Operation *symbolTableOp, SymbolRefAttr symbol, in lookupSymbolIn()
352 SymbolRefAttr symbol) { in lookupNearestSymbolFrom()
469 if (auto symbolRef = attr.dyn_cast<SymbolRefAttr>()) in walkSymbolRefs()
569 SymbolRefAttr symbol;
594 return {{SymbolRefAttr::get(symName, symbol->getContext()), limit}}; in collectSymbolScopes()
611 SmallVector<SymbolRefAttr, 2> references; in collectSymbolScopes()
650 return {{SymbolRefAttr::get(symbol, limit->getContext()), limit}}; in collectSymbolScopes()
655 static bool isReferencePrefixOf(SymbolRefAttr subRef, SymbolRefAttr ref) { in isReferencePrefixOf()
781 ArrayRef<std::pair<SmallVector<int, 1>, SymbolRefAttr>> accesses, in rebuildAttrAfterRAUW()
824 static SymbolRefAttr generateNewRefAttr(SymbolRefAttr oldAttr, in generateNewRefAttr()
830 return SymbolRefAttr::get(oldAttr.getRootReference(), nestedRefs, in generateNewRefAttr()
846 SmallVector<std::pair<SmallVector<int, 1>, SymbolRefAttr>, 1> accessChains; in replaceAllSymbolUsesImpl()
860 SymbolRefAttr newAttr = generateNewRefAttr(scope.symbol, newLeafAttr); in replaceAllSymbolUsesImpl()
863 SymbolRefAttr useRef = symbolUse.getSymbolRef(); in replaceAllSymbolUsesImpl()
870 SymbolRefAttr replacementRef = newAttr; in replaceAllSymbolUsesImpl()
874 SymbolRefAttr::get(newSymbol, useRef.getNestedReferences(), ctx); in replaceAllSymbolUsesImpl()
880 SymbolRefAttr::get(useRef.getRootReference(), nestedRefs, ctx); in replaceAllSymbolUsesImpl()
948 SymbolRefAttr name) { in lookupSymbolIn()
959 SymbolRefAttr name, in lookupSymbolIn()
978 SymbolRefAttr symbol) { in lookupNearestSymbolFrom()