forked from MacRuby/MacRuby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathllvm.h
More file actions
30 lines (25 loc) · 724 Bytes
/
llvm.h
File metadata and controls
30 lines (25 loc) · 724 Bytes
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
#ifndef __MR_LLVM_H_
#define __MR_LLVM_H_
#if MACRUBY_STATIC
# include <string>
# include <vector>
# include <map>
#else
// This file must be included at the very beginning of every C++ file in the
// project, due to type collisions between LLVM and the MRI C API.
#include <llvm/Module.h>
#include <llvm/DerivedTypes.h>
#include <llvm/Constants.h>
#include <llvm/CallingConv.h>
#include <llvm/Instructions.h>
#include <llvm/Intrinsics.h>
#include <llvm/Analysis/DebugInfo.h>
#if !defined(LLVM_TOT)
# include <llvm/Analysis/DIBuilder.h>
#endif
#include <llvm/ExecutionEngine/JIT.h>
#include <llvm/PassManager.h>
#include <llvm/Target/TargetData.h>
using namespace llvm;
#endif // !MACRUBY_STATIC
#endif // __MR_LLVM_H_