Lines Matching refs:LLVMConstInt
87 ctx->i32_0 = LLVMConstInt(ctx->i32, 0, false); in ac_llvm_context_init()
88 ctx->i32_1 = LLVMConstInt(ctx->i32, 1, false); in ac_llvm_context_init()
89 ctx->i64_0 = LLVMConstInt(ctx->i64, 0, false); in ac_llvm_context_init()
90 ctx->i64_1 = LLVMConstInt(ctx->i64, 1, false); in ac_llvm_context_init()
96 ctx->i1false = LLVMConstInt(ctx->i1, 0, false); in ac_llvm_context_init()
97 ctx->i1true = LLVMConstInt(ctx->i1, 1, false); in ac_llvm_context_init()
145 LLVMConstInt(ac->i32, index, false), ""); in ac_llvm_extract_elem()
371 LLVMConstInt(ctx->i32, LLVMIntNE, 0) in ac_build_ballot()
403 LLVMConstInt(ctx->i64, 0, 0), ""); in ac_build_vote_any()
416 LLVMConstInt(ctx->i64, 0, 0), ""); in ac_build_vote_eq()
436 LLVMValueRef index = LLVMConstInt(ctx->i32, i - component, false); in ac_build_varying_gather_values()
468 LLVMValueRef index = LLVMConstInt(ctx->i32, i, false); in ac_build_gather_values_extended()
773 LLVMConstInt(ctx->i32, 0, 0), in ac_build_gep0()
861 LLVMConstInt(ctx->i32, i, 0), ""); in ac_build_buffer_store_dword()
882 LLVMConstInt(ctx->i32, inst_offset, 0), ""); in ac_build_buffer_store_dword()
889 LLVMConstInt(ctx->i32, 0, 0), in ac_build_buffer_store_dword()
891 LLVMConstInt(ctx->i1, glc, 0), in ac_build_buffer_store_dword()
892 LLVMConstInt(ctx->i1, slc, 0), in ac_build_buffer_store_dword()
917 LLVMConstInt(ctx->i32, num_channels, 0), in ac_build_buffer_store_dword()
920 LLVMConstInt(ctx->i32, inst_offset, 0), in ac_build_buffer_store_dword()
921 LLVMConstInt(ctx->i32, dfmt[num_channels - 1], 0), in ac_build_buffer_store_dword()
922 LLVMConstInt(ctx->i32, V_008F0C_BUF_NUM_FORMAT_UINT, 0), in ac_build_buffer_store_dword()
923 LLVMConstInt(ctx->i32, voffset != NULL, 0), in ac_build_buffer_store_dword()
924 LLVMConstInt(ctx->i32, 0, 0), /* idxen */ in ac_build_buffer_store_dword()
925 LLVMConstInt(ctx->i32, glc, 0), in ac_build_buffer_store_dword()
926 LLVMConstInt(ctx->i32, slc, 0), in ac_build_buffer_store_dword()
927 LLVMConstInt(ctx->i32, 0, 0), /* tfe*/ in ac_build_buffer_store_dword()
957 LLVMValueRef offset = LLVMConstInt(ctx->i32, inst_offset, 0); in ac_build_buffer_load()
972 LLVMConstInt(ctx->i32, 4, 0), ""); in ac_build_buffer_load()
992 vindex ? vindex : LLVMConstInt(ctx->i32, 0, 0), in ac_build_buffer_load()
994 LLVMConstInt(ctx->i1, glc, 0), in ac_build_buffer_load()
995 LLVMConstInt(ctx->i1, slc, 0) in ac_build_buffer_load()
1037 …LLVMValueRef elem_count = LLVMBuildExtractElement(ctx->builder, rsrc, LLVMConstInt(ctx->i32, 2, 0)… in ac_build_buffer_load_format_gfx9_safe()
1038 …LLVMValueRef stride = LLVMBuildExtractElement(ctx->builder, rsrc, LLVMConstInt(ctx->i32, 1, 0), ""… in ac_build_buffer_load_format_gfx9_safe()
1039 stride = LLVMBuildLShr(ctx->builder, stride, LLVMConstInt(ctx->i32, 16, 0), ""); in ac_build_buffer_load_format_gfx9_safe()
1046 LLVMConstInt(ctx->i32, 2, 0), ""); in ac_build_buffer_load_format_gfx9_safe()
1065 md_args[0] = LLVMConstInt(type, lo, false); in set_range_metadata()
1066 md_args[1] = LLVMConstInt(type, hi, false); in set_range_metadata()
1077 tid_args[0] = LLVMConstInt(ctx->i32, 0xffffffff, false); in ac_get_thread_id()
1078 tid_args[1] = LLVMConstInt(ctx->i32, 0, false); in ac_get_thread_id()
1128 LLVMConstInt(ctx->i32, mask, false), ""); in ac_build_ddxy()
1131 LLVMConstInt(ctx->i32, idx, false), ""); in ac_build_ddxy()
1134 LLVMConstInt(ctx->i32, 4, false), ""); in ac_build_ddxy()
1143 LLVMConstInt(ctx->i32, 4, false), ""); in ac_build_ddxy()
1174 args[1] = LLVMConstInt(ctx->i32, masks[0], false); in ac_build_ddxy()
1182 args[1] = LLVMConstInt(ctx->i32, masks[1], false); in ac_build_ddxy()
1203 args[0] = LLVMConstInt(ctx->i32, msg, false); in ac_build_sendmsg()
1221 msb = LLVMBuildSub(ctx->builder, LLVMConstInt(ctx->i32, 31, false), in ac_build_imsb()
1224 LLVMValueRef all_ones = LLVMConstInt(ctx->i32, -1, true); in ac_build_imsb()
1227 arg, LLVMConstInt(ctx->i32, 0, 0), ""), in ac_build_imsb()
1249 msb = LLVMBuildSub(ctx->builder, LLVMConstInt(ctx->i32, 31, false), in ac_build_umsb()
1255 LLVMConstInt(ctx->i32, 0, 0), ""), in ac_build_umsb()
1256 LLVMConstInt(ctx->i32, -1, true), msb, ""); in ac_build_umsb()
1305 args[0] = LLVMConstInt(ctx->i32, a->target, 0); in ac_build_export()
1306 args[1] = LLVMConstInt(ctx->i32, a->enabled_channels, 0); in ac_build_export()
1316 args[4] = LLVMConstInt(ctx->i1, a->done, 0); in ac_build_export()
1317 args[5] = LLVMConstInt(ctx->i1, a->valid_mask, 0); in ac_build_export()
1326 args[6] = LLVMConstInt(ctx->i1, a->done, 0); in ac_build_export()
1327 args[7] = LLVMConstInt(ctx->i1, a->valid_mask, 0); in ac_build_export()
1335 args[0] = LLVMConstInt(ctx->i32, a->enabled_channels, 0); in ac_build_export()
1336 args[1] = LLVMConstInt(ctx->i32, a->valid_mask, 0); in ac_build_export()
1337 args[2] = LLVMConstInt(ctx->i32, a->done, 0); in ac_build_export()
1338 args[3] = LLVMConstInt(ctx->i32, a->target, 0); in ac_build_export()
1339 args[4] = LLVMConstInt(ctx->i32, a->compr, 0); in ac_build_export()
1368 args[num_args++] = LLVMConstInt(ctx->i32, a->dmask, 0); in ac_build_image_opcode()
1370 args[num_args++] = LLVMConstInt(ctx->i1, a->unorm, 0); in ac_build_image_opcode()
1374 args[num_args++] = LLVMConstInt(ctx->i1, a->da, 0); in ac_build_image_opcode()
1435 args[num_args++] = LLVMConstInt(ctx->i32, a->dmask, 0); in ac_build_image_opcode()
1436 args[num_args++] = LLVMConstInt(ctx->i32, a->unorm, 0); in ac_build_image_opcode()
1437 args[num_args++] = LLVMConstInt(ctx->i32, 0, 0); /* r128 */ in ac_build_image_opcode()
1438 args[num_args++] = LLVMConstInt(ctx->i32, a->da, 0); in ac_build_image_opcode()
1439 args[num_args++] = LLVMConstInt(ctx->i32, 0, 0); /* glc */ in ac_build_image_opcode()
1440 args[num_args++] = LLVMConstInt(ctx->i32, 0, 0); /* slc */ in ac_build_image_opcode()
1441 args[num_args++] = LLVMConstInt(ctx->i32, 0, 0); /* tfe */ in ac_build_image_opcode()
1442 args[num_args++] = LLVMConstInt(ctx->i32, 0, 0); /* lwe */ in ac_build_image_opcode()
1551 LLVMConstInt(ctx->i32, simm16, false), in ac_build_waitcnt()
1838 LLVMConstInt(ctx->i32, in ac_optimize_vs_outputs()
1847 LLVMValueRef full_mask = LLVMConstInt(ctx->i64, ~0ull, 0); in ac_init_exec_full_mask()
1892 LLVMConstInt(ctx->i1, 1, false), in ac_find_lsb()
1904 LLVMConstInt(ctx->i32, -1, 0), lsb, ""); in ac_find_lsb()