#ifndef LP_BLD_LOGIC_H
#define LP_BLD_LOGIC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
#include "gallivm/lp_bld.h"
LLVMValueRef a,
LLVMValueRef b);
+LLVMValueRef
+lp_build_cmp_ordered(struct lp_build_context *bld,
+ unsigned func,
+ LLVMValueRef a,
+ LLVMValueRef b);
+
LLVMValueRef
lp_build_select_bitwise(struct lp_build_context *bld,
LLVMValueRef mask,
lp_build_select_aos(struct lp_build_context *bld,
unsigned mask,
LLVMValueRef a,
- LLVMValueRef b);
+ LLVMValueRef b,
+ unsigned num_channels);
+
+
+LLVMValueRef
+lp_build_any_true_range(struct lp_build_context *bld,
+ unsigned real_length,
+ LLVMValueRef val);
+#ifdef __cplusplus
+}
+#endif
#endif /* !LP_BLD_LOGIC_H */