| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/spirv/ |
| H A D | 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_progra [all...] |
| H A D | 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 522 check_spirv_version(const device & dev,const char * binary,std::string & r_log) argument 683 spirv_to_cpu(const std::string & binary) argument 755 is_binary_spirv(const std::string & binary) argument 777 compile_program(const std::string & binary,const device & dev,std::string & r_log,bool validate) argument 888 is_valid_spirv(const std::string & binary,const cl_version opencl_version,std::string & r_log) argument 911 print_module(const std::string & binary,const cl_version opencl_version) argument 960 is_binary_spirv(const std::string & binary) argument 978 compile_program(const std::string & binary,const device & dev,std::string & r_log,bool validate) argument 994 print_module(const std::string & binary,const cl_version opencl_version) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| H A D | 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 38 parse_symbol_table(Elf_Data * symbol_table_data,const GElf_Shdr * symbol_table_header,struct ac_shader_binary * binary) argument 81 parse_relocs(Elf * elf,Elf_Data * relocs,Elf_Data * symbols,unsigned symbol_sh_link,struct ac_shader_binary * binary) argument 108 ac_elf_read(const char * elf_data,unsigned elf_size,struct ac_shader_binary * binary) argument 195 ac_shader_binary_config_start(const struct ac_shader_binary * binary,uint64_t symbol_offset) argument 216 ac_shader_binary_read_config(struct ac_shader_binary * binary,struct ac_shader_config * conf,unsigned symbol_offset,bool supports_spill) argument [all...] |
| H A D | 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/ |
| H A D | 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,
|
| H A D | 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/ |
| H A D | 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,
|
| H A D | aco_print_asm.cpp | 102 print_asm_clrx(Program* program, std::vector<uint32_t>& binary, FILE* output) argument 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, argument 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[po 193 print_asm_llvm(Program * program,std::vector<uint32_t> & binary,unsigned exec_size,FILE * output) argument 312 print_asm(Program * program,std::vector<uint32_t> & binary,unsigned exec_size,FILE * output) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/nir/ |
| H A D | 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/ |
| H A D | pan_assemble.c | 77 struct util_dynarray binary; local in function:panfrost_shader_compile 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/ |
| H A D | 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 [all...] |
| H A D | 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.old/dist/src/mesa/main/ |
| H A D | program_binary.h | 45 GLenum *binary_format, GLvoid *binary); 49 GLenum binary_format, const GLvoid *binary,
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | program_binary.h | 45 GLenum *binary_format, GLvoid *binary); 49 GLenum binary_format, const GLvoid *binary,
|
| /xsrc/external/mit/MesaLib/dist/src/amd/common/ |
| H A D | 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. */
|
| H A D | ac_rtld.c | 180 static bool read_private_lds_symbols(struct ac_rtld_binary *binary, unsigned part_idx, argument 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) argument 261 memset(binary, 0, sizeof(*binary)); 478 ac_rtld_close(struct ac_rtld_binary * binary) argument 513 ac_rtld_get_section_by_name(struct ac_rtld_binary * binary,const char * name,const char ** data,size_t * nbytes) argument 520 ac_rtld_read_config(const struct radeon_info * info,struct ac_rtld_binary * binary,struct ac_shader_config * config) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/ |
| H A D | 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;
|
| H A D | 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 [all...] |
| H A D | 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 [all...] |
| H A D | 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 [all...] |
| H A D | 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/ |
| H A D | radv_shader_helper.h | 38 struct ac_shader_binary *binary);
|
| H A D | 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); 54 compile_to_memory_buffer(LLVMModuleRef module,struct ac_shader_binary * binary) argument 77 radv_compile_to_binary(struct ac_llvm_compiler * info,LLVMModuleRef module,struct ac_shader_binary * binary) argument
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/ |
| H A D | 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 187 parse_symbol_table(Elf_Data * symbol_table_data,const GElf_Shdr * symbol_table_header,struct ac_shader_binary * binary) argument 231 parse_relocs(Elf * elf,Elf_Data * relocs,Elf_Data * symbols,unsigned symbol_sh_link,struct ac_shader_binary * binary) argument 258 r600_elf_read(const char * elf_data,unsigned elf_size,struct ac_shader_binary * binary) argument 337 r600_shader_binary_config_start(const struct ac_shader_binary * binary,uint64_t symbol_offset) argument 351 r600_shader_binary_read_config(const struct ac_shader_binary * binary,struct r600_bytecode * bc,uint64_t symbol_offset,boolean * use_kill) argument 386 r600_create_shader(struct r600_bytecode * bc,const struct ac_shader_binary * binary,boolean * use_kill) argument [all...] |
| H A D | evergreen_compute_internal.h | 36 struct ac_shader_binary binary; member in struct:r600_pipe_compute
|