diff options
author | Vadim Girlin <[email protected]> | 2012-05-15 18:48:16 +0400 |
---|---|---|
committer | Vadim Girlin <[email protected]> | 2012-05-15 18:48:16 +0400 |
commit | 12a2374da380a9a28cacf968c33b93ba320b0407 (patch) | |
tree | cff73cba5dc34b75fd1e31b3aa1f4a4f92744b44 /src/gallium/drivers/radeon/radeon_llvm.h | |
parent | 63a85952711415ab151a39d21c4a67da97f2734e (diff) |
radeon/llvm: use IntrNoMem property for intrinsics where possible
Signed-off-by: Vadim Girlin <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_llvm.h')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_llvm.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_llvm.h b/src/gallium/drivers/radeon/radeon_llvm.h index 4a706397fdd..7a32bb083b2 100644 --- a/src/gallium/drivers/radeon/radeon_llvm.h +++ b/src/gallium/drivers/radeon/radeon_llvm.h @@ -157,4 +157,20 @@ unsigned radeon_llvm_reg_index_soa(unsigned index, unsigned chan); void radeon_llvm_finalize_module(struct radeon_llvm_context * ctx); +LLVMValueRef +build_intrinsic(LLVMBuilderRef builder, + const char *name, + LLVMTypeRef ret_type, + LLVMValueRef *args, + unsigned num_args, + LLVMAttribute attr); + +void +build_tgsi_intrinsic_nomem( + const struct lp_build_tgsi_action * action, + struct lp_build_tgsi_context * bld_base, + struct lp_build_emit_data * emit_data); + + + #endif /* RADEON_LLVM_H */ |