Home
last modified time | relevance | path

Searched refs:arg_id (Results 1 – 17 of 17) sorted by relevance

/third_party/spirv-tools/source/opt/
Dssa_rewrite_pass.cpp80 uint32_t arg_id = phi_args_[arg_ix++]; in PrettyPrint() local
81 str << "[%" << arg_id << ", bb(%" << pred_label << ")] "; in PrettyPrint()
134 for (uint32_t arg_id : phi_candidate->phi_args()) { in TryRemoveTrivialPhi() local
135 if (arg_id == same_id || arg_id == phi_candidate->result_id()) { in TryRemoveTrivialPhi()
146 same_id = arg_id; in TryRemoveTrivialPhi()
209 uint32_t arg_id = IsBlockSealed(pred_bb) in AddPhiOperands() local
212 phi_candidate->phi_args().push_back(arg_id); in AddPhiOperands()
214 if (arg_id == 0) { in AddPhiOperands()
219 PhiCandidate* defining_phi = GetPhiCandidate(arg_id); in AddPhiOperands()
483 uint32_t arg_id = phi_candidate->phi_args()[ix]; in GetPhiArgument() local
[all …]
Dpropagator.cpp147 uint32_t arg_id = instr->GetSingleWordOperand(i); in Simulate() local
148 Instruction* arg_def_instr = get_def_use_mgr()->GetDef(arg_id); in Simulate()
Dmem_pass.cpp362 uint32_t arg_id = phi->GetSingleWordOperand(i); in RemovePhiOperands() local
363 Instruction* arg_def_instr = get_def_use_mgr()->GetDef(arg_id); in RemovePhiOperands()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dssa_rewrite_pass.cpp80 uint32_t arg_id = phi_args_[arg_ix++]; in PrettyPrint() local
81 str << "[%" << arg_id << ", bb(%" << pred_label << ")] "; in PrettyPrint()
134 for (uint32_t arg_id : phi_candidate->phi_args()) { in TryRemoveTrivialPhi() local
135 if (arg_id == same_id || arg_id == phi_candidate->result_id()) { in TryRemoveTrivialPhi()
146 same_id = arg_id; in TryRemoveTrivialPhi()
209 uint32_t arg_id = IsBlockSealed(pred_bb) in AddPhiOperands() local
212 phi_candidate->phi_args().push_back(arg_id); in AddPhiOperands()
214 if (arg_id == 0) { in AddPhiOperands()
219 PhiCandidate* defining_phi = GetPhiCandidate(arg_id); in AddPhiOperands()
483 uint32_t arg_id = phi_candidate->phi_args()[ix]; in GetPhiArgument() local
[all …]
Dpropagator.cpp147 uint32_t arg_id = instr->GetSingleWordOperand(i); in Simulate() local
148 Instruction* arg_def_instr = get_def_use_mgr()->GetDef(arg_id); in Simulate()
Dmem_pass.cpp361 uint32_t arg_id = phi->GetSingleWordOperand(i); in RemovePhiOperands() local
362 Instruction* arg_def_instr = get_def_use_mgr()->GetDef(arg_id); in RemovePhiOperands()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dssa_rewrite_pass.cpp80 uint32_t arg_id = phi_args_[arg_ix++]; in PrettyPrint() local
81 str << "[%" << arg_id << ", bb(%" << pred_label << ")] "; in PrettyPrint()
134 for (uint32_t arg_id : phi_candidate->phi_args()) { in TryRemoveTrivialPhi() local
135 if (arg_id == same_id || arg_id == phi_candidate->result_id()) { in TryRemoveTrivialPhi()
146 same_id = arg_id; in TryRemoveTrivialPhi()
209 uint32_t arg_id = IsBlockSealed(pred_bb) in AddPhiOperands() local
212 phi_candidate->phi_args().push_back(arg_id); in AddPhiOperands()
214 if (arg_id == 0) { in AddPhiOperands()
219 PhiCandidate* defining_phi = GetPhiCandidate(arg_id); in AddPhiOperands()
483 uint32_t arg_id = phi_candidate->phi_args()[ix]; in GetPhiArgument() local
[all …]
Dpropagator.cpp147 uint32_t arg_id = instr->GetSingleWordOperand(i); in Simulate() local
148 Instruction* arg_def_instr = get_def_use_mgr()->GetDef(arg_id); in Simulate()
Dmem_pass.cpp361 uint32_t arg_id = phi->GetSingleWordOperand(i); in RemovePhiOperands() local
362 Instruction* arg_def_instr = get_def_use_mgr()->GetDef(arg_id); in RemovePhiOperands()
/third_party/rust/crates/clap/src/parser/
Dvalidator.rs100 for (arg_id, _) in matcher in validate_conflicts()
103 .filter(|(arg_id, _)| self.cmd.find(arg_id).is_some()) in validate_conflicts()
105 debug!("Validator::validate_conflicts::iter: id={:?}", arg_id); in validate_conflicts()
106 let conflicts = conflicts.gather_conflicts(self.cmd, arg_id); in validate_conflicts()
107 ok!(self.build_conflict_err(arg_id, &conflicts, matcher)); in validate_conflicts()
117 .filter(|(arg_id, matched)| { in validate_exclusive()
121 && self.cmd.find(arg_id).is_some() in validate_exclusive()
482 fn gather_conflicts(&self, cmd: &Command, arg_id: &Id) -> Vec<Id> { in gather_conflicts()
483 debug!("Conflicts::gather_conflicts: arg={:?}", arg_id); in gather_conflicts()
487 let arg_id_conflicts = if let Some(arg_id_conflicts) = self.get_direct_conflicts(arg_id) { in gather_conflicts()
[all …]
Dparser.rs795 .filter(|arg_id| { in parse_long_arg()
796 matcher.check_explicit(arg_id, &crate::builder::ArgPredicate::IsPresent) in parse_long_arg()
1368 for arg_id in matcher.arg_ids() { in remove_overrides()
1369 if let Some(overrider) = self.cmd.find(arg_id) { in remove_overrides()
1559 .filter(|arg_id| { in did_you_mean_error()
1560 matcher.check_explicit(arg_id, &crate::builder::ArgPredicate::IsPresent) in did_you_mean_error()
/third_party/rust/crates/clap/src/builder/
Darg.rs731 pub fn requires(mut self, arg_id: impl IntoResettable<Id>) -> Self { in requires()
732 if let Some(arg_id) = arg_id.into_resettable().into_option() { in requires()
733 self.requires.push((ArgPredicate::IsPresent, arg_id)); in requires()
2751 arg_id: impl Into<Id>, in default_value_if()
2756 arg_id.into(), in default_value_if()
2771 arg_id: impl Into<Id>, in default_value_if_os()
2775 self.default_value_if(arg_id, predicate, default) in default_value_if_os()
2949 pub fn required_unless_present(mut self, arg_id: impl IntoResettable<Id>) -> Self { in required_unless_present()
2950 if let Some(arg_id) = arg_id.into_resettable().into_option() { in required_unless_present()
2951 self.r_unless.push(arg_id); in required_unless_present()
[all …]
Darg_group.rs152 pub fn arg(mut self, arg_id: impl IntoResettable<Id>) -> Self { in arg()
153 if let Some(arg_id) = arg_id.into_resettable().into_option() { in arg()
154 self.args.push(arg_id); in arg()
Dcommand.rs238 pub fn mut_arg<F>(mut self, arg_id: impl AsRef<str>, f: F) -> Self in mut_arg()
242 let id = arg_id.as_ref(); in mut_arg()
4377 pub(crate) fn find(&self, arg_id: &Id) -> Option<&Arg> { in find()
4378 self.args.args().find(|a| a.get_id() == arg_id) in find()
/third_party/googletest/googlemock/include/gmock/
Dgmock-actions.h1515 template <std::size_t... arg_id, std::size_t... excess_id>
1516 R Apply(IndexSequence<arg_id...>, IndexSequence<excess_id...>,
1527 /*argN_type=*/typename std::tuple_element<arg_id, args_type>::type...>(
1528 /*args=*/args, std::get<arg_id>(args)...,
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross_parsed_ir.cpp528 for (uint32_t arg_id : cop.arguments) in mark_used_as_array_length() local
529 mark_used_as_array_length(arg_id); in mark_used_as_array_length()
Dspirv_msl.cpp1238 uint32_t arg_id = argument_buffer_ids[desc_set]; in emit_entry_point_declarations() local
1270 to_restrict(var_id, false), ")", to_name(arg_id), ".", ensure_valid_name(name, "m"), in emit_entry_point_declarations()
1288 … get_argument_address_space(var), " char* ", to_restrict(var_id, false), ")", to_name(arg_id), ".", in emit_entry_point_declarations()
1634 uint32_t arg_id = ops[arg_idx]; in extract_global_variables_from_function() local
1635 if (global_var_ids.find(arg_id) != global_var_ids.end()) in extract_global_variables_from_function()
1636 added_arg_ids.insert(arg_id); in extract_global_variables_from_function()
1763 for (uint32_t arg_id : added_arg_ids) in extract_global_variables_from_function() local
1765 auto &var = get<SPIRVariable>(arg_id); in extract_global_variables_from_function()
1768 BuiltIn bi_type = BuiltIn(get_decoration(arg_id, DecorationBuiltIn)); in extract_global_variables_from_function()
1770 bool is_patch = has_decoration(arg_id, DecorationPatch) || is_patch_block(*p_type); in extract_global_variables_from_function()
[all …]