Home | History | Annotate | Download | only in opt

Lines Matching defs:Out

165   raw_ostream &Out;
168 CallGraphSCCPassPrinter(const PassInfo *PI, raw_ostream &out) :
169 CallGraphSCCPass(ID), PassToPrint(PI), Out(out) {
176 Out << "Printing analysis '" << PassToPrint->getPassName() << "':\n";
182 getAnalysisID<Pass>(PassToPrint->getTypeInfo()).print(Out,
201 raw_ostream &Out;
204 ModulePassPrinter(const PassInfo *PI, raw_ostream &out)
205 : ModulePass(ID), PassToPrint(PI), Out(out) {
212 Out << "Printing analysis '" << PassToPrint->getPassName() << "':\n";
215 getAnalysisID<Pass>(PassToPrint->getTypeInfo()).print(Out, &M);
230 raw_ostream &Out;
234 FunctionPassPrinter(const PassInfo *PI, raw_ostream &out)
235 : FunctionPass(ID), PassToPrint(PI), Out(out) {
242 Out << "Printing analysis '" << PassToPrint->getPassName()
246 getAnalysisID<Pass>(PassToPrint->getTypeInfo()).print(Out,
264 raw_ostream &Out;
267 LoopPassPrinter(const PassInfo *PI, raw_ostream &out) :
268 LoopPass(ID), PassToPrint(PI), Out(out) {
276 Out << "Printing analysis '" << PassToPrint->getPassName() << "':\n";
279 getAnalysisID<Pass>(PassToPrint->getTypeInfo()).print(Out,
297 raw_ostream &Out;
300 RegionPassPrinter(const PassInfo *PI, raw_ostream &out) : RegionPass(ID),
301 PassToPrint(PI), Out(out) {
308 Out << "Printing analysis '" << PassToPrint->getPassName() << "' for "
313 getAnalysisID<Pass>(PassToPrint->getTypeInfo()).print(Out,
330 raw_ostream &Out;
334 BasicBlockPassPrinter(const PassInfo *PI, raw_ostream &out)
335 : BasicBlockPass(ID), PassToPrint(PI), Out(out) {
342 Out << "Printing Analysis info for BasicBlock '" << BB.getName()
346 getAnalysisID<Pass>(PassToPrint->getTypeInfo()).print(Out,
362 raw_ostream &Out;
365 BreakpointPrinter(raw_ostream &out)
366 : ModulePass(ID), Out(out) {
395 Out << Name << "\n";
603 // Figure out what stream we are supposed to write to...
604 OwningPtr<tool_output_file> Out;
615 Out.reset(new tool_output_file(OutputFilename.c_str(), ErrorInfo,
623 // If the output is set to be emitted to standard out, and standard out is a
624 // console, print out a warning message and refuse to do it. We don't
627 if (CheckBitcodeOutputToConsole(Out->os(), !Quiet))
673 if (!Out) {
678 Out.reset(new tool_output_file(OutputFilename.c_str(), ErrorInfo,
685 Passes.add(new BreakpointPrinter(Out->os()));
749 Passes.add(new BasicBlockPassPrinter(PassInf, Out->os()));
752 Passes.add(new RegionPassPrinter(PassInf, Out->os()));
755 Passes.add(new LoopPassPrinter(PassInf, Out->os()));
758 Passes.add(new FunctionPassPrinter(PassInf, Out->os()));
761 Passes.add(new CallGraphSCCPassPrinter(PassInf, Out->os()));
764 Passes.add(new ModulePassPrinter(PassInf, Out->os()));
814 Passes.add(createPrintModulePass(&Out->os()));
816 Passes.add(createBitcodeWriterPass(Out->os()));
827 Out->keep();