This repository has been archived by the owner on Nov 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuilder.h
34 lines (25 loc) · 2 KB
/
builder.h
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
32
33
#ifndef PHP_ZEPHIR_RUNTIME_BUILDER_H
#define PHP_ZEPHIR_RUNTIME_BUILDER_H 1
void zephir_build_memory_grow_stack(zephir_context *context);
void zephir_build_memory_alloc(zephir_context *context, LLVMValueRef value_ref);
void zephir_build_memory_nalloc(zephir_context *context, LLVMValueRef value_ref);
void zephir_build_memory_restore_stack(zephir_context *context);
void zephir_build_emalloc(zephir_context *context, LLVMTypeRef type, size_t size, LLVMValueRef value_ref);
void zephir_build_zval_set_refcount(zephir_context *context, LLVMValueRef symbol_ref, LLVMValueRef value);
void zephir_build_zval_unset_isref(zephir_context *context, LLVMValueRef symbol_ref);
void zephir_build_zval_dtor(zephir_context *context, LLVMValueRef value_ref);
void zephir_build_zval_ptr_dtor(zephir_context *context, LLVMValueRef value_ref);
void zephir_build_copy_on_write(zephir_context *context, LLVMValueRef symbol_ref, LLVMValueRef value_ref);
int zephir_initialize_zval_struct(zephir_context *context);
LLVMValueRef zephir_build_zend_is_true(zephir_context *context, LLVMValueRef value_ref);
void zephir_build_return_long(zephir_context *context, LLVMValueRef value_ref, zval *location);
void zephir_build_return_double(zephir_context *context, LLVMValueRef value_ref, zval *location);
void zephir_build_return_bool(zephir_context *context, LLVMValueRef value_ref, zval *location);
void zephir_build_zval_null(zephir_context *context, LLVMValueRef symbol_ref);
void zephir_build_zval_long(zephir_context *context, LLVMValueRef symbol_ref, LLVMValueRef value_ref);
void zephir_build_zval_double(zephir_context *context, LLVMValueRef symbol_ref, LLVMValueRef value_ref);
void zephir_build_zval_bool(zephir_context *context, LLVMValueRef symbol_ref, LLVMValueRef value_ref);
LLVMValueRef zephir_build_get_intval(zephir_context *context, LLVMValueRef symbol_ref);
LLVMValueRef zephir_build_get_boolval(zephir_context *context, LLVMValueRef symbol_ref);
LLVMValueRef zephir_build_get_doubleval(zephir_context *context, LLVMValueRef symbol_ref);
#endif