[llvm] [PassBuilder] Table-drive pass name printing (PR #202656)
Wael Yehia via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 11 08:11:42 PDT 2026
================
@@ -2796,92 +2796,155 @@ PassBuilder::parseRegAllocFilter(StringRef FilterName) {
return std::nullopt;
}
-static void printPassName(StringRef PassName, raw_ostream &OS) {
- OS << " " << PassName << "\n";
+struct PassNameWithParams {
+ StringLiteral Name;
+ StringLiteral Params;
+};
----------------
w2yehia wrote:
I guess you're following llvm's coding standards about [anonymous namespaces](https://llvm.org/docs/CodingStandards.html#restrict-visibility)
https://github.com/llvm/llvm-project/pull/202656
More information about the llvm-commits
mailing list