Searched refs:tuple (Results 1 - 25 of 57) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/util/
H A Dadaptor.hpp28 #include "util/tuple.hpp"
56 iterator_adaptor(F f, std::tuple<Is...> &&its) :
62 return tuple::apply(f, tuple::map(derefs(), its));
67 tuple::map(preincs(), its);
95 tuple::map(predecs(), its);
108 tuple::map(advances_by(n), its);
114 tuple::map(advances_by(-n), its);
164 std::tuple<Is...> its;
H A Drange.hpp256 return { f, tuple::map(begins(), os) };
261 return { f, tuple::map(advances_by(size()),
262 tuple::map(begins(), os)) };
267 return { f, tuple::map(begins(), os) };
272 return { f, tuple::map(advances_by(size()),
273 tuple::map(begins(), os)) };
278 return tuple::apply(minimum(), tuple::map(sizes(), os));
283 std::tuple<Os...> os;
H A Dtuple.hpp26 #include <tuple>
29 namespace tuple { namespace in namespace:clover
72 /// Evaluate function \a f with the elements of tuple \a t
92 typedef std::tuple<
105 /// Evaluate function \a f on each element of the tuple \a t and
106 /// return the resulting values as a new tuple.
H A Dfunctional.hpp284 std::tuple<Ts...>
286 return std::tuple<Ts...>(std::forward<Ts>(xs)...);
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/util/
H A Dadaptor.hpp29 #include "util/tuple.hpp"
57 iterator_adaptor(F f, std::tuple<Is...> &&its) :
63 return tuple::apply(f, tuple::map(derefs(), its));
68 tuple::map(preincs(), its);
96 tuple::map(predecs(), its);
109 tuple::map(advances_by(n), its);
115 tuple::map(advances_by(-n), its);
165 std::tuple<Is...> its;
H A Drange.hpp256 return { f, tuple::map(begins(), os) };
261 return { f, tuple::map(advances_by(size()),
262 tuple::map(begins(), os)) };
267 return { f, tuple::map(begins(), os) };
272 return { f, tuple::map(advances_by(size()),
273 tuple::map(begins(), os)) };
278 return tuple::apply(minimum(), tuple::map(sizes(), os));
283 std::tuple<Os...> os;
H A Dtuple.hpp26 #include <tuple>
29 namespace tuple { namespace in namespace:clover
72 /// Evaluate function \a f with the elements of tuple \a t
92 typedef std::tuple<
105 /// Evaluate function \a f on each element of the tuple \a t and
106 /// return the resulting values as a new tuple.
H A Dfunctional.hpp284 std::tuple<Ts...>
286 return std::tuple<Ts...>(std::forward<Ts>(xs)...);
/xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/internal/
H A Dgtest-tuple.h2 // pump.py gtest-tuple.h.pump
36 // Implements a subset of TR1 tuple needed by Google Test and Google Mock.
44 // tuple template as a friend (it complains that tuple is redefined). This
52 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \
57 // with our own definitions. Therefore using our own tuple does not work on
60 # error "gtest's tuple doesn't compile on Visual Studio 2010 or later. \
64 // GTEST_n_TUPLE_(T) is the type of an n-tuple.
65 #define GTEST_0_TUPLE_(T) tuple<>
66 #define GTEST_1_TUPLE_(T) tuple<
205 class tuple<> { class in namespace:std::tr1
207 tuple() {} function in class:std::tr1::tuple
208 tuple(const tuple& /* t */) {} function in class:std::tr1::tuple
217 tuple() : f0_() {} function in class:std::tr1::GTEST_1_TUPLE_
219 explicit tuple(GTEST_BY_REF_(T0) f0) : f0_(f0) {} function in class:std::tr1::GTEST_1_TUPLE_
221 tuple(const tuple& t) : f0_(t.f0_) {} function in class:std::tr1::GTEST_1_TUPLE_
224 tuple(const GTEST_1_TUPLE_(U)& t) : f0_(t.f0_) {} function in class:std::tr1::GTEST_1_TUPLE_
249 tuple() : f0_(), f1_() {} function in class:std::tr1::GTEST_2_TUPLE_
251 explicit tuple(GTEST_BY_REF_(T0) f0, GTEST_BY_REF_(T1) f1) : f0_(f0), function in class:std::tr1::GTEST_2_TUPLE_
254 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_) {} function in class:std::tr1::GTEST_2_TUPLE_
257 tuple(const GTEST_2_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_) {} function in class:std::tr1::GTEST_2_TUPLE_
259 tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {} function in class:std::tr1::GTEST_2_TUPLE_
292 tuple() : f0_(), f1_(), f2_() {} function in class:std::tr1::GTEST_3_TUPLE_
294 explicit tuple(GTEST_BY_REF_(T0) f0, GTEST_BY_REF_(T1) f1, function in class:std::tr1::GTEST_3_TUPLE_
297 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_) {} function in class:std::tr1::GTEST_3_TUPLE_
300 tuple(const GTEST_3_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_) {} function in class:std::tr1::GTEST_3_TUPLE_
329 tuple() : f0_(), f1_(), f2_(), f3_() {} function in class:std::tr1::GTEST_4_TUPLE_
331 explicit tuple(GTEST_BY_REF_(T0) f0, GTEST_BY_REF_(T1) f1, function in class:std::tr1::GTEST_4_TUPLE_
335 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_) {} function in class:std::tr1::GTEST_4_TUPLE_
338 tuple(const GTEST_4_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), function in class:std::tr1::GTEST_4_TUPLE_
370 tuple() : f0_(), f1_(), f2_(), f3_(), f4_() {} function in class:std::tr1::GTEST_5_TUPLE_
372 explicit tuple(GTEST_BY_REF_(T0) f0, GTEST_BY_REF_(T1) f1, function in class:std::tr1::GTEST_5_TUPLE_
376 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::GTEST_5_TUPLE_
380 tuple(const GTEST_5_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), function in class:std::tr1::GTEST_5_TUPLE_
414 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_() {} function in class:std::tr1::GTEST_6_TUPLE_
416 explicit tuple(GTEST_BY_REF_(T0) f0, GTEST_BY_REF_(T1) f1, function in class:std::tr1::GTEST_6_TUPLE_
421 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::GTEST_6_TUPLE_
425 tuple(const GTEST_6_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), function in class:std::tr1::GTEST_6_TUPLE_
461 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_() {} function in class:std::tr1::GTEST_7_TUPLE_
463 explicit tuple(GTEST_BY_REF_(T0) f0, GTEST_BY_REF_(T1) f1, function in class:std::tr1::GTEST_7_TUPLE_
468 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::GTEST_7_TUPLE_
472 tuple(const GTEST_7_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), function in class:std::tr1::GTEST_7_TUPLE_
510 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_() {} function in class:std::tr1::GTEST_8_TUPLE_
512 explicit tuple(GTEST_BY_REF_(T0) f0, GTEST_BY_REF_(T1) f1, function in class:std::tr1::GTEST_8_TUPLE_
518 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::GTEST_8_TUPLE_
522 tuple(const GTEST_8_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), function in class:std::tr1::GTEST_8_TUPLE_
562 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_() {} function in class:std::tr1::GTEST_9_TUPLE_
564 explicit tuple(GTEST_BY_REF_(T0) f0, GTEST_BY_REF_(T1) f1, function in class:std::tr1::GTEST_9_TUPLE_
570 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::GTEST_9_TUPLE_
574 tuple(const GTEST_9_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), function in class:std::tr1::GTEST_9_TUPLE_
612 class tuple { class in namespace:std::tr1
616 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_(), function in class:std::tr1::tuple
619 explicit tuple(GTEST_BY_REF_(T0) f0, GTEST_BY_REF_(T1) f1, function in class:std::tr1::tuple
625 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::tuple
629 tuple(const GTEST_10_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), function in class:std::tr1::tuple
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbi_schedule.c50 /* State of a single tuple and clause under construction */
58 * "forced" for the next scheduled tuple, provided such a tuple
63 /* The previous tuple scheduled (= the next tuple executed in the
72 /* Is this the last tuple in the clause */
78 /* Reads for previous (succeeding) tuple */
83 /* Register slot state for current tuple */
86 /* Constants are shared in the tuple. If constant_count is nonzero, it
89 * but within a tuple, tha
307 bi_lower_cubeface(bi_context * ctx,struct bi_clause_state * clause,struct bi_tuple_state * tuple) argument
330 bi_lower_atom_c(bi_context * ctx,struct bi_clause_state * clause,struct bi_tuple_state * tuple) argument
349 bi_lower_atom_c1(bi_context * ctx,struct bi_clause_state * clause,struct bi_tuple_state * tuple) argument
370 bi_lower_seg_add(bi_context * ctx,struct bi_clause_state * clause,struct bi_tuple_state * tuple) argument
390 bi_lower_dtsel(bi_context * ctx,struct bi_clause_state * clause,struct bi_tuple_state * tuple) argument
750 bi_update_fau(struct bi_clause_state * clause,struct bi_tuple_state * tuple,bi_instr * instr,bool fma,bool destructive) argument
977 bi_instr_schedulable(bi_instr * instr,struct bi_clause_state * clause,struct bi_tuple_state * tuple,uint64_t live_after_temp,bool fma) argument
1084 bi_instr_cost(bi_instr * instr,struct bi_tuple_state * tuple) argument
1108 bi_choose_index(struct bi_worklist st,struct bi_clause_state * clause,struct bi_tuple_state * tuple,uint64_t live_after_temp,bool fma) argument
1140 bi_pop_instr(struct bi_clause_state * clause,struct bi_tuple_state * tuple,bi_instr * instr,uint64_t live_after_temp,bool fma) argument
1163 bi_take_instr(bi_context * ctx,struct bi_worklist st,struct bi_clause_state * clause,struct bi_tuple_state * tuple,uint64_t live_after_temp,bool fma) argument
1275 bi_rewrite_fau_to_pass(bi_tuple * tuple) argument
1303 bi_rewrite_constants_to_pass(bi_tuple * tuple,uint64_t constant,bool pcrel) argument
1339 bi_get_const_state(struct bi_tuple_state * tuple) argument
1592 bi_tuple *tuple = NULL; local in function:bi_schedule_clause
1743 bi_tuple *tuple = &clause->tuples[i]; local in function:bi_schedule_clause
1771 bi_tuple *tuple = &clause->tuples[i]; local in function:bi_schedule_clause
[all...]
H A Dbi_pack.c309 bi_pack_tuple(bi_clause *clause, bi_tuple *tuple, bi_tuple *prev, bool first_tuple, gl_shader_stage stage) argument
311 bi_assign_slots(tuple, prev);
312 tuple->regs.fau_idx = tuple->fau_idx;
313 tuple->regs.first_instruction = first_tuple;
315 bi_flip_slots(&tuple->regs);
317 bool sr_read = tuple->add &&
318 bi_opcode_props[(tuple->add)->op].sr_read;
320 uint64_t reg = bi_pack_registers(tuple->regs);
321 uint64_t fma = bi_pack_fma(tuple
450 struct bi_packed_tuple tuple = tuples[val]; local in function:bi_clause_upper
478 struct bi_packed_tuple tuple = tuples[val]; local in function:bi_pack_tuple_bits
697 const bi_tuple *tuple = &clause->tuples[clause->tuple_count - 1]; local in function:bi_collect_blend_ret_addr
[all...]
H A Dbi_print.c68 bi_print_tuple(bi_tuple *tuple, FILE *fp) argument
70 bi_instr *ins[2] = { tuple->fma, tuple->add };
H A Dcompiler.h511 * registers via slots which are assigned per tuple.
559 * Also implicitly constant_count <= tuple_count since a tuple only
828 #define bi_foreach_instr_in_tuple(tuple, v) \
829 for (bi_instr *v = (tuple)->fma ?: (tuple)->add; \
831 v = (v == (tuple)->add) ? NULL : (tuple)->add)
858 #define bi_foreach_instr_and_src_in_tuple(tuple, ins, s) \
859 bi_foreach_instr_in_tuple(tuple, ins) \
899 void bi_print_tuple(bi_tuple *tuple, FIL
1064 bi_first_instr_in_tuple(bi_tuple * tuple) argument
1080 bi_tuple tuple = clause->tuples[clause->tuple_count - 1]; local in function:bi_last_instr_in_clause
1115 bi_before_tuple(bi_tuple * tuple) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/tests/
H A Dst_tests_common.h55 FakeCodeline(tgsi_opcode _op, const std::vector<std::tuple<int,int,int>>& _dst,
56 const std::vector<std::tuple<int,int,int>>& _src,
57 const std::vector<std::tuple<int,int,int>>&_to, RA with_reladdr);
59 FakeCodeline(tgsi_opcode _op, const std::vector<std::tuple<int, int, int> > &_dst,
60 const std::vector<std::tuple<int,int, const char*>>& _src,
61 const std::vector<std::tuple<int,int, const char*>>&_to, ARR with_array);
79 st_src_reg create_src_register(const std::tuple<int,int,int>& src);
81 st_src_reg create_array_src_register(const std::tuple<int,int,const char*>& r);
82 st_dst_reg create_array_dst_register(const std::tuple<int,int,int>& r);
87 st_dst_reg create_dst_register(const std::tuple<in
[all...]
H A Dst_tests_common.cpp40 using std::tuple;
89 FakeCodeline::FakeCodeline(tgsi_opcode _op, const vector<tuple<int,int,int>>& _dst,
90 const vector<tuple<int,int,int>>& _src,
91 const vector<tuple<int,int,int>>&_to, RA with_reladdr):
99 [this](const tuple<int,int,int>& r) { argument
104 [this](const tuple<int,int,int>& r) { argument
109 [this](const tuple<int,int,int>& r) { argument
114 FakeCodeline::FakeCodeline(tgsi_opcode _op, const vector<tuple<int,int,int>>& _dst,
115 const vector<tuple<int,int, const char*>>& _src,
116 const vector<tuple<in
123 __anon4db99d8d0a02(const tuple<int,int,int>& r) argument
128 __anon4db99d8d0b02(const tuple<int,int,const char*>& r) argument
133 __anon4db99d8d0c02(const tuple<int,int,const char*>& r) argument
264 create_array_src_register(const tuple<int,int,const char * > & r) argument
286 create_array_dst_register(const tuple<int,int,int> & r) argument
306 create_src_register(const tuple<int,int,int> & src) argument
378 create_dst_register(const tuple<int,int,int> & dst) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/tests/
H A Dst_tests_common.h55 FakeCodeline(tgsi_opcode _op, const std::vector<std::tuple<int,int,int>>& _dst,
56 const std::vector<std::tuple<int,int,int>>& _src,
57 const std::vector<std::tuple<int,int,int>>&_to, RA with_reladdr);
59 FakeCodeline(tgsi_opcode _op, const std::vector<std::tuple<int, int, int> > &_dst,
60 const std::vector<std::tuple<int,int, const char*>>& _src,
61 const std::vector<std::tuple<int,int, const char*>>&_to, ARR with_array);
79 st_src_reg create_src_register(const std::tuple<int,int,int>& src);
81 st_src_reg create_array_src_register(const std::tuple<int,int,const char*>& r);
82 st_dst_reg create_array_dst_register(const std::tuple<int,int,int>& r);
87 st_dst_reg create_dst_register(const std::tuple<in
[all...]
H A Dst_tests_common.cpp40 using std::tuple;
89 FakeCodeline::FakeCodeline(tgsi_opcode _op, const vector<tuple<int,int,int>>& _dst,
90 const vector<tuple<int,int,int>>& _src,
91 const vector<tuple<int,int,int>>&_to, RA with_reladdr):
99 [this](const tuple<int,int,int>& r) { argument
104 [this](const tuple<int,int,int>& r) { argument
109 [this](const tuple<int,int,int>& r) { argument
114 FakeCodeline::FakeCodeline(tgsi_opcode _op, const vector<tuple<int,int,int>>& _dst,
115 const vector<tuple<int,int, const char*>>& _src,
116 const vector<tuple<in
123 __anon9b54b0600a02(const tuple<int,int,int>& r) argument
128 __anon9b54b0600b02(const tuple<int,int,const char*>& r) argument
133 __anon9b54b0600c02(const tuple<int,int,const char*>& r) argument
264 create_array_src_register(const tuple<int,int,const char * > & r) argument
286 create_array_dst_register(const tuple<int,int,int> & r) argument
306 create_src_register(const tuple<int,int,int> & src) argument
378 create_dst_register(const tuple<int,int,int> & dst) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/
H A Dgtest-printers.h76 // // Prints the fields of a tuple tersely to a string vector, one
107 # include <tuple>
585 // Helper function for printing a tuple. T must be instantiated with
586 // a tuple type.
592 // Overload for ::std::tr1::tuple. Needed for printing function arguments,
597 // regardless of whether tr1::tuple is implemented using the
600 inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) {
605 void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) {
610 void PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) {
615 void PrintTo(const ::std::tr1::tuple<T
882 get(const Tuple & tuple) argument
901 get(const Tuple & tuple) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/jitter/
H A Djit_pch.hpp147 #include <tuple>
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/jitter/
H A Djit_pch.hpp174 #include <tuple>
/xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/internal/
H A Dgtest-param-util.h44 #include <tuple>
752 : public ParamGeneratorInterface<::std::tuple<T...>> {
754 typedef ::std::tuple<T...> ParamType;
756 CartesianProductGenerator(const std::tuple<ParamGenerator<T>...>& g)
775 const std::tuple<ParamGenerator<T>...>& generators, bool is_end)
855 std::tuple<typename ParamGenerator<T>::iterator...> begin_;
856 std::tuple<typename ParamGenerator<T>::iterator...> end_;
857 std::tuple<typename ParamGenerator<T>::iterator...> current_;
863 std::tuple<ParamGenerator<T>...> generators_;
871 operator ParamGenerator<::std::tuple<
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/
H A DMakefile.sources53 util/tuple.hpp
/xsrc/external/mit/MesaLib.old/dist/scons/
H A Dcustom.py56 scons_version = tuple(map(int, SCons.__version__.split('.')[:3]))
289 if f.endswith(tuple(['.h','.hpp','.inl'])):
/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dgfx10_format_table.py153 (tuple(['_'.join(fmt.code)] + fmt.plain_chan_sizes), fmt)
239 key = tuple([num_format] + chan_sizes)
/xsrc/external/mit/MesaLib/dist/bin/
H A Dgen_calendar_entries.py71 return [typing.cast('CalendarRowType', tuple(r)) for r in csv.reader(f)]
192 row = typing.cast('CalendarRowType', tuple(r))

Completed in 28 milliseconds

123