Home
last modified time | relevance | path

Searched refs:new_id (Results 1 – 25 of 54) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcompact_ids_pass.cpp32 const uint32_t new_id = in GetRemappedId() local
34 const auto insertion_result = result_id_mapping->emplace(id, new_id); in GetRemappedId()
55 uint32_t new_id = GetRemappedId(&result_id_mapping, id); in Process() local
56 if (id != new_id) { in Process()
58 id = new_id; in Process()
72 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process() local
73 if (scope_id != new_id) { in Process()
74 inst->UpdateLexicalScope(new_id); in Process()
80 uint32_t new_id = GetRemappedId(&result_id_mapping, inlinedat_id); in Process() local
81 if (inlinedat_id != new_id) { in Process()
[all …]
Dreplace_desc_array_access_using_var_index.cpp228 uint32_t new_id = context()->TakeNextId(); in CloneInstsToBlock() local
229 clone->SetResultId(new_id); in CloneInstsToBlock()
230 (*old_ids_to_new_ids)[inst_to_be_cloned->result_id()] = new_id; in CloneInstsToBlock()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dcompact_ids_pass.cpp32 const uint32_t new_id = in GetRemappedId() local
34 const auto insertion_result = result_id_mapping->emplace(id, new_id); in GetRemappedId()
55 uint32_t new_id = GetRemappedId(&result_id_mapping, id); in Process() local
56 if (id != new_id) { in Process()
58 id = new_id; in Process()
72 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process() local
73 if (scope_id != new_id) { in Process()
74 inst->UpdateLexicalScope(new_id); in Process()
80 uint32_t new_id = GetRemappedId(&result_id_mapping, inlinedat_id); in Process() local
81 if (inlinedat_id != new_id) { in Process()
[all …]
Dreplace_desc_array_access_using_var_index.cpp228 uint32_t new_id = context()->TakeNextId(); in CloneInstsToBlock() local
229 clone->SetResultId(new_id); in CloneInstsToBlock()
230 (*old_ids_to_new_ids)[inst_to_be_cloned->result_id()] = new_id; in CloneInstsToBlock()
/third_party/spirv-tools/source/opt/
Dcompact_ids_pass.cpp32 const uint32_t new_id = in GetRemappedId() local
34 const auto insertion_result = result_id_mapping->emplace(id, new_id); in GetRemappedId()
60 uint32_t new_id = GetRemappedId(&result_id_mapping, id); in Process() local
61 if (id != new_id) { in Process()
63 id = new_id; in Process()
77 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process() local
78 if (scope_id != new_id) { in Process()
79 inst->UpdateLexicalScope(new_id); in Process()
85 uint32_t new_id = GetRemappedId(&result_id_mapping, inlinedat_id); in Process() local
86 if (inlinedat_id != new_id) { in Process()
[all …]
Dinline_pass.cpp512 uint32_t new_id, std::vector<std::unique_ptr<BasicBlock>>* new_blocks) { in UpdateSingleBlockLoopContinueTarget() argument
526 MakeUnique<BasicBlock>(NewLabel(new_id)); in UpdateSingleBlockLoopContinueTarget()
535 AddBranch(new_id, &old_backedge); in UpdateSingleBlockLoopContinueTarget()
539 merge_inst->SetInOperand(1u, {new_id}); in UpdateSingleBlockLoopContinueTarget()
680 auto new_id = context()->TakeNextId(); in GenInlineCode() local
681 if (new_id == 0) return false; in GenInlineCode()
682 UpdateSingleBlockLoopContinueTarget(new_id, new_blocks); in GenInlineCode()
Dreplace_desc_array_access_using_var_index.cpp230 uint32_t new_id = context()->TakeNextId(); in CloneInstsToBlock() local
231 clone->SetResultId(new_id); in CloneInstsToBlock()
232 (*old_ids_to_new_ids)[inst_to_be_cloned->result_id()] = new_id; in CloneInstsToBlock()
/third_party/mesa3d/src/amd/compiler/
Daco_reindex_ssa.cpp43 uint32_t new_id = ctx.temp_rc.size(); in reindex_defs() local
45 ctx.renames[def.tempId()] = new_id; in reindex_defs()
47 def.setTemp(Temp(new_id, rc)); in reindex_defs()
57 uint32_t new_id = ctx.renames[op.tempId()]; in reindex_ops() local
58 assert(op.regClass() == ctx.temp_rc[new_id]); in reindex_ops()
59 op.setTemp(Temp(new_id, op.regClass())); in reindex_ops()
/third_party/selinux/libsepol/src/
Dlink.c127 char *perm_id = key, *new_id = NULL; in permission_copy_callback() local
150 new_id = strdup(perm_id); in permission_copy_callback()
151 if (new_id == NULL) { in permission_copy_callback()
164 (hashtab_key_t) new_id, in permission_copy_callback()
205 free(new_id); in permission_copy_callback()
248 char *id = key, *new_id = NULL; in class_copy_callback() local
301 new_id = strdup(id); in class_copy_callback()
302 if (new_id == NULL) { in class_copy_callback()
309 (hashtab_key_t) new_id, in class_copy_callback()
344 free(new_id); in class_copy_callback()
[all …]
Dexpand.c110 char *id, *new_id; in type_copy_callback() local
131 new_id = strdup(id); in type_copy_callback()
132 if (new_id == NULL) { in type_copy_callback()
140 free(new_id); in type_copy_callback()
149 free(new_id); in type_copy_callback()
158 (hashtab_key_t) new_id, in type_copy_callback()
161 free(new_id); in type_copy_callback()
223 char *id, *new_id; in perm_copy_callback() local
237 new_id = strdup(id); in perm_copy_callback()
238 if (!new_id) { in perm_copy_callback()
[all …]
/third_party/skia/third_party/externals/brotli/c/enc/
Dblock_splitter_inc.h156 uint16_t* new_id, const size_t num_histograms) { in FN()
161 new_id[i] = kInvalidId; in FN()
165 if (new_id[block_ids[i]] == kInvalidId) { in FN()
166 new_id[block_ids[i]] = next_id++; in FN()
170 block_ids[i] = (uint8_t)new_id[block_ids[i]]; in FN()
410 uint16_t* new_id = BROTLI_ALLOC(m, uint16_t, num_histograms); in FN() local
415 BROTLI_IS_NULL(switch_signal) || BROTLI_IS_NULL(new_id)) { in FN()
425 new_id, num_histograms); in FN()
432 BROTLI_FREE(m, new_id); in FN()
/third_party/node/deps/brotli/c/enc/
Dblock_splitter_inc.h156 uint16_t* new_id, const size_t num_histograms) { in FN()
161 new_id[i] = kInvalidId; in FN()
165 if (new_id[block_ids[i]] == kInvalidId) { in FN()
166 new_id[block_ids[i]] = next_id++; in FN()
170 block_ids[i] = (uint8_t)new_id[block_ids[i]]; in FN()
410 uint16_t* new_id = BROTLI_ALLOC(m, uint16_t, num_histograms); in FN() local
415 BROTLI_IS_NULL(switch_signal) || BROTLI_IS_NULL(new_id)) { in FN()
425 new_id, num_histograms); in FN()
432 BROTLI_FREE(m, new_id); in FN()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dchange_operand_reduction_opportunity.h31 uint32_t operand_index, uint32_t new_id) in ChangeOperandReductionOpportunity() argument
36 new_id_(new_id) {} in ChangeOperandReductionOpportunity()
/third_party/spirv-tools/source/reduce/
Dchange_operand_reduction_opportunity.h31 uint32_t operand_index, uint32_t new_id) in ChangeOperandReductionOpportunity() argument
36 new_id_(new_id) {} in ChangeOperandReductionOpportunity()
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dchange_operand_reduction_opportunity.h31 uint32_t operand_index, uint32_t new_id) in ChangeOperandReductionOpportunity() argument
36 new_id_(new_id) {} in ChangeOperandReductionOpportunity()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dcompact_ids_pass.cpp38 const uint32_t new_id = in Process() local
40 const auto insertion_result = result_id_mapping.emplace(id, new_id); in Process()
Dfold_spec_constant_op_and_composite_pass.cpp377 uint32_t new_id = folded_inst->result_id(); in ProcessOpSpecConstantOp() local
379 def_use_mgr_->ReplaceAllUsesWith(old_id, new_id); in ProcessOpSpecConstantOp()
587 uint32_t new_id = ++max_id_; in BuildInstructionAndAddToModule() local
588 module_->SetIdBound(new_id + 1); in BuildInstructionAndAddToModule()
589 const_val_to_id_[new_const] = new_id; in BuildInstructionAndAddToModule()
590 id_to_const_val_[new_id] = std::move(c); in BuildInstructionAndAddToModule()
591 auto new_inst = CreateInstruction(new_id, new_const); in BuildInstructionAndAddToModule()
/third_party/harfbuzz/src/
Dhb-repacker.hh237 int new_id = vertices_.length - 1; in sort_kahn() local
246 id_map[next_id] = new_id--; in sort_kahn()
257 if (!check_success (new_id == -1)) in sort_kahn()
294 int new_id = root_idx (); in sort_shortest_distance() local
302 id_map[next_id] = new_id--; in sort_shortest_distance()
319 if (!check_success (new_id == -1)) in sort_shortest_distance()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-repacker.hh252 int new_id = vertices_.length - 1; in sort_kahn() local
260 sorted_graph[new_id] = next; in sort_kahn()
261 id_map[next_id] = new_id--; in sort_kahn()
272 if (!check_success (new_id == -1)) in sort_kahn()
307 int new_id = root_idx (); in sort_shortest_distance() local
314 sorted_graph[new_id] = next; in sort_shortest_distance()
315 id_map[next_id] = new_id--; in sort_shortest_distance()
332 if (!check_success (new_id == -1)) in sort_shortest_distance()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_propagate_instruction_up.cpp180 auto new_id = GetResultIdFromLabelId(*dependency_inst, predecessor_id); in Apply() local
181 assert(new_id && "OpPhi instruction is missing a predecessor"); in Apply()
182 operand.words[0] = new_id; in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_propagate_instruction_up.cpp180 auto new_id = GetResultIdFromLabelId(*dependency_inst, predecessor_id); in Apply() local
181 assert(new_id && "OpPhi instruction is missing a predecessor"); in Apply()
182 operand.words[0] = new_id; in Apply()
/third_party/spirv-tools/source/fuzz/
Dtransformation_propagate_instruction_up.cpp180 auto new_id = GetResultIdFromLabelId(*dependency_inst, predecessor_id); in Apply() local
181 assert(new_id && "OpPhi instruction is missing a predecessor"); in Apply()
182 operand.words[0] = new_id; in Apply()
/third_party/mesa3d/src/intel/tools/
Daub_write.c54 static struct aub_context *aub_context_new(struct aub_file *aub, uint32_t new_id);
616 aub_context_new(struct aub_file *aub, uint32_t new_id) in aub_context_new() argument
622 ctx->id = new_id; in aub_context_new()
630 uint32_t new_id = ctx_id ? *ctx_id : aub->next_context_handle; in aub_write_context_create() local
632 aub_context_new(aub, new_id); in aub_write_context_create()
637 return new_id; in aub_write_context_create()
/third_party/rust/crates/rust-openssl/openssl/src/
Dpkey_ctx.rs133 pub fn new_id(id: Id) -> Result<Self, ErrorStack> { in new_id() method
711 let mut ctx = PkeyCtx::new_id(Id::CMAC).unwrap(); in cmac_keygen()
722 let mut ctx = PkeyCtx::new_id(Id::HKDF).unwrap(); in hkdf()
744 let mut ctx = PkeyCtx::new_id(Id::HKDF).unwrap(); in hkdf_expand()
768 let mut ctx = PkeyCtx::new_id(Id::HKDF).unwrap(); in hkdf_extract()
/third_party/libbpf/src/
Dbtf.c3861 __u32 new_id = type_id; local
3888 new_id = cand_id;
3901 new_id = cand_id;
3907 new_id = cand_id;
3923 new_id = cand_id;
3933 d->map[type_id] = new_id;
3934 if (type_id == new_id && btf_dedup_table_add(d, h, type_id))
4407 __u32 new_id = type_id; local
4449 new_id = cand_id;
4453 d->map[type_id] = new_id;
[all …]

123