Lines Matching defs:context

120    LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context);
123 LLVMPointerType(LLVMIntTypeInContext(gallivm->context, 8), 0);
126 dvbuffer_type = LLVMStructTypeInContext(gallivm->context, elem_types,
149 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context);
159 LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0);
165 texture_type = LLVMStructTypeInContext(gallivm->context, elem_types,
222 elem_types[DRAW_JIT_SAMPLER_MAX_ANISO] = LLVMFloatTypeInContext(gallivm->context);
224 LLVMArrayType(LLVMFloatTypeInContext(gallivm->context), 4);
226 sampler_type = LLVMStructTypeInContext(gallivm->context, elem_types,
260 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context);
270 LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0);
272 image_type = LLVMStructTypeInContext(gallivm->context, elem_types,
317 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context);
318 LLVMTypeRef int_type = LLVMInt32TypeInContext(gallivm->context);
331 LLVMTypeRef context_type = LLVMStructTypeInContext(gallivm->context, elem_types, ARRAY_SIZE(elem_types), 0);
374 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context);
375 LLVMTypeRef int_type = LLVMInt32TypeInContext(gallivm->context);
404 context_type = LLVMStructTypeInContext(gallivm->context, elem_types,
449 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context);
471 elem_types[0] = LLVMInt16TypeInContext(gallivm->context);
472 elem_types[1] = LLVMInt8TypeInContext(gallivm->context);
473 elem_types[2] = LLVMInt32TypeInContext(gallivm->context);
474 elem_types[3] = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0);
476 vb_type = LLVMStructTypeInContext(gallivm->context, elem_types,
508 elem_types[DRAW_JIT_VERTEX_VERTEX_ID] = LLVMIntTypeInContext(gallivm->context, 32);
509 elem_types[DRAW_JIT_VERTEX_CLIP_POS] = LLVMArrayType(LLVMFloatTypeInContext(gallivm->context), 4);
512 vertex_header = LLVMStructTypeInContext(gallivm->context, elem_types,
554 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context);
555 LLVMTypeRef int_type = LLVMInt32TypeInContext(gallivm->context);
563 elem_types[2] = LLVMInt32TypeInContext(gallivm->context);
564 elem_types[3] = LLVMInt32TypeInContext(gallivm->context);
578 context_type = LLVMStructTypeInContext(gallivm->context, elem_types,
609 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context);
622 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context);
635 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context);
655 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context);
656 LLVMTypeRef int_type = LLVMInt32TypeInContext(gallivm->context);
664 elem_types[2] = LLVMInt32TypeInContext(gallivm->context);
665 elem_types[3] = LLVMInt32TypeInContext(gallivm->context);
679 context_type = LLVMStructTypeInContext(gallivm->context, elem_types,
761 * Create per-context LLVM info.
764 draw_llvm_create(struct draw_context *draw, LLVMContextRef context)
777 llvm->context = context;
778 if (!llvm->context) {
779 llvm->context = LLVMContextCreate();
782 LLVMContextSetOpaquePointers(llvm->context, false);
787 if (!llvm->context)
811 * Free per-context LLVM info.
817 LLVMContextDispose(llvm->context);
818 llvm->context = NULL;
890 variant->gallivm = gallivm_create(module_name, llvm->context, &cached);
1026 LLVMTypeRef i32_t = LLVMInt32TypeInContext(gallivm->context);
1322 LLVMConstInt(LLVMInt32TypeInContext(gallivm->context),
1324 LLVMConstInt(LLVMInt32TypeInContext(gallivm->context),
1390 LLVMPointerType(LLVMVectorType(LLVMFloatTypeInContext(gallivm->context),
1700 LLVMTypeRef int8_type = LLVMInt8TypeInContext(gallivm->context);
1900 LLVMContextRef context = gallivm->context;
1901 LLVMTypeRef int32_type = LLVMInt32TypeInContext(context);
1957 arg_types[i++] = get_context_ptr_type(variant); /* context */
1971 func_type = LLVMFunctionType(LLVMInt8TypeInContext(context),
2009 lp_build_name(context_ptr, "context");
2026 block = LLVMAppendBasicBlockInContext(gallivm->context, variant_func, "entry");
2044 LLVMVectorType(LLVMInt64TypeInContext(context), 4), "");
2046 LLVMPointerType(LLVMInt8TypeInContext(context), 0), "");
2047 fake_buf_ptr = LLVMBuildGEP2(builder, LLVMInt8TypeInContext(context), fake_buf, &bld.zero, 1, "");
2094 LLVMInt32TypeInContext(context), "");
2143 LLVMTypeRef byte_type = LLVMInt8TypeInContext(context);
2232 LLVMPointerType(LLVMInt8TypeInContext(context),
2743 LLVMContextRef context = gallivm->context;
2744 LLVMTypeRef int32_type = LLVMInt32TypeInContext(context);
2777 arg_types[0] = get_gs_context_ptr_type(variant); /* context */
2809 lp_build_name(context_ptr, "context");
2833 block = LLVMAppendBasicBlockInContext(gallivm->context, variant_func, "entry");
2954 variant->gallivm = gallivm_create(module_name, llvm->context, &cached);
3333 LLVMContextRef context = gallivm->context;
3334 LLVMTypeRef int32_type = LLVMInt32TypeInContext(context);
3363 arg_types[0] = get_tcs_context_ptr_type(variant); /* context */
3373 coro_func_type = LLVMFunctionType(LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0), arg_types, ARRAY_SIZE(arg_types), 0);
3402 lp_build_name(context_ptr, "context");
3409 block = LLVMAppendBasicBlockInContext(gallivm->context, variant_func, "entry");
3431 LLVMTypeRef hdl_ptr_type = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0);
3480 block = LLVMAppendBasicBlockInContext(gallivm->context, variant_coro, "entry");
3531 LLVMBasicBlockRef sus_block = LLVMAppendBasicBlockInContext(gallivm->context, variant_coro, "suspend");
3532 LLVMBasicBlockRef clean_block = LLVMAppendBasicBlockInContext(gallivm->context, variant_coro, "cleanup");
3618 variant->gallivm = gallivm_create(module_name, llvm->context, &cached);
3831 channel_vec = LLVMBuildLoad2(builder, LLVMFloatTypeInContext(gallivm->context), channel_vec, "");
3841 res = LLVMBuildLoad2(builder, LLVMFloatTypeInContext(gallivm->context), res, "");
3881 channel_vec = LLVMBuildLoad2(builder, LLVMFloatTypeInContext(gallivm->context), channel_vec, "");
3891 res = LLVMBuildLoad2(builder, LLVMFloatTypeInContext(gallivm->context), res, "");
3902 LLVMContextRef context = gallivm->context;
3903 LLVMTypeRef int32_type = LLVMInt32TypeInContext(context);
3904 LLVMTypeRef flt_type = LLVMFloatTypeInContext(context);
3938 arg_types[0] = get_tes_context_ptr_type(variant); /* context */
3974 lp_build_name(context_ptr, "context");
3991 block = LLVMAppendBasicBlockInContext(gallivm->context, variant_func, "entry");
4146 variant->gallivm = gallivm_create(module_name, llvm->context, &cached);