/external/mesa3d/src/compiler/nir/ |
D | nir_lower_io_to_scalar.c | 34 lower_load_input_to_scalar(nir_builder *b, nir_intrinsic_instr *intr) in lower_load_input_to_scalar() argument 36 b->cursor = nir_before_instr(&intr->instr); in lower_load_input_to_scalar() 38 assert(intr->dest.is_ssa); in lower_load_input_to_scalar() 42 for (unsigned i = 0; i < intr->num_components; i++) { in lower_load_input_to_scalar() 44 nir_intrinsic_instr_create(b->shader, intr->intrinsic); in lower_load_input_to_scalar() 46 1, intr->dest.ssa.bit_size, NULL); in lower_load_input_to_scalar() 49 nir_intrinsic_set_base(chan_intr, nir_intrinsic_base(intr)); in lower_load_input_to_scalar() 50 nir_intrinsic_set_component(chan_intr, nir_intrinsic_component(intr) + i); in lower_load_input_to_scalar() 52 nir_src_copy(&chan_intr->src[0], &intr->src[0], chan_intr); in lower_load_input_to_scalar() 59 nir_ssa_def_rewrite_uses(&intr->dest.ssa, in lower_load_input_to_scalar() [all …]
|
D | nir_lower_io_arrays_to_elements.c | 127 lower_array(nir_builder *b, nir_intrinsic_instr *intr, nir_variable *var, in lower_array() argument 130 b->cursor = nir_before_instr(&intr->instr); in lower_array() 136 unsigned io_offset = get_io_offset(b, intr->variables[0], var, in lower_array() 164 nir_intrinsic_instr_create(b->shader, intr->intrinsic); in lower_array() 165 element_intr->num_components = intr->num_components; in lower_array() 168 if (intr->intrinsic != nir_intrinsic_store_var) { in lower_array() 170 intr->num_components, intr->dest.ssa.bit_size, NULL); in lower_array() 172 if (intr->intrinsic == nir_intrinsic_interp_var_at_offset || in lower_array() 173 intr->intrinsic == nir_intrinsic_interp_var_at_sample) { in lower_array() 174 nir_src_copy(&element_intr->src[0], &intr->src[0], in lower_array() [all …]
|
D | nir_lower_wpos_ytransform.c | 80 nir_intrinsic_instr *intr, in emit_wpos_adjustment() argument 84 nir_variable *fragcoord = intr->variables[0]->var; in emit_wpos_adjustment() 87 assert(intr->dest.is_ssa); in emit_wpos_adjustment() 89 b->cursor = nir_before_instr(&intr->instr); in emit_wpos_adjustment() 143 nir_ssa_def_rewrite_uses(&intr->dest.ssa, nir_src_for_ssa(wpos_temp)); in emit_wpos_adjustment() 147 lower_fragcoord(lower_wpos_ytransform_state *state, nir_intrinsic_instr *intr) in lower_fragcoord() argument 150 nir_variable *fragcoord = intr->variables[0]->var; in lower_fragcoord() 232 emit_wpos_adjustment(state, intr, invert, adjX, adjY); in lower_fragcoord() 277 nir_intrinsic_instr *intr) in lower_load_sample_pos() argument 280 b->cursor = nir_after_instr(&intr->instr); in lower_load_sample_pos() [all …]
|
D | nir_lower_wpos_center.c | 48 update_fragcoord(nir_builder *b, nir_intrinsic_instr *intr, in update_fragcoord() argument 51 nir_ssa_def *wpos = &intr->dest.ssa; in update_fragcoord() 53 assert(intr->dest.is_ssa); in update_fragcoord() 55 b->cursor = nir_after_instr(&intr->instr); in update_fragcoord() 71 nir_ssa_def_rewrite_uses_after(&intr->dest.ssa, nir_src_for_ssa(wpos), in update_fragcoord() 83 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in lower_wpos_center_block() local 84 if (intr->intrinsic == nir_intrinsic_load_var) { in lower_wpos_center_block() 85 nir_deref_var *dvar = intr->variables[0]; in lower_wpos_center_block() 92 update_fragcoord(b, intr, for_sample_shading); in lower_wpos_center_block()
|
D | nir_lower_clamp_color_outputs.c | 63 lower_intrinsic(lower_state *state, nir_intrinsic_instr *intr) in lower_intrinsic() argument 69 switch (intr->intrinsic) { in lower_intrinsic() 71 out = intr->variables[0]->var; in lower_intrinsic() 77 if (nir_intrinsic_base(intr) == drvloc) { in lower_intrinsic() 92 b->cursor = nir_before_instr(&intr->instr); in lower_intrinsic() 93 s = nir_ssa_for_src(b, intr->src[0], intr->num_components); in lower_intrinsic() 95 nir_instr_rewrite_src(&intr->instr, &intr->src[0], nir_src_for_ssa(s)); in lower_intrinsic()
|
D | nir_lower_drawpixels.c | 114 lower_color(lower_drawpixels_state *state, nir_intrinsic_instr *intr) in lower_color() argument 121 assert(intr->dest.is_ssa); in lower_color() 123 b->cursor = nir_before_instr(&intr->instr); in lower_color() 196 nir_ssa_def_rewrite_uses(&intr->dest.ssa, nir_src_for_ssa(def)); in lower_color() 200 lower_texcoord(lower_drawpixels_state *state, nir_intrinsic_instr *intr) in lower_texcoord() argument 202 state->b.cursor = nir_before_instr(&intr->instr); in lower_texcoord() 205 nir_ssa_def_rewrite_uses(&intr->dest.ssa, nir_src_for_ssa(texcoord_const)); in lower_texcoord() 213 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in lower_drawpixels_block() local 214 if (intr->intrinsic == nir_intrinsic_load_var) { in lower_drawpixels_block() 215 nir_deref_var *dvar = intr->variables[0]; in lower_drawpixels_block() [all …]
|
D | nir_lower_io_types.c | 118 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in lower_io_types_block() local 120 if ((intr->intrinsic != nir_intrinsic_load_var) && in lower_io_types_block() 121 (intr->intrinsic != nir_intrinsic_store_var)) in lower_io_types_block() 124 nir_variable *var = intr->variables[0]->var; in lower_io_types_block() 135 unsigned off = get_deref_offset(state, &intr->variables[0]->deref, vs_in); in lower_io_types_block() 137 nir_deref_tail(&intr->variables[0]->deref)->type; in lower_io_types_block() 141 intr->variables[0] = nir_deref_var_create(intr, nvar); in lower_io_types_block()
|
D | nir_lower_alpha_test.c | 53 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in nir_lower_alpha_test() local 57 switch (intr->intrinsic) { in nir_lower_alpha_test() 59 out = intr->variables[0]->var; in nir_lower_alpha_test() 65 if (nir_intrinsic_base(intr) == drvloc) { in nir_lower_alpha_test() 83 b.cursor = nir_before_instr(&intr->instr); in nir_lower_alpha_test() 89 alpha = nir_channel(&b, nir_ssa_for_src(&b, intr->src[0], 4), in nir_lower_alpha_test()
|
D | nir_lower_two_sided_color.c | 139 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in nir_lower_two_sided_color_block() local 141 if (intr->intrinsic != nir_intrinsic_load_input) in nir_lower_two_sided_color_block() 148 if (nir_intrinsic_base(intr) == drvloc) { in nir_lower_two_sided_color_block() 149 assert(nir_src_as_const_value(intr->src[0])); in nir_lower_two_sided_color_block() 160 b->cursor = nir_before_instr(&intr->instr); in nir_lower_two_sided_color_block() 166 assert(intr->dest.is_ssa); in nir_lower_two_sided_color_block() 167 nir_ssa_def_rewrite_uses(&intr->dest.ssa, nir_src_for_ssa(color)); in nir_lower_two_sided_color_block()
|
D | nir_lower_patch_vertices.c | 36 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in nir_lower_tes_patch_vertices() local 37 if (intr->intrinsic != nir_intrinsic_load_patch_vertices_in) in nir_lower_tes_patch_vertices() 40 b.cursor = nir_before_instr(&intr->instr); in nir_lower_tes_patch_vertices() 42 nir_ssa_def_rewrite_uses(&intr->dest.ssa, in nir_lower_tes_patch_vertices()
|
D | nir_lower_clip.c | 106 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in find_output_in_block() local 107 if ((intr->intrinsic == nir_intrinsic_store_output) && in find_output_in_block() 108 nir_intrinsic_base(intr) == drvloc) { in find_output_in_block() 109 assert(intr->src[0].is_ssa); in find_output_in_block() 110 assert(nir_src_as_const_value(intr->src[1])); in find_output_in_block() 111 return intr->src[0].ssa; in find_output_in_block()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_io.c | 39 replace_intrinsic_with_vec(nir_builder *b, nir_intrinsic_instr *intr, in replace_intrinsic_with_vec() argument 46 nir_ssa_def *vec = nir_vec(b, comps, intr->num_components); in replace_intrinsic_with_vec() 51 nir_ssa_def_rewrite_uses(&intr->dest.ssa, nir_src_for_ssa(vec)); in replace_intrinsic_with_vec() 52 nir_instr_remove(&intr->instr); in replace_intrinsic_with_vec() 172 nir_intrinsic_instr *intr) in vc4_nir_lower_vertex_attr() argument 174 b->cursor = nir_before_instr(&intr->instr); in vc4_nir_lower_vertex_attr() 176 int attr = nir_intrinsic_base(intr); in vc4_nir_lower_vertex_attr() 183 assert(nir_src_as_const_value(intr->src[0]) && in vc4_nir_lower_vertex_attr() 184 nir_src_as_const_value(intr->src[0])->u32[0] == 0); in vc4_nir_lower_vertex_attr() 196 nir_intrinsic_set_base(intr_comp, nir_intrinsic_base(intr)); in vc4_nir_lower_vertex_attr() [all …]
|
D | vc4_nir_lower_blend.c | 567 nir_intrinsic_instr *intr = in vc4_nir_store_sample_mask() local 569 intr->num_components = 1; in vc4_nir_store_sample_mask() 570 nir_intrinsic_set_base(intr, sample_mask->data.driver_location); in vc4_nir_store_sample_mask() 572 intr->src[0] = nir_src_for_ssa(val); in vc4_nir_store_sample_mask() 573 intr->src[1] = nir_src_for_ssa(nir_imm_int(b, 0)); in vc4_nir_store_sample_mask() 574 nir_builder_instr_insert(b, &intr->instr); in vc4_nir_store_sample_mask() 579 nir_intrinsic_instr *intr) in vc4_nir_lower_blend_instr() argument 581 nir_ssa_def *frag_color = intr->src[0].ssa; in vc4_nir_lower_blend_instr() 618 nir_instr_rewrite_src(&intr->instr, &intr->src[0], in vc4_nir_lower_blend_instr() 620 intr->num_components = blend_output->num_components; in vc4_nir_lower_blend_instr() [all …]
|
/external/mesa3d/src/broadcom/compiler/ |
D | v3d_nir_lower_io.c | 38 replace_intrinsic_with_vec(nir_builder *b, nir_intrinsic_instr *intr, in replace_intrinsic_with_vec() argument 45 nir_ssa_def *vec = nir_vec(b, comps, intr->num_components); in replace_intrinsic_with_vec() 50 nir_ssa_def_rewrite_uses(&intr->dest.ssa, nir_src_for_ssa(vec)); in replace_intrinsic_with_vec() 51 nir_instr_remove(&intr->instr); in replace_intrinsic_with_vec() 56 nir_intrinsic_instr *intr) in v3d_nir_lower_output() argument 60 if (var->data.driver_location == nir_intrinsic_base(intr)) { in v3d_nir_lower_output() 88 nir_instr_remove(&intr->instr); in v3d_nir_lower_output() 94 nir_intrinsic_instr *intr) in v3d_nir_lower_uniform() argument 96 b->cursor = nir_before_instr(&intr->instr); in v3d_nir_lower_uniform() 100 for (unsigned i = 0; i < intr->num_components; i++) { in v3d_nir_lower_uniform() [all …]
|
/external/u-boot/drivers/net/ |
D | e1000_spi.c | 22 const void *dout_mem, void *din_mem, bool intr) in e1000_spi_xfer() argument 37 if (intr && ctrlc()) in e1000_spi_xfer() 172 static int e1000_spi_eeprom_enable_wr(struct e1000_hw *hw, bool intr) in e1000_spi_eeprom_enable_wr() argument 176 return e1000_spi_xfer(hw, 8*sizeof(op), op, NULL, intr); in e1000_spi_eeprom_enable_wr() 184 bool intr) in e1000_spi_eeprom_disable_wr() argument 188 return e1000_spi_xfer(hw, 8*sizeof(op), op, NULL, intr); in e1000_spi_eeprom_disable_wr() 192 u8 status, bool intr) in e1000_spi_eeprom_write_status() argument 196 return e1000_spi_xfer(hw, 8*sizeof(op), op, NULL, intr); in e1000_spi_eeprom_write_status() 199 static int e1000_spi_eeprom_read_status(struct e1000_hw *hw, bool intr) in e1000_spi_eeprom_read_status() argument 203 if (e1000_spi_xfer(hw, 8*sizeof(op), op, op, intr)) in e1000_spi_eeprom_read_status() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUSearchableTables.td | 14 class RsrcIntrinsic<AMDGPURsrcIntrinsic intr> { 15 Intrinsic Intr = !cast<Intrinsic>(intr); 16 bits<8> RsrcArg = intr.RsrcArg; 17 bit IsImage = intr.IsImage; 28 foreach intr = !listconcat(AMDGPUBufferIntrinsics, 31 def : RsrcIntrinsic<!cast<AMDGPURsrcIntrinsic>(intr)>; 34 class SourceOfDivergence<Intrinsic intr> { 35 Intrinsic Intr = intr; 76 foreach intr = AMDGPUImageDimAtomicIntrinsics in 77 def : SourceOfDivergence<intr>;
|
/external/curl/docs/libcurl/ |
D | symbols.pl | 69 my $intr; 75 ($intr, $dep, $rm)=($1, $2, $3); 79 ($intr, $dep)=($1, $2); 82 $intr = $vers; 85 my $inum = str2num($intr); 88 #define ${sym}_FIRST $inum /* Added in $intr */
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_compiler_nir.c | 1163 emit_intrinsic_load_ubo(struct ir3_context *ctx, nir_intrinsic_instr *intr, in emit_intrinsic_load_ubo() argument 1176 src0 = get_src(ctx, &intr->src[0])[0]; in emit_intrinsic_load_ubo() 1189 const_offset = nir_src_as_const_value(intr->src[1]); in emit_intrinsic_load_ubo() 1194 src1 = get_src(ctx, &intr->src[1])[0]; in emit_intrinsic_load_ubo() 1201 if ((off + (intr->num_components * 4)) > 1024) { in emit_intrinsic_load_ubo() 1205 unsigned off2 = off + (intr->num_components * 4) - 1024; in emit_intrinsic_load_ubo() 1224 for (int i = 0; i < intr->num_components; i++) { in emit_intrinsic_load_ubo() 1235 emit_intrinsic_load_ssbo(struct ir3_context *ctx, nir_intrinsic_instr *intr, in emit_intrinsic_load_ssbo() argument 1243 const_offset = nir_src_as_const_value(intr->src[0]); in emit_intrinsic_load_ssbo() 1246 offset = get_src(ctx, &intr->src[1])[0]; in emit_intrinsic_load_ssbo() [all …]
|
D | ir3_nir_lower_if_else.c | 96 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in block_check_for_allowed_instrs() local 98 &nir_intrinsic_infos[intr->intrinsic]; in block_check_for_allowed_instrs() 100 switch (intr->intrinsic) { in block_check_for_allowed_instrs() 103 if (!intr->src[0].is_ssa) in block_check_for_allowed_instrs() 164 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in flatten_block() local 165 if ((intr->intrinsic == nir_intrinsic_discard) || in flatten_block() 166 (intr->intrinsic == nir_intrinsic_discard_if)) { in flatten_block() 177 if (intr->intrinsic == nir_intrinsic_discard) { in flatten_block() 180 assert(intr->src[0].is_ssa); in flatten_block() 182 discard_cond = nir_iand(bld, condition, intr->src[0].ssa); in flatten_block()
|
/external/dnsmasq/src/ |
D | rfc1035.c | 776 struct interface_name* intr; in check_for_local_domain() local 789 for (intr = daemon->int_names; intr; intr = intr->next) in check_for_local_domain() 790 if (hostname_isequal(name, intr->name)) return 1; in check_for_local_domain() 1024 struct interface_name* intr = NULL; in answer_request() local 1030 for (intr = daemon->int_names; intr; intr = intr->next) { in answer_request() 1031 if (addr.addr.addr4.s_addr == get_ifaddr(intr->intr).s_addr) in answer_request() 1034 while (intr->next && strcmp(intr->intr, intr->next->intr) == 0) in answer_request() 1035 intr = intr->next; in answer_request() 1038 if (intr) { in answer_request() 1041 log_query(F_IPV4 | F_REVERSE | F_CONFIG, intr->name, &addr, NULL); in answer_request() [all …]
|
/external/mesa3d/src/intel/compiler/ |
D | brw_nir.c | 100 remap_tess_levels(nir_builder *b, nir_intrinsic_instr *intr, in remap_tess_levels() argument 103 const int location = nir_intrinsic_base(intr); in remap_tess_levels() 104 const unsigned component = nir_intrinsic_component(intr); in remap_tess_levels() 111 nir_intrinsic_set_base(intr, 0); in remap_tess_levels() 112 nir_intrinsic_set_component(intr, 3 - component); in remap_tess_levels() 117 nir_intrinsic_set_base(intr, 1); in remap_tess_levels() 129 nir_intrinsic_set_base(intr, 1); in remap_tess_levels() 130 nir_intrinsic_set_component(intr, 2 + nir_intrinsic_component(intr)); in remap_tess_levels() 134 nir_intrinsic_set_base(intr, 1); in remap_tess_levels() 135 nir_intrinsic_set_component(intr, 3 - nir_intrinsic_component(intr)); in remap_tess_levels() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/ |
D | MultiPat.td | 84 class Base<bits<8> opcode, dag opnds, dag iopnds, string asmstr, Intrinsic intr, 89 !subst(INTRINSIC, intr, 94 !subst(INTRINSIC, intr, 98 multiclass arith<bits<8> opcode, string asmstr, string intr, list<list<dag>> patterns> { 100 …concat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_ps", intr)), patterns>; 103 …concat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_pd", intr)), patterns>;
|
/external/llvm/test/TableGen/ |
D | MultiPat.td | 92 class Base<bits<8> opcode, dag opnds, dag iopnds, string asmstr, Intrinsic intr, 97 !subst(INTRINSIC, intr, 102 !subst(INTRINSIC, intr, 106 multiclass arith<bits<8> opcode, string asmstr, string intr, list<list<dag>> patterns> { 108 …concat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_ps", intr)), patterns>; 111 …concat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_pd", intr)), patterns>;
|
/external/swiftshader/third_party/LLVM/test/TableGen/ |
D | MultiPat.td | 92 class Base<bits<8> opcode, dag opnds, dag iopnds, string asmstr, Intrinsic intr, 97 !subst(INTRINSIC, intr, 102 !subst(INTRINSIC, intr, 106 multiclass arith<bits<8> opcode, string asmstr, string intr, list<list<dag>> patterns> { 108 …concat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_ps", intr)), patterns>; 111 …concat(asmstr, "\t$dst, $src1, $src2"), !cast<Intrinsic>(!subst("SUFFIX", "_pd", intr)), patterns>;
|
/external/libpcap/msdos/ |
D | pktdrvr.c | 176 LOCAL DWORD dpmi_get_real_vector (int intr); 312 _dx_real_int ((UINT)pktInfo.intr, ®); in PktInterrupt() 316 __dpmi_int ((int)pktInfo.intr, ®); in PktInterrupt() 326 r.x.ebx = pktInfo.intr; in PktInterrupt() 338 intr (pktInfo.intr, (struct REGPACK*)®); in PktInterrupt() 357 BYTE intr = 0x20; in PktSearchDriver() local 360 while (!found && intr < 0xFF) in PktSearchDriver() 367 _dx_rmiv_get (intr, &rp); in PktSearchDriver() 372 __dpmi_get_real_mode_interrupt_vector (intr, &realAdr); in PktSearchDriver() 377 rp = dpmi_get_real_vector (intr); in PktSearchDriver() [all …]
|