Add parallel-vectorize prototype.

Add llvm_cbuilder.
This commit is contained in:
Siu Kwan Lam 2012-08-01 19:02:58 -07:00
commit 066480fbb8
6 changed files with 783 additions and 0 deletions

View file

@ -0,0 +1,17 @@
from llvm.core import Type
void = Type.void()
char = Type.int(8)
short = Type.int(16)
int = Type.int(32)
int16 = short
int32 = int
int64 = Type.int(64)
float = Type.float()
double = Type.double()
# pointers
pointer = Type.pointer
void_p = pointer(char)