HomeSort by: relevance | last modified time | path
    Searched refs:binary (Results 1 - 25 of 193) sorted by relevancy

1 2 3 4 5 6 7 8

  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/spirv/
invocation.hpp 29 #include "core/binary.hpp"
34 // Returns whether the binary starts with the SPIR-V magic word.
38 bool is_binary_spirv(const std::string &binary);
40 // Returns whether the given binary is considered valid for the given
45 bool is_valid_spirv(const std::string &binary,
52 // Creates a clover binary out of the given SPIR-V binary.
53 binary compile_program(const std::string &binary,
59 binary link_program(const std::vector<binary> &objects, const device &dev
    [all...]
invocation.cpp 65 enum binary::argument::type
69 return binary::argument::scalar;
71 return binary::argument::global;
73 return binary::argument::local;
75 return binary::argument::global;
97 enum binary::argument::type
107 return binary::argument::image_rd;
109 return binary::argument::image_wr;
122 binary::section
124 enum binary::section::type section_type)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/amd/common/
ac_binary.c 40 struct ac_shader_binary *binary)
54 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t));
63 binary->global_symbol_offsets[binary->global_symbol_count] =
68 for (i = binary->global_symbol_count; i > 0; --i) {
69 uint64_t lhs = binary->global_symbol_offsets[i - 1];
70 uint64_t rhs = binary->global_symbol_offsets[i];
74 binary->global_symbol_offsets[i] = lhs;
75 binary->global_symbol_offsets[i - 1] = rhs;
77 ++binary->global_symbol_count
    [all...]
ac_binary.h 85 * Parse the elf binary stored in \p elf_data and create a
89 struct ac_shader_binary *binary);
93 * the function starting at \p symbol_offset of the binary.
96 const struct ac_shader_binary *binary,
99 void ac_shader_binary_read_config(struct ac_shader_binary *binary,
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/llvm/
invocation.hpp 27 #include "core/binary.hpp"
33 binary compile_program(const std::string &source,
39 binary link_program(const std::vector<binary> &binaries,
45 binary compile_to_spirv(const std::string &source,
codegen.hpp 25 /// Tools to generate various forms of binary code from existing LLVM IR in
26 /// the given llvm::Module object and output the result as a clover::binary.
33 #include "core/binary.hpp"
44 binary
46 enum binary::section::type section_type);
49 parse_module_library(const binary &b, ::llvm::LLVMContext &ctx,
52 binary
60 binary
  /xsrc/external/mit/MesaLib/dist/src/amd/compiler/
aco_interface.h 45 struct radv_shader_binary** binary, const struct radv_shader_args* args);
47 void aco_compile_vs_prolog(const struct radv_vs_prolog_key* key, struct radv_prolog_binary** binary,
aco_print_asm.cpp 102 print_asm_clrx(Program* program, std::vector<uint32_t>& binary, FILE* output)
114 /* Dump the binary into a temporary file. */
119 for (uint32_t w : binary) {
152 disasm_instr(chip_class chip, LLVMDisasmContextRef disasm, uint32_t* binary, unsigned exec_size,
156 LLVMDisasmInstruction(disasm, (uint8_t*)&binary[pos], (exec_size - pos) * sizeof(uint32_t),
159 if (chip >= GFX10 && l == 8 && ((binary[pos] & 0xffff0000) == 0xd7610000) &&
160 ((binary[pos + 1] & 0x1ff) == 0xff)) {
168 ((chip >= GFX9 && (binary[pos] & 0xffff8000) == 0xd1348000) || /* v_add_u32_e64 + clamp */
169 (chip >= GFX10 && (binary[pos] & 0xffff8000) == 0xd7038000) || /* v_add_u16_e64 + clamp */
170 (chip <= GFX9 && (binary[pos] & 0xffff8000) == 0xd1268000) || /* v_add_u16_e64 + clamp *
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/nir/
invocation.hpp 26 #include "core/binary.hpp"
41 // converts a given spirv binary to nir
42 binary spirv_to_nir(const binary &bin, const device &dev, std::string &r_log);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/
pan_assemble.c 77 struct util_dynarray binary; local
79 util_dynarray_init(&binary, NULL);
80 screen->vtbl.compile_shader(s, &inputs, &binary, &state->info);
82 if (binary.size) {
85 binary.data, binary.size, 128));
96 util_dynarray_fini(&binary);
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/llvm/codegen/
common.cpp 28 /// clover::binary, including kernel argument metadata extraction and
29 /// formatting of the pre-generated binary code in a form that can be
45 using clover::binary;
57 enum binary::argument::type
62 return binary::argument::image_rd;
64 return binary::argument::image_wr;
70 binary::arg_info create_arg_info(const std::string &arg_name,
103 return binary::arg_info(arg_name, type_name, cl_type_qualifier,
150 std::vector<binary::argument>
153 std::vector<binary::argument> args
    [all...]
bitcode.cpp 52 using clover::binary;
73 binary
75 enum binary::section::type section_type) {
76 binary b;
83 clover::llvm::parse_module_library(const binary &b, ::llvm::LLVMContext &ctx,
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
program_binary.h 45 GLenum *binary_format, GLvoid *binary);
49 GLenum binary_format, const GLvoid *binary,
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
program_binary.h 45 GLenum *binary_format, GLvoid *binary);
49 GLenum binary_format, const GLvoid *binary,
  /xsrc/external/mit/MesaLib/dist/src/amd/common/
ac_rtld.h 90 * the opened binary.
110 bool ac_rtld_open(struct ac_rtld_binary *binary, struct ac_rtld_open_info i);
112 void ac_rtld_close(struct ac_rtld_binary *binary);
114 bool ac_rtld_get_section_by_name(struct ac_rtld_binary *binary, const char *name, const char **data,
117 bool ac_rtld_read_config(const struct radeon_info *info, struct ac_rtld_binary *binary,
121 struct ac_rtld_binary *binary; member in struct:ac_rtld_upload_info
130 * defined in any of the binary's parts. */
ac_rtld.c 180 static bool read_private_lds_symbols(struct ac_rtld_binary *binary, unsigned part_idx,
198 struct ac_rtld_part *part = &binary->parts[part_idx];
231 const struct ac_rtld_symbol *shared = find_symbol(&binary->lds_symbols, s.name, part_idx);
238 util_dynarray_append(&binary->lds_symbols, struct ac_rtld_symbol, s);
248 * Open a binary consisting of one or more shader parts.
250 * \param binary the uninitialized struct
251 * \param i binary opening parameters
253 bool ac_rtld_open(struct ac_rtld_binary *binary, struct ac_rtld_open_info i)
261 memset(binary, 0, sizeof(*binary));
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/
printf.hpp 35 const std::vector<binary::printf_info> &info,
49 const std::vector<binary::printf_info> &infos,
53 std::vector<binary::printf_info> _formatters;
program.cpp 36 const std::vector<binary> &binaries) :
39 for_each([&](device &dev, const binary &bin) {
55 const binary b =
59 _builds[&dev] = { binary(), opts, log };
72 const std::vector<binary> bs = map([&](const program &prog) {
78 const binary b = compiler::link_program(bs, dev, opts, log);
81 _builds[&dev] = { binary(), opts, log };
114 if (any_of(type_equals(binary::section::text_intermediate), bin.secs))
116 else if (any_of(type_equals(binary::section::text_library), bin.secs))
118 else if (any_of(type_equals(binary::section::text_executable), bin.secs)
    [all...]
binary.cpp 26 #include "core/binary.hpp"
59 _proc(binary::size_t &sz, const T &x) {
78 proc(binary::size_t &sz, const T &x) {
105 proc(binary::size_t &sz, const std::vector<T> &v) {
132 proc(binary::size_t &sz, const std::vector<T> &v) {
153 proc(binary::size_t &sz, const std::string &s) {
160 struct _serializer<binary::printf_info> {
169 /// (De)serialize a binary::section.
171 struct _serializer<binary::section> {
182 /// (De)serialize a binary::argument
    [all...]
kernel.hpp 77 create(const binary::argument &barg);
100 const binary::argument &barg) = 0;
123 const std::vector<clover::binary::argument> &bargs);
147 std::vector<clover::binary::arg_info> args_infos();
152 const clover::binary &binary(const command_queue &q) const;
160 const binary::argument &barg);
175 const binary::argument &barg);
189 const binary::argument &barg);
202 const binary::argument &barg)
    [all...]
program.hpp 30 #include "core/binary.hpp"
48 const std::vector<binary> &binaries = {});
65 build(const binary &b = {}, const std::string &opts = {},
71 binary bin;
78 const std::vector<binary::symbol> &symbols() const;
  /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
radv_shader_helper.h 38 struct ac_shader_binary *binary);
radv_llvm_helper.cpp 55 struct ac_shader_binary *binary)
57 return ac_compile_module_to_binary(passes, module, binary);
79 struct ac_shader_binary *binary)
92 bool ret = ac_compile_module_to_binary(passes, module, binary);
97 return thread_info->compile_to_memory_buffer(module, binary);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
evergreen_compute.c 208 struct r600_shader_binary *binary)
222 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t));
231 binary->global_symbol_offsets[binary->global_symbol_count] =
236 for (i = binary->global_symbol_count; i > 0; --i) {
237 uint64_t lhs = binary->global_symbol_offsets[i - 1];
238 uint64_t rhs = binary->global_symbol_offsets[i];
242 binary->global_symbol_offsets[i] = lhs;
243 binary->global_symbol_offsets[i - 1] = rhs;
245 ++binary->global_symbol_count
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
evergreen_compute.c 189 struct ac_shader_binary *binary)
203 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t));
212 binary->global_symbol_offsets[binary->global_symbol_count] =
217 for (i = binary->global_symbol_count; i > 0; --i) {
218 uint64_t lhs = binary->global_symbol_offsets[i - 1];
219 uint64_t rhs = binary->global_symbol_offsets[i];
223 binary->global_symbol_offsets[i] = lhs;
224 binary->global_symbol_offsets[i - 1] = rhs;
226 ++binary->global_symbol_count
    [all...]

Completed in 26 milliseconds

1 2 3 4 5 6 7 8