/third_party/libbpf/src/ |
H A D | relo_core.c | 146 int __bpf_core_types_are_compat(const struct btf *local_btf, __u32 local_id, in __bpf_core_types_are_compat() argument 153 local_type = btf_type_by_id(local_btf, local_id); in __bpf_core_types_are_compat() 163 local_type = skip_mods_and_typedefs(local_btf, local_id, &local_id); in __bpf_core_types_are_compat() 185 local_id = local_type->type; in __bpf_core_types_are_compat() 189 local_id = btf_array(local_type)->type; in __bpf_core_types_are_compat() 206 skip_mods_and_typedefs(local_btf, local_p->type, &local_id); in __bpf_core_types_are_compat() 208 err = __bpf_core_types_are_compat(local_btf, local_id, targ_btf, targ_id, in __bpf_core_types_are_compat() 215 skip_mods_and_typedefs(local_btf, local_type->type, &local_id); in __bpf_core_types_are_compat() 221 btf_kind_str(local_type), local_id, targ_i in __bpf_core_types_are_compat() 412 bpf_core_fields_are_compat(const struct btf *local_btf, __u32 local_id, const struct btf *targ_btf, __u32 targ_id) bpf_core_fields_are_compat() argument 491 __u32 local_id; bpf_core_match_member() local 1294 __u32 local_id; bpf_core_calc_relo_insn() local 1544 __bpf_core_types_match(const struct btf *local_btf, __u32 local_id, const struct btf *targ_btf, __u32 targ_id, bool behind_ptr, int level) __bpf_core_types_match() argument [all...] |
H A D | relo_core.h | 71 int __bpf_core_types_are_compat(const struct btf *local_btf, __u32 local_id, 73 int bpf_core_types_are_compat(const struct btf *local_btf, __u32 local_id, 75 int __bpf_core_types_match(const struct btf *local_btf, __u32 local_id, const struct btf *targ_btf, 77 int bpf_core_types_match(const struct btf *local_btf, __u32 local_id, const struct btf *targ_btf,
|
H A D | libbpf.c | 6086 int bpf_core_types_are_compat(const struct btf *local_btf, __u32 local_id, argument 6089 return __bpf_core_types_are_compat(local_btf, local_id, targ_btf, targ_id, 32); 6092 int bpf_core_types_match(const struct btf *local_btf, __u32 local_id, argument 6095 return __bpf_core_types_match(local_btf, local_id, targ_btf, targ_id, false, 32); 6154 __u32 local_id = relo->type_id; local 6157 local_type = btf__type_by_id(local_btf, local_id); 6166 !hashmap__find(cand_cache, local_id, &cands)) { 6167 cands = bpf_core_find_cands(prog->obj, local_btf, local_id); 6170 prog_name, relo_idx, local_id, btf_kind_str(local_type), 6174 err = hashmap__set(cand_cache, local_id, cand [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_nir_lower_cs_intrinsics.c | 44 nir_ssa_def *local_id = NULL; in lower_cs_intrinsics_convert_block() local 81 assert(!local_id); in lower_cs_intrinsics_convert_block() 161 local_id = nir_vec3(b, id_x, id_y, id_z); in lower_cs_intrinsics_convert_block() 175 local_id = nir_vec3(b, id_x, id_y, id_z); in lower_cs_intrinsics_convert_block() 202 local_id = nir_vec3(b, x, in lower_cs_intrinsics_convert_block() 213 assert(local_id); in lower_cs_intrinsics_convert_block() 216 sysval = local_id; in lower_cs_intrinsics_convert_block()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_system_values.c | 465 nir_ssa_def *local_id = nir_load_local_invocation_id(b); in lower_compute_system_value_instr() local 475 index = nir_imul(b, nir_channel(b, local_id, 2), in lower_compute_system_value_instr() 478 nir_imul(b, nir_channel(b, local_id, 1), size_x)); in lower_compute_system_value_instr() 479 index = nir_iadd(b, index, nir_channel(b, local_id, 0)); in lower_compute_system_value_instr() 508 nir_ssa_def *local_id = nir_load_local_invocation_id(b); in lower_compute_system_value_instr() local 512 nir_u2u(b, local_id, bit_size)); in lower_compute_system_value_instr()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | item.rs | 385 /// Lazily initialized in local_id(). 389 local_id: LazyCell<usize>, 440 local_id: LazyCell::new(), in new() 540 pub fn local_id(&self, ctx: &BindgenContext) -> usize { in local_id() functions 541 *self.local_id.borrow_with(|| { in local_id() 554 let local_id = self.next_child_local_id.get(); in next_child_local_id() 555 self.next_child_local_id.set(local_id + 1); in next_child_local_id() 556 local_id in next_child_local_id() 952 TypeKind::Enum(..) => return self.local_id(ctx).to_string(), in exposed_id()
|