Lines Matching defs:Banner
24 PrintModulePass::PrintModulePass(raw_ostream &OS, const std::string &Banner,
26 : OS(OS), Banner(Banner),
31 if (!Banner.empty())
32 OS << Banner << "\n";
39 if (!BannerPrinted && !Banner.empty()) {
40 OS << Banner << "\n";
51 PrintFunctionPass::PrintFunctionPass(raw_ostream &OS, const std::string &Banner)
52 : OS(OS), Banner(Banner) {}
58 OS << Banner << " (function: " << F.getName() << ")\n" << *F.getParent();
60 OS << Banner << '\n' << static_cast<Value &>(F);
73 PrintModulePassWrapper(raw_ostream &OS, const std::string &Banner,
75 : ModulePass(ID), P(OS, Banner, ShouldPreserveUseListOrder) {}
96 PrintFunctionPassWrapper(raw_ostream &OS, const std::string &Banner)
97 : FunctionPass(ID), P(OS, Banner) {}
123 const std::string &Banner,
125 return new PrintModulePassWrapper(OS, Banner, ShouldPreserveUseListOrder);
129 const std::string &Banner) {
130 return new PrintFunctionPassWrapper(OS, Banner);