Lines Matching defs:load
403 * final block index. Insert a descriptor load and cast to a deref to
491 _vtn_local_load_store(struct vtn_builder *b, bool load, nir_deref_instr *deref,
496 if (load) {
507 _vtn_local_load_store(b, load, child, inout->elems[i], access);
514 _vtn_local_load_store(b, load, child, inout->elems[i], access);
596 _vtn_variable_load_store(struct vtn_builder *b, bool load,
606 vtn_assert(load);
611 vtn_assert(load);
620 vtn_assert(load);
640 /* We hit a vector or scalar; go ahead and emit the load[s] */
646 * less efficient than the direct load/store and, in the case of
649 * due to the load+insert+store it uses to emulate the array
652 if (load) {
660 if (load) {
683 _vtn_variable_load_store(b, load, elem, ptr->type->access | access,
2782 nir_intrinsic_instr *load =
2785 load->src[0] = nir_src_for_ssa(&src->dest.ssa);
2786 nir_ssa_dest_init_for_type(&load->instr, &load->dest,
2788 load->num_components = load->dest.ssa.num_components;
2789 nir_builder_instr_insert(&b->nb, &load->instr);
2791 vtn_push_nir_ssa(b, w[2], &load->dest.ssa);