diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
| commit | 967be9e750221ab2ab783f95df79bb26d290a45e (patch) | |
| tree | 6802900a5e975f9f68b169f0f503f040056d6952 /tiger-compiler/src/llvmtranslate/fwd.hh | |
Diffstat (limited to 'tiger-compiler/src/llvmtranslate/fwd.hh')
| -rw-r--r-- | tiger-compiler/src/llvmtranslate/fwd.hh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tiger-compiler/src/llvmtranslate/fwd.hh b/tiger-compiler/src/llvmtranslate/fwd.hh new file mode 100644 index 0000000..1eef45e --- /dev/null +++ b/tiger-compiler/src/llvmtranslate/fwd.hh @@ -0,0 +1,31 @@ +#pragma once + +#include <map> + +#include <ast/fwd.hh> +#include <misc/set.hh> +#include <type/fwd.hh> + +namespace llvm +{ + // From llvm/IR/Module.h. + class Module; + + // From llvm/IR/DerivedTypes.h + class StructType; + + // From llvm/IR/Type.h + class Type; + + // From llvm/IR/LLVMContext.h + class LLVMContext; + +} // namespace llvm + +namespace llvmtranslate +{ + using escaped_map_type = + std::map<const type::Function*, misc::set<const ast::VarDec*>>; + using frame_map_type = escaped_map_type; + +} // namespace llvmtranslate |
