summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/llvmtranslate/fwd.hh
blob: 1eef45e611b6ff8670b45f27a4495fc20847968f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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