9 #ifndef LLVM_CLANG_CODEGEN_BACKENDUTIL_H 10 #define LLVM_CLANG_CODEGEN_BACKENDUTIL_H 13 #include "llvm/IR/ModuleSummaryIndex.h" 18 template <
typename T>
class Expected;
20 class MemoryBufferRef;
24 class DiagnosticsEngine;
25 class HeaderSearchOptions;
42 const llvm::DataLayout &TDesc, llvm::Module *M,
44 std::unique_ptr<raw_pwrite_stream> OS);
47 llvm::MemoryBufferRef Buf);
Emit human-readable LLVM assembly.
Specialize PointerLikeTypeTraits to allow LazyGenerationalUpdatePtr to be placed into a PointerUnion...
Run CodeGen, but don't emit anything.
Don't emit anything (benchmarking mode)
Options for controlling the target.
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
Concrete class used by the front-end to report problems and issues.
llvm::BitcodeModule * FindThinLTOModule(llvm::MutableArrayRef< llvm::BitcodeModule > BMs)
Emit native object files.
Emit native assembly files.
void EmbedBitcode(llvm::Module *M, const CodeGenOptions &CGOpts, llvm::MemoryBufferRef Buf)
Dataflow Directional Tag Classes.
void EmitBackendOutput(DiagnosticsEngine &Diags, const HeaderSearchOptions &, const CodeGenOptions &CGOpts, const TargetOptions &TOpts, const LangOptions &LOpts, const llvm::DataLayout &TDesc, llvm::Module *M, BackendAction Action, std::unique_ptr< raw_pwrite_stream > OS)
CodeGenOptions - Track various options which control how the code is optimized and passed to the back...