retdec
writer_bc.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_BIN2LLVMIR_OPTIMIZATIONS_WRITER_BC_WRITER_BC_H
8 #define RETDEC_BIN2LLVMIR_OPTIMIZATIONS_WRITER_BC_WRITER_BC_H
9 
10 #include <llvm/IR/Module.h>
11 #include <llvm/Pass.h>
12 
13 namespace retdec {
14 namespace bin2llvmir {
15 
16 class BitcodeWriter : public llvm::ModulePass
17 {
18  public:
19  static char ID;
20  BitcodeWriter();
21  virtual bool runOnModule(llvm::Module& M) override;
22 };
23 
24 } // namespace bin2llvmir
25 } // namespace retdec
26 
27 #endif
Definition: writer_bc.h:17
virtual bool runOnModule(llvm::Module &M) override
Definition: writer_bc.cpp:59
BitcodeWriter()
Definition: writer_bc.cpp:28
static char ID
Definition: writer_bc.h:19
The frontend-end part of the decompiler.
Definition: archive_wrapper.h:19