Home
last modified time | relevance | path

Searched refs:matchLoc (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DOpDefinitionsGen.cpp166 std::string::size_type scanLoc = 0, matchLoc = std::string::npos; in replaceAllSubstrs() local
167 while ((matchLoc = str.find(match, scanLoc)) != std::string::npos) { in replaceAllSubstrs()
168 str = str.replace(matchLoc, match.size(), substitute); in replaceAllSubstrs()
169 scanLoc = matchLoc + substitute.size(); in replaceAllSubstrs()
/llvm-project-15.0.7/mlir/lib/Rewrite/
H A DByteCode.cpp1896 Location matchLoc = rewriter.getFusedLoc(matchLocs); in executeRecordMatch() local
1899 << " * Location: " << matchLoc << "\n"); in executeRecordMatch()
1900 matches.emplace_back(matchLoc, patterns[patternIndex], benefit); in executeRecordMatch()