diff options
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_struct.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_struct.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_struct.h b/src/gallium/auxiliary/gallivm/lp_bld_struct.h index f8b6dab4bf..eb87a8eee9 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_struct.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_struct.h @@ -96,4 +96,21 @@ lp_build_array_set(LLVMBuilderRef builder, LLVMValueRef index, LLVMValueRef value); +/** + * Get the value of an array element. + */ +LLVMValueRef +lp_build_pointer_get(LLVMBuilderRef builder, + LLVMValueRef ptr, + LLVMValueRef index); + +/** + * Set the value of an array element. + */ +void +lp_build_pointer_set(LLVMBuilderRef builder, + LLVMValueRef ptr, + LLVMValueRef index, + LLVMValueRef value); + #endif /* !LP_BLD_STRUCT_H */ |