Lines Matching refs:llvm

16 #include "llvm/Support/FileSystem.h"
17 #include "llvm/Support/MemoryBuffer.h"
18 #include "llvm/Support/Signals.h"
24 static llvm::cl::opt<bool>
26 llvm::cl::desc("Just check for issues that need to be handled manually"));
28 //static llvm::cl::opt<bool>
30 //llvm::cl::desc("Test the result of transformations by parsing it in ARC mode"));
32 static llvm::cl::opt<bool>
34 llvm::cl::desc("Print the source transformations"));
36 static llvm::cl::opt<bool>
37 VerifyDiags("verify",llvm::cl::desc("Verify emitted diagnostics and warnings"));
39 static llvm::cl::opt<bool>
40 VerboseOpt("v", llvm::cl::desc("Enable verbose output"));
42 static llvm::cl::opt<bool>
44 llvm::cl::desc("Read pairs of file mappings (typically the output of "
48 static llvm::cl::opt<std::string>
50 llvm::cl::desc("Pairs of file mappings (typically the output of "
53 static llvm::cl::list<std::string>
54 ResultFiles(llvm::cl::Positional, llvm::cl::desc("<filename>..."));
56 static llvm::cl::extrahelp extraHelp(
68 return llvm::sys::fs::getMainExecutable(Argv0, MainAddr);
110 new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts);
126 llvm::errs() << "error: no input files\n";
154 new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts);
165 llvm::errs() << "error: no input files\n";
181 transformPrinter.reset(new PrintTransforms(llvm::outs()));
189 llvm::errs() << "\n##### FINAL RESULT #####\n";
191 llvm::errs() << "\n##### OUTPUT AFTER "<< i+1 <<". TRANSFORMATION #####\n";
192 printResult(migration.getRemapper(), llvm::errs());
193 llvm::errs() << "\n##########################\n\n";
198 printResult(migration.getRemapper(), llvm::outs());
206 using namespace llvm;
220 using namespace llvm;
312 OS << llvm::sys::path::filename(PL.getFilename());
324 OS << llvm::sys::path::filename(PL.getFilename());
344 llvm::sys::PrintStackTraceOnErrorSignal();
354 llvm::cl::ParseCommandLineOptions(optargc, argv, "arcmt-test");
358 llvm::cl::PrintHelpMessage();
365 llvm::cl::PrintHelpMessage();