diff options
author | Samuel Pitoiset <[email protected]> | 2018-03-09 16:22:44 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-03-13 14:05:06 +0100 |
commit | bf6368297b5dba11d2d3dfbc4486ac98112f4a6d (patch) | |
tree | 58979e8e4d3983556006de61d8979fee3c1f3407 /src/amd/common/ac_llvm_build.h | |
parent | 370e356ebab4885fc19b2b1d1de2816b6cd4dfc8 (diff) |
ac/nir: move ac_build_alloca() to ac_llvm_build.c
As well as si_build_alloca_undef() and drop the si prefix.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.h')
-rw-r--r-- | src/amd/common/ac_llvm_build.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h index c080381d21c..2587c94315c 100644 --- a/src/amd/common/ac_llvm_build.h +++ b/src/amd/common/ac_llvm_build.h @@ -390,6 +390,11 @@ void ac_build_if(struct ac_llvm_context *ctx, LLVMValueRef value, void ac_build_uif(struct ac_llvm_context *ctx, LLVMValueRef value, int lable_id); +LLVMValueRef ac_build_alloca(struct ac_llvm_context *ac, LLVMTypeRef type, + const char *name); +LLVMValueRef ac_build_alloca_undef(struct ac_llvm_context *ac, LLVMTypeRef type, + const char *name); + #ifdef __cplusplus } #endif |