Lines Matching refs:gallivm
41 #include "gallivm/lp_bld.h"
42 #include "gallivm/lp_bld_init.h"
77 lp_build_undef(struct gallivm_state *gallivm, struct lp_type type);
81 lp_build_zero(struct gallivm_state *gallivm, struct lp_type type);
85 lp_build_one(struct gallivm_state *gallivm, struct lp_type type);
89 lp_build_const_elem(struct gallivm_state *gallivm, struct lp_type type,
93 lp_build_const_vec(struct gallivm_state *gallivm, struct lp_type type,
98 lp_build_const_int_vec(struct gallivm_state *gallivm,
103 lp_build_const_aos(struct gallivm_state *gallivm, struct lp_type type,
109 lp_build_const_mask_aos(struct gallivm_state *gallivm,
115 lp_build_const_mask_aos_swizzled(struct gallivm_state *gallivm,
122 lp_build_const_int32(struct gallivm_state *gallivm, int i)
124 return LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), i, 0);
129 lp_build_const_float(struct gallivm_state *gallivm, float x)
131 return LLVMConstReal(LLVMFloatTypeInContext(gallivm->context), x);
137 lp_build_const_int_pointer(struct gallivm_state *gallivm, const void *ptr)
143 int_type = LLVMIntTypeInContext(gallivm->context, 8 * sizeof(void *));
145 v = LLVMBuildIntToPtr(gallivm->builder, v,
153 lp_build_const_string(struct gallivm_state *gallivm,
158 lp_build_const_func_pointer(struct gallivm_state *gallivm,