hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
ctype.H
Go to the documentation of this file.
1 
2 #ifndef HOBBES_EVAL_TYPE_HPP_INCLUDED
3 #define HOBBES_EVAL_TYPE_HPP_INCLUDED
4 
5 #include <hobbes/lang/type.H>
6 #include <hobbes/util/llvm.H>
7 #include <vector>
8 
9 namespace hobbes {
10 
11 llvm::Type* llvmVarArrType(llvm::Type* elemty, int size = 1); // 'size' is a hint for array size but not necessarily meaningful
12 
13 llvm::Type* toLLVM(const MonoTypePtr&, bool asArg = false);
14 Types toLLVM(const MonoTypes&, bool asArg = false);
15 
16 }
17 
18 #endif
Definition: boot.H:7
MonoType::ptr MonoTypePtr
Definition: type.H:71
llvm::Value * toLLVM(jitcc *, const ExprPtr &exp)
Definition: cexpr.C:617
std::vector< MonoTypePtr > MonoTypes
Definition: type.H:72
llvm::Type * llvmVarArrType(llvm::Type *elemty, int size=1)
Definition: ctype.C:37
std::vector< llvm::Type * > Types
Definition: llvm.H:53