13 #ifndef LLVM_CLANG_CODEGEN_MODULEBUILDER_H 14 #define LLVM_CLANG_CODEGEN_MODULEBUILDER_H 27 class CoverageSourceInfo;
29 class DiagnosticsEngine;
31 class HeaderSearchOptions;
33 class PreprocessorOptions;
44 virtual void anchor();
60 llvm::Module *GetModule();
66 llvm::Module *ReleaseModule();
75 const Decl *GetDeclForMangledName(llvm::StringRef MangledName);
85 llvm::Constant *GetAddrOfGlobal(
GlobalDecl decl,
bool isForDefinition);
89 llvm::Module* StartModule(llvm::StringRef ModuleName, llvm::LLVMContext &C);
96 llvm::StringRef ModuleName,
100 llvm::LLVMContext& C,
ASTConsumer - This is an abstract interface that should be implemented by clients that read ASTs...
Specialize PointerLikeTypeTraits to allow LazyGenerationalUpdatePtr to be placed into a PointerUnion...
Decl - This represents one declaration (or definition), e.g.
Stores additional source code information like skipped ranges which is required by the coverage mappi...
The l-value was an access to a declared entity or something equivalently strong, like the address of ...
PreprocessorOptions - This class is used for passing the various options used in preprocessor initial...
This class gathers all debug information during compilation and is responsible for emitting to llvm g...
Concrete class used by the front-end to report problems and issues.
CodeGenerator * CreateLLVMCodeGen(DiagnosticsEngine &Diags, llvm::StringRef ModuleName, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PreprocessorOpts, const CodeGenOptions &CGO, llvm::LLVMContext &C, CoverageSourceInfo *CoverageInfo=nullptr)
CreateLLVMCodeGen - Create a CodeGenerator instance.
The primary public interface to the Clang code generator.
const internal::VariadicAllOfMatcher< Decl > decl
Matches declarations.
GlobalDecl - represents a global declaration.
This class organizes the cross-function state that is used while generating LLVM code.
Dataflow Directional Tag Classes.
CodeGenOptions - Track various options which control how the code is optimized and passed to the back...