Searched refs:std (Results 1 - 25 of 812) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib/dist/src/tool/pps/
H A Dpps_algorithm.h12 #define FIND_IF(c, lambda) (std::find_if(std::begin(c), std::end(c), lambda))
13 #define FIND(c, e) (std::find(std::begin(c), std::end(c), e))
14 #define CONTAINS(c, e) (FIND(c, e) != std::end(c))
15 #define CONTAINS_IT(c, it) (it != std::end(c))
16 #define APPEND(a, b) (a.insert(std::end(a), std
[all...]
H A Dpps_driver.cc33 std::unordered_map<std::string, std::unique_ptr<Driver>> create_supported_drivers()
35 std::unordered_map<std::string, std::unique_ptr<Driver>> map;
38 map.emplace("msm", std::make_unique<FreedrenoDriver>());
42 map.emplace("i915", std::make_unique<IntelDriver>());
46 map.emplace("panfrost", std::make_unique<PanfrostDriver>());
52 const std
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_optimizers.cpp6 std::vector<PInstruction>
7 flatten_shader(const std::vector<InstructionBlock> &ir)
H A Dsfn_optimizers.h8 std::vector<PInstruction>
9 flatten_alu_ops(const std::vector<InstructionBlock> &ir);
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/spirv/
H A Dinvocation.hpp38 bool is_binary_spirv(const std::string &binary);
45 bool is_valid_spirv(const std::string &binary,
47 std::string &r_log);
50 std::string version_to_string(uint32_t version);
53 binary compile_program(const std::string &binary,
54 const device &dev, std::string &r_log,
59 binary link_program(const std::vector<binary> &objects, const device &dev,
60 const std::string &opts, std::string &r_log);
63 std
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/llvm/
H A Dinvocation.hpp33 binary compile_program(const std::string &source,
36 const std::string &opts,
37 std::string &r_log);
39 binary link_program(const std::vector<binary> &binaries,
41 const std::string &opts,
42 std::string &r_log);
45 binary compile_to_spirv(const std::string &source,
48 const std::string &opts,
49 std::string &r_log);
H A Dutil.hpp37 fail(std::string &r_log, E &&e, const std::string &s) {
39 throw std::forward<E>(e);
42 inline std::string
43 as_string(const std::vector<char> &v) {
48 target(const std::string &s) :
52 std::string cpu;
53 std::string triple;
81 log(const std::string &suffix, const std
[all...]
H A Dcodegen.hpp41 std::string
48 std::unique_ptr< ::llvm::Module>
50 std::string &r_log);
55 std::string &r_log);
57 std::string
62 const std::vector<char> &code,
63 const std::map<std::string, unsigned> &offsets,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/llvm/
H A Dinvocation.hpp33 module compile_program(const std::string &source,
36 const std::string &opts,
37 std::string &r_log);
39 module link_program(const std::vector<module> &modules,
41 const std::string &opts,
42 std::string &r_log);
H A Dutil.hpp38 fail(std::string &r_log, E &&e, const std::string &s) {
43 inline std::vector<std::string>
44 tokenize(const std::string &s) {
45 std::vector<std::string> ss;
46 std::ostringstream oss;
52 // passed to the compiler. We avoid using std::string::replace here to
86 inline std
[all...]
H A Dcodegen.hpp41 std::string
48 std::unique_ptr< ::llvm::Module>
50 std::string &r_log);
55 std::string &r_log);
57 std::string
62 const std::vector<char> &code,
63 const std::map<std::string, unsigned> &offsets,
/xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/internal/
H A Dgtest-string.h109 static std::string ShowWideCString(const wchar_t* wide_c_str);
146 const std::string& str, const std::string& suffix);
149 static std::string FormatIntWidth2(int value); // "%02d" for width == 2
152 static std::string FormatHexInt(int value);
155 static std::string FormatHexUInt32(UInt32 value);
158 static std::string FormatByte(unsigned char value);
164 // Gets the content of the stringstream's buffer as an std::string. Each '\0'
166 GTEST_API_ std::string StringStreamToString(::std
[all...]
/xsrc/external/mit/MesaLib/dist/src/gtest/src/
H A Dgtest-matchers.cc43 // Constructs a matcher that matches a const std::string& whose value is
45 Matcher<const std::string&>::Matcher(const std::string& s) { *this = Eq(s); }
47 // Constructs a matcher that matches a const std::string& whose value is
49 Matcher<const std::string&>::Matcher(const char* s) {
50 *this = Eq(std::string(s));
53 // Constructs a matcher that matches a std::string whose value is equal to
55 Matcher<std::string>::Matcher(const std::string& s) { *this = Eq(s); }
57 // Constructs a matcher that matches a std
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/core/core/
H A Dprogram.hpp33 typedef std::vector<std::pair<std::string, std::string>> header_map;
38 evals, const std::vector<intrusive_ref<device>> &> device_range;
42 const std::string &source);
45 const std::vector<module> &binaries = {});
51 void compile(const ref_vector<device> &devs, const std::string &opts,
53 void link(const ref_vector<device> &devs, const std::string &opts,
57 const std
[all...]
H A Dplatform.hpp35 evals, std::vector<intrusive_ref<device>> &> {
43 std::string supported_extensions() const;
46 std::vector<intrusive_ref<device>> devs;
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/
H A Dprogram.hpp33 typedef std::vector<std::pair<std::string, std::string>> header_map;
38 evals, const std::vector<intrusive_ref<device>> &> device_range;
44 std::string &&il,
48 const std::vector<binary> &binaries = {});
54 void compile(const ref_vector<device> &devs, const std::string &opts,
56 void link(const ref_vector<device> &devs, const std::string &opts,
59 const std
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/tests/
H A Dst_tests_common.h33 #define MP(X, W) std::make_pair(X, W)
34 #define MT(X,Y,Z) std::make_tuple(X,Y,Z)
48 FakeCodeline(tgsi_opcode _op, const std::vector<int>& _dst, const std::vector<int>& _src,
49 const std::vector<int>&_to);
51 FakeCodeline(tgsi_opcode _op, const std::vector<std::pair<int,int>>& _dst,
52 const std::vector<std::pair<int, const char *>>& _src,
53 const std
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/tests/
H A Dst_tests_common.h33 #define MP(X, W) std::make_pair(X, W)
34 #define MT(X,Y,Z) std::make_tuple(X,Y,Z)
48 FakeCodeline(tgsi_opcode _op, const std::vector<int>& _dst, const std::vector<int>& _src,
49 const std::vector<int>&_to);
51 FakeCodeline(tgsi_opcode _op, const std::vector<std::pair<int,int>>& _dst,
52 const std::vector<std::pair<int, const char *>>& _src,
53 const std
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/
H A DconservativeRast.h40 typedef std::integral_constant<uint32_t, FP_UNINIT> Fixed_Uninit;
41 typedef std::integral_constant<uint32_t, _16_8> Fixed_16_8;
42 typedef std::integral_constant<uint32_t, _16_9> Fixed_16_9;
43 typedef std::integral_constant<uint32_t, _X_16> Fixed_X_16;
60 typedef std::integral_constant<uint32_t, 256> ScaleT;
62 typedef std::integral_constant<uint32_t, 8> BitsT;
72 typedef std::integral_constant<uint32_t, 512> ScaleT;
74 typedef std::integral_constant<uint32_t, 9> BitsT;
84 typedef std::integral_constant<uint32_t, 65536> ScaleT;
86 typedef std
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/internal/
H A Dgtest-string.h108 static std::string ShowWideCString(const wchar_t* wide_c_str);
145 const std::string& str, const std::string& suffix);
148 static std::string FormatIntWidth2(int value); // "%02d" for width == 2
151 static std::string FormatHexInt(int value);
154 static std::string FormatByte(unsigned char value);
160 // Gets the content of the stringstream's buffer as an std::string. Each '\0'
162 GTEST_API_ std::string StringStreamToString(::std::stringstream* stream);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dunordered_set.h13 using std::unordered_set;
15 using std::tr1::unordered_set;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
H A Dunordered_set.h13 using std::unordered_set;
15 using std::tr1::unordered_set;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/util/
H A Dfactor.hpp37 std::vector<T>
42 std::vector<T> factors;
61 std::pair<T, std::vector<T>>
62 next_grid_factor(const std::pair<T, std::vector<T>> &limits, argument
63 const std::vector<T> &grid,
64 const std::vector<std::vector<T>> &factors,
65 std
[all...]
H A Dtuple.hpp52 typename E = typename enumerate<std::tuple_size<
53 typename std::remove_reference<T>::type>::value
59 typedef typename std::remove_reference<F>::type func_type;
61 std::declval<func_type>()(std::get<Is>(std::declval<T &&>())...)
66 return f(std::get<Is>(std::forward<T>(t))...);
78 return detail::_apply<F, T>::eval(std::forward<F>(f),
79 std
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/util/
H A Dfactor.hpp37 std::vector<T>
42 std::vector<T> factors;
61 std::pair<T, std::vector<T>>
62 next_grid_factor(const std::pair<T, std::vector<T>> &limits, argument
63 const std::vector<T> &grid,
64 const std::vector<std::vector<T>> &factors,
65 std
[all...]

Completed in 21 milliseconds

1234567891011>>