Add parallel-vectorize prototype.
Add llvm_cbuilder.
This commit is contained in:
commit
066480fbb8
6 changed files with 783 additions and 0 deletions
17
llvm_cbuilder/shortnames.py
Normal file
17
llvm_cbuilder/shortnames.py
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue