mini-llvm 0.1.0
Loading...
Searching...
No Matches
RISCVMIRGen.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2
3#pragma once
4
5#include <memory>
6
10
11namespace mini_llvm {
12
14public:
15 enum { kSave, kRestore };
16
18
20
22 RISCVMIRGen &operator=(RISCVMIRGen &&) noexcept;
23
24 void emit();
25
26private:
27 class Impl;
28
29 std::unique_ptr<Impl> impl_;
30};
31
32} // namespace mini_llvm
#define MINI_LLVM_EXPORT
Definition Compiler.h:17
RISCVMIRGen(RISCVMIRGen &&) noexcept
RISCVMIRGen(const ir::Module *IM, mir::Module *MM)
@ kSave
Definition RISCVMIRGen.h:15
@ kRestore
Definition RISCVMIRGen.h:15
Definition Module.h:22
Definition Module.h:22
Definition GraphColoringAllocator.h:13