Searched refs:MaybeDefLoc (Results 1 – 2 of 2) sorted by relevance
1905 auto MaybeDefLoc = getLocForWrite(DefInst); in eliminateRedundantStoresOfExistingValues() local1906 if (!MaybeDefLoc || !isRemovable(DefInst)) in eliminateRedundantStoresOfExistingValues()1930 auto OR = isOverwrite(UpperInst, DefInst, UpperLoc, *MaybeDefLoc, in eliminateRedundantStoresOfExistingValues()1940 if (!IsRedundantStore() || isReadClobber(*MaybeDefLoc, DefInst)) in eliminateRedundantStoresOfExistingValues()
609 auto MaybeDefLoc = indexToLSPLocation(Sym.Definition, MainFilePath); in locateSymbolTextually() local610 if (!MaybeDefLoc) { in locateSymbolTextually()611 log("locateSymbolNamedTextuallyAt: {0}", MaybeDefLoc.takeError()); in locateSymbolTextually()614 Located.PreferredDeclaration = *MaybeDefLoc; in locateSymbolTextually()615 Located.Definition = *MaybeDefLoc; in locateSymbolTextually()