Home
last modified time | relevance | path

Searched refs:tuple_index (Results 1 – 25 of 76) sorted by relevance

1234

/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/classic/phoenix/
Dtuples.hpp422 struct tuple_index {}; struct
427 tuple_index<0> const _1 = tuple_index<0>();
428 tuple_index<1> const _2 = tuple_index<1>();
429 tuple_index<2> const _3 = tuple_index<2>();
432 tuple_index<3> const _4 = tuple_index<3>();
433 tuple_index<4> const _5 = tuple_index<4>();
434 tuple_index<5> const _6 = tuple_index<5>();
437 tuple_index<6> const _7 = tuple_index<6>();
438 tuple_index<7> const _8 = tuple_index<7>();
439 tuple_index<8> const _9 = tuple_index<8>();
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/
H A Dwhile_loop_all_reduce_code_motion.cc205 std::vector<int> tuple_index; in IsAllReduceMovable() member
235 if (!result.tuple_index.empty()) { in IsAllReduceMovable()
239 result.tuple_index.push_back( in IsAllReduceMovable()
241 ->tuple_index()); in IsAllReduceMovable()
307 if (!result.tuple_index.empty()) { in IsAllReduceMovable()
311 result.tuple_index.push_back(user->operand_index(instruction)); in IsAllReduceMovable()
353 int tuple_index = accumulation.param_tuple_indices[0]; in IsAllReduceMovable() local
365 if (gte->tuple_index() == tuple_index) { in IsAllReduceMovable()
516 !origin_buffer_tuple_index.tuple_index.empty() && in IsAllReduceMovable()
517 absl::c_equal(origin_buffer_tuple_index.tuple_index, in IsAllReduceMovable()
[all …]
H A Dwhile_loop_simplifier.cc108 int64_t old_idx = user->tuple_index(); in RemoveDeadTupleIndices()
295 used_indices_after_loop.insert(user->tuple_index()); in TryRemoveDeadWhileParams()
376 deps.Add(inst->tuple_index()); in TryRemoveDeadWhileParams()
378 while_body_root->mutable_operand(inst->tuple_index()); in TryRemoveDeadWhileParams()
424 groups[disjoint_sets[gte].Get()].insert(gte->tuple_index()); in TryRemoveDeadWhileParams()
437 output->tuple_index() == index)); in TryRemoveDeadWhileParams()
472 HloInstruction* while_op, const int64_t tuple_index, in TryRemoveRepeatedWhileTupleIndicesHelper() argument
487 comp->parameter_instruction(0)->shape().tuple_shapes(tuple_index), in TryRemoveRepeatedWhileTupleIndicesHelper()
488 comp->parameter_instruction(0), tuple_index)); in TryRemoveRepeatedWhileTupleIndicesHelper()
493 duplicates.contains(instr->tuple_index()) && in TryRemoveRepeatedWhileTupleIndicesHelper()
[all …]
H A Dhlo_module_dce_test.cc47 const int64_t tuple_index) { in WhileBodyHasPassThroughTupleElement() argument
57 auto* operand = while_body_root->operand(tuple_index); in WhileBodyHasPassThroughTupleElement()
59 operand->tuple_index() == tuple_index && in WhileBodyHasPassThroughTupleElement()
H A Dhlo_evaluator.cc223 {/*param_index=*/loop_cond_root->operand(0)->tuple_index()}, in PatternMatchLoopCondComparison()
224 {/*param_index=*/loop_cond_root->operand(1)->tuple_index()}}; in PatternMatchLoopCondComparison()
241 {/*param_index=*/loop_cond_root->operand(1)->tuple_index()}}; in PatternMatchLoopCondComparison()
256 {/*param_index=*/loop_cond_root->operand(0)->tuple_index(), in PatternMatchLoopCondComparison()
268 return ParamIndexAndValue{{/*param_index=*/loop_cond_root->tuple_index()}}; in PatternMatchLoopCondComparison()
285 to_apply_root->mutable_operand(loop_cond_root->tuple_index())); in PatternMatchLoopCondComparison()
295 loop_cond_root->tuple_index()); in PatternMatchLoopCondComparison()
304 HloInstruction* loop_body_root, int64_t tuple_index) { in PatternMatchInductionVarUpdate() argument
308 tuple_index, in PatternMatchInductionVarUpdate()
311 .WithTupleIndex(tuple_index) in PatternMatchInductionVarUpdate()
[all …]
H A Dwhile_loop_constant_sinking.cc33 int64_t tuple_index) { in ReplaceUsesWhileKeepingLoopInvariance() argument
43 !(user == while_body_root && i == tuple_index)) { in ReplaceUsesWhileKeepingLoopInvariance()
86 int64_t index = invariant_body_gte->tuple_index(); in TrySinkingConstantsIntoWhileLoop()
H A Dconditional_simplifier.cc85 tuple_indices_to_keep.insert(user->tuple_index()); in TryRemoveUnusedConditionalOperands()
115 user->set_tuple_index(map[user->tuple_index()]); in TryRemoveUnusedConditionalOperands()
225 used_indices[user->tuple_index()] = true; in RemoveUnusedTupleElements()
307 const int old_index = user->tuple_index(); in RemoveUnusedTupleElements()
413 if (user->tuple_index() == j) { in MergeDuplicateTupleElements()
H A Dwhile_loop_concat_code_motion.cc631 registered_group.elements[i]->tuple_index()); in GroupHlosForConcat()
650 result[user->tuple_index()] = true; in TupleElementsUsedInCond()
685 copy_group[j] = copies[param_group.elements[j]->tuple_index()]; in AddCopiesToRoot()
747 input_concat_elements.push_back(init_elements[param_gte->tuple_index()]); in RewriteLoopWithConcatGroups()
771 auto concat_output = output_elements[group.elements[0]->tuple_index()]; in RewriteLoopWithConcatGroups()
774 output_elements[param_gte->tuple_index()] = in RewriteLoopWithConcatGroups()
966 int64_t idx = user->tuple_index(); in RunOnLoop()
1016 TF_RETURN_IF_ERROR(root->ReplaceOperandWith(gte->tuple_index(), gte)); in RunOnLoop()
H A Dar_crs_combiner.cc279 tuple->mutable_operand(instruction->tuple_index()), visited); in GetAllTuples()
393 return i1->tuple_index() == i2->tuple_index() || in InstructionsComputeSameValue()
394 TupleElementsComputeSameValue(operands1[0], i1->tuple_index(), in InstructionsComputeSameValue()
395 i2->tuple_index(), visited_pairs); in InstructionsComputeSameValue()
H A Dconditional_code_motion.cc316 int64_t index = gte->tuple_index(); in CopyIntoConditional()
502 if (instr->tuple_index() == index) { in ConvertSpecialMove()
661 int64_t index = tuple_opd->tuple_index(); in MoveInstructionOut()
747 ? tuple_use->tuple_index() in MoveInstructionIn()
810 user->tuple_index() > use_index) { in MoveInstructionIn()
811 user->set_tuple_index(user->tuple_index() - 1); in MoveInstructionIn()
888 conditional->shape().tuple_shapes(user->tuple_index()); in MoveInstructionIn()
1089 auto index = tuple_gte->tuple_index(); in ReusesBeforeBoundary()
1126 if (index == tuple_opd->tuple_index()) { in ReusesAfterBoundary()
1193 const auto* tuple_operand = root->operand(gte->tuple_index()); in BenefitForMovingBoundaries()
H A Dwhile_loop_analysis.cc81 int64_t operand_tuple_idx = possibly_gte_operand->tuple_index(); in GetGTEOperandIndex()
130 auto it = extractions.find(indx_instr->tuple_index()); in GetAuxiliaryLoopInductionVars()
137 extractions.insert(std::make_pair(indx_instr->tuple_index(), indx_instr)); in GetAuxiliaryLoopInductionVars()
610 int64_t indvar_index = cond_gte->tuple_index(); in ComputeWhileLoopTripCountUpperBound()
H A Dwhile_loop_analysis_test.cc198 EXPECT_EQ(aux_indices[0]->tuple_index(), 1); in TEST_F()
272 EXPECT_EQ(aux_indices[0]->tuple_index(), 1); in TEST_F()
H A Dhlo_matchers.h80 int64_t tuple_index) in HloGetTupleElementMatcher() argument
82 tuple_index_(tuple_index) {}
387 ::testing::Matcher<const HloInstruction*> operand, int64_t tuple_index) { in GetTupleElement() argument
389 new ::xla::testing::HloGetTupleElementMatcher(operand, tuple_index)); in GetTupleElement()
H A Dsort_simplifier.cc51 used_indices.insert(user->tuple_index()); in RemoveUnusedOperandFromSort()
131 user->ReplaceAllUsesWith(result_map.at(user->tuple_index()))); in RemoveUnusedOperandFromSort()
H A Dtuple_util.cc77 instruction->tuple_index() != index) { in ReplaceTupleWith()
160 use->tuple_index() == index; in AddGetTupleElements()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/classic/utility/
Dgrammar_def.hpp100 static void do_(TupleT &t) { t[::phoenix::tuple_index<N>()] = 0; } in do_()
292 BOOST_SPIRIT_ASSERT(0 != t[::phoenix::tuple_index<N>()]); in get_start_parser()
294 return t[::phoenix::tuple_index<N>()]; in get_start_parser()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dwhile_transformer_test.cc38 const int64_t tuple_index, const int64_t limit) { in BuildConditionComputation() argument
43 0, GetLoopStateShape(tuple_index), "loop_state")); in BuildConditionComputation()
46 limit_const->shape(), loop_state, tuple_index)); in BuildConditionComputation()
/aosp_15_r20/external/rust/android-crates-io/crates/quickcheck/src/
Darbitrary.rs199 ($(($type_param:ident, $tuple_index:tt),)*) => {
216 self.$tuple_index.shrink().map(move |shr_value| {
218 result.$tuple_index = shr_value;
231 (@internal [$($acc:tt,)*] ($type_param:ident, $tuple_index:tt), $($rest:tt,)*) => {
232 impl_arb_for_single_tuple!($($acc,)* ($type_param, $tuple_index),);
233 impl_arb_for_tuples!(@internal [$($acc,)* ($type_param, $tuple_index),] $($rest,)*);
235 ($(($type_param:ident, $tuple_index:tt),)*) => {
236 impl_arb_for_tuples!(@internal [] $(($type_param, $tuple_index),)*);
/aosp_15_r20/external/python/cpython3/Objects/clinic/
Dtupleobject.c.h14 {"index", _PyCFunction_CAST(tuple_index), METH_FASTCALL, tuple_index__doc__},
21 tuple_index(PyTupleObject *self, PyObject *const *args, Py_ssize_t nargs) in tuple_index() function
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/classic/phoenix/example/fundamental/
Dsample10.cpp85 { return tuple.locs[tuple_index<N>()]; } in get()
175 { return tuple.locs[tuple_index<N>()].eval(tuple); } in eval()
358 return local_context.locs[tuple_index<0>()]; in eval()
Dsample8.cpp99 return tuple.locs[tuple_index<N>()]; in eval()
147 return local_context.locs[tuple_index<0>()]; in eval()
Dsample9.cpp92 { return tuple.locs[tuple_index<N>()]; } in get()
183 return local_context.locs[tuple_index<0>()]; in eval()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/read-fonts-0.15.6/src/tables/
H A Dvariations.rs147 self.tuple_index().0.into() in traverse_tuple_index()
154 self.tuple_index().embedded_peak_tuple().then(|| { in peak_tuple()
165 self.tuple_index().intermediate_region().then(|| { in intermediate_start_tuple()
176 self.tuple_index().intermediate_region().then(|| { in intermediate_end_tuple()
188 let index = self.tuple_index(); in byte_len()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/RISCV/
H A DRISCVRegisterInfo.td370 // (tuple_index + i) x lmul <= (tuple_index x lmul) + 32 - (nf x lmul)
379 class IndexSet<int tuple_index, int nf, int lmul, bit isV0 = false> {
395 !if(!le(!mul(!add(i, tuple_index), lmul),
396 !sub(!add(32, !mul(tuple_index, lmul)), !mul(nf, lmul))),
397 [!mul(!add(i, tuple_index), lmul)], [])));
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/classic/dynamic/impl/
Dselect.ipp76 result_t result(t[::phoenix::tuple_index<index>()].parse(scan));
102 result_t result(t[::phoenix::tuple_index<index>()].parse(scan));

1234