llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
get_bitcode.h
1 // This file if part of the llir-opt project.
2 // Licensing information can be found in the LICENSE file.
3 // (C) 2018 Nandor Licker. All rights reserved.
4 
5 #pragma once
6 
7 #include <llvm/TableGen/Record.h>
8 
9 
10 
15 public:
16  GetBitcodeWriter(llvm::RecordKeeper &records) : records_(records) {}
17 
18  void run(llvm::raw_ostream &OS);
19 
20 private:
21  void GetReader(llvm::raw_ostream &OS);
22  void GetWriter(llvm::raw_ostream &OS);
23 
24 private:
25  llvm::RecordKeeper &records_;
26 };
GetBitcodeWriter
Definition: get_bitcode.h:14