paulkirth added a comment. Actually if we add if (!isFunctionInPrintList(MF.getName())) return false; we can filter by name Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135488/new/ https://reviews.llvm.org/D135488