Lines Matching refs:llvm
1 //===--- llvm-as.cpp - The low-level LLVM assembler -----------------------===//
11 // llvm-as --help - Output information about command line switches
12 // llvm-as [options] - Read LLVM asm from stdin, write bitcode to stdout
13 // llvm-as [options] x.ll - Read LLVM asm from the x.ll file, write bitcode
18 #include "llvm/IR/LLVMContext.h"
19 #include "llvm/IR/Verifier.h"
20 #include "llvm/AsmParser/Parser.h"
21 #include "llvm/Bitcode/ReaderWriter.h"
22 #include "llvm/IR/Module.h"
23 #include "llvm/Support/CommandLine.h"
24 #include "llvm/Support/FileSystem.h"
25 #include "llvm/Support/ManagedStatic.h"
26 #include "llvm/Support/PrettyStackTrace.h"
27 #include "llvm/Support/Signals.h"
28 #include "llvm/Support/SourceMgr.h"
29 #include "llvm/Support/SystemUtils.h"
30 #include "llvm/Support/ToolOutputFile.h"
37 using namespace llvm;
40 InputFilename(cl::Positional, cl::desc("<input .llvm file>"), cl::init("-"));
92 (new tool_output_file(OutputFilename.c_str(), EC, llvm::sys::fs::F_None));
111 llvm::WriteBitcodeToFile(M, Out->os());
126 cl::ParseCommandLineOptions(argc, argv, "llvm .ll -> .bc assembler\n");