10 #ifndef LLVM_CLANG_CODEGEN_CODEGENACTION_H 11 #define LLVM_CLANG_CODEGEN_CODEGENACTION_H 22 class BackendConsumer;
32 std::unique_ptr<llvm::Module>
Module;
47 std::unique_ptr<llvm::Module> TheModule;
51 llvm::LLVMContext *VMContext;
54 std::unique_ptr<llvm::Module> loadModule(llvm::MemoryBufferRef MBRef);
60 CodeGenAction(
unsigned _Act, llvm::LLVMContext *_VMContext =
nullptr);
62 bool hasIRSupport()
const override;
65 StringRef InFile)
override;
67 void ExecuteAction()
override;
69 void EndSourceFileAction()
override;
76 std::unique_ptr<llvm::Module> takeModule();
79 llvm::LLVMContext *takeLLVMContext();
85 virtual void anchor();
91 virtual void anchor();
97 virtual void anchor();
103 virtual void anchor();
109 virtual void anchor();
115 virtual void anchor();
DominatorTree GraphTraits specialization so the DominatorTree can be iterable by generic graph iterat...
Describes a module or submodule.
BackendConsumer * BEConsumer
CompilerInstance - Helper class for managing a single instance of the Clang compiler.
Abstract base class to use for AST consumer-based frontend actions.
Dataflow Directional Tag Classes.
Defines the clang::FrontendAction interface and various convenience abstract classes (clang::ASTFront...