Lines Matching refs:lc
48 LLVMContextRef lc = gallivm->context; in create_jit_texture_type() local
59 elem_types[LP_JIT_TEXTURE_LAST_LEVEL] = LLVMInt32TypeInContext(lc); in create_jit_texture_type()
60 elem_types[LP_JIT_TEXTURE_BASE] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in create_jit_texture_type()
64 LLVMArrayType(LLVMInt32TypeInContext(lc), LP_MAX_TEXTURE_LEVELS); in create_jit_texture_type()
66 texture_type = LLVMStructTypeInContext(lc, elem_types, in create_jit_texture_type()
110 LLVMContextRef lc = gallivm->context; in create_jit_sampler_type() local
116 elem_types[LP_JIT_SAMPLER_MAX_ANISO] = LLVMFloatTypeInContext(lc); in create_jit_sampler_type()
118 LLVMArrayType(LLVMFloatTypeInContext(lc), 4); in create_jit_sampler_type()
120 sampler_type = LLVMStructTypeInContext(lc, elem_types, in create_jit_sampler_type()
146 LLVMContextRef lc = gallivm->context; in create_jit_image_type() local
151 elem_types[LP_JIT_IMAGE_DEPTH] = LLVMInt32TypeInContext(lc); in create_jit_image_type()
152 elem_types[LP_JIT_IMAGE_BASE] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in create_jit_image_type()
156 elem_types[LP_JIT_IMAGE_SAMPLE_STRIDE] = LLVMInt32TypeInContext(lc); in create_jit_image_type()
158 image_type = LLVMStructTypeInContext(lc, elem_types, in create_jit_image_type()
191 LLVMContextRef lc = gallivm->context; in lp_jit_create_types() local
200 elem_types[LP_JIT_VIEWPORT_MAX_DEPTH] = LLVMFloatTypeInContext(lc); in lp_jit_create_types()
202 viewport_type = LLVMStructTypeInContext(lc, elem_types, in lp_jit_create_types()
225 LLVMArrayType(LLVMPointerType(LLVMFloatTypeInContext(lc), 0), LP_MAX_TGSI_CONST_BUFFERS); in lp_jit_create_types()
227 LLVMArrayType(LLVMInt32TypeInContext(lc), LP_MAX_TGSI_CONST_BUFFERS); in lp_jit_create_types()
234 elem_types[LP_JIT_CTX_ALPHA_REF] = LLVMFloatTypeInContext(lc); in lp_jit_create_types()
237 elem_types[LP_JIT_CTX_STENCIL_REF_BACK] = LLVMInt32TypeInContext(lc); in lp_jit_create_types()
238 elem_types[LP_JIT_CTX_U8_BLEND_COLOR] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in lp_jit_create_types()
239 elem_types[LP_JIT_CTX_F_BLEND_COLOR] = LLVMPointerType(LLVMFloatTypeInContext(lc), 0); in lp_jit_create_types()
241 elem_types[LP_JIT_CTX_ANISO_FILTER_TABLE] = LLVMPointerType(LLVMFloatTypeInContext(lc), 0); in lp_jit_create_types()
243 LLVMArrayType(LLVMPointerType(LLVMInt32TypeInContext(lc), 0), LP_MAX_TGSI_SHADER_BUFFERS); in lp_jit_create_types()
245 LLVMArrayType(LLVMInt32TypeInContext(lc), LP_MAX_TGSI_SHADER_BUFFERS); in lp_jit_create_types()
246 context_type = LLVMStructTypeInContext(lc, elem_types, in lp_jit_create_types()
307 elem_types[LP_JIT_THREAD_DATA_COUNTER] = LLVMInt64TypeInContext(lc); in lp_jit_create_types()
308 elem_types[LP_JIT_THREAD_DATA_INVOCATIONS] = LLVMInt64TypeInContext(lc); in lp_jit_create_types()
311 LLVMInt32TypeInContext(lc); in lp_jit_create_types()
313 thread_data_type = LLVMStructTypeInContext(lc, elem_types, in lp_jit_create_types()
330 ret_type = LLVMPointerType(LLVMVectorType(LLVMInt8TypeInContext(lc), 16), 0); in lp_jit_create_types()
332 arg_types[0] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in lp_jit_create_types()
351 elem_types[LP_JIT_LINEAR_CTX_CONSTANTS] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in lp_jit_create_types()
356 elem_types[LP_JIT_LINEAR_CTX_COLOR0] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in lp_jit_create_types()
357 elem_types[LP_JIT_LINEAR_CTX_BLEND_COLOR] = LLVMInt32TypeInContext(lc); in lp_jit_create_types()
358 elem_types[LP_JIT_LINEAR_CTX_ALPHA_REF] = LLVMInt8TypeInContext(lc); in lp_jit_create_types()
360 linear_context_type = LLVMStructTypeInContext(lc, elem_types, in lp_jit_create_types()
420 LLVMContextRef lc = gallivm->context; in lp_jit_create_cs_types() local
435 elem_types[LP_JIT_CS_THREAD_DATA_SHARED] = LLVMPointerType(LLVMInt32TypeInContext(lc), 0); in lp_jit_create_cs_types()
436 thread_data_type = LLVMStructTypeInContext(lc, elem_types, in lp_jit_create_cs_types()
448 LLVMArrayType(LLVMPointerType(LLVMFloatTypeInContext(lc), 0), LP_MAX_TGSI_CONST_BUFFERS); in lp_jit_create_cs_types()
450 LLVMArrayType(LLVMInt32TypeInContext(lc), LP_MAX_TGSI_CONST_BUFFERS); in lp_jit_create_cs_types()
458 LLVMArrayType(LLVMPointerType(LLVMInt32TypeInContext(lc), 0), LP_MAX_TGSI_SHADER_BUFFERS); in lp_jit_create_cs_types()
460 LLVMArrayType(LLVMInt32TypeInContext(lc), LP_MAX_TGSI_SHADER_BUFFERS); in lp_jit_create_cs_types()
462 elem_types[LP_JIT_CS_CTX_SHARED_SIZE] = LLVMInt32TypeInContext(lc); in lp_jit_create_cs_types()
464 elem_types[LP_JIT_CS_CTX_KERNEL_ARGS] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in lp_jit_create_cs_types()
466 elem_types[LP_JIT_CS_CTX_ANISO_FILTER_TABLE] = LLVMPointerType(LLVMFloatTypeInContext(lc), 0); in lp_jit_create_cs_types()
468 cs_context_type = LLVMStructTypeInContext(lc, elem_types, in lp_jit_create_cs_types()