Searched refs:mod (Results 1 - 25 of 432) sorted by relevance

1234567891011>>

/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/x86emu/x86emu/
H A Dfpu_regs.h110 # define DECODE_PRINTINSTR32(t,mod,rh,rl) \
111 DECODE_PRINTF(t[(mod<<3)+(rh)]);
112 # define DECODE_PRINTINSTR256(t,mod,rh,rl) \
113 DECODE_PRINTF(t[(mod<<6)+(rh<<3)+(rl)]);
115 # define DECODE_PRINTINSTR32(t,mod,rh,rl)
116 # define DECODE_PRINTINSTR256(t,mod,rh,rl)
/xsrc/external/mit/xorg-server/dist/hw/xfree86/x86emu/x86emu/
H A Dfpu_regs.h110 #define DECODE_PRINTINSTR32(t,mod,rh,rl) \
111 DECODE_PRINTF(t[(mod<<3)+(rh)]);
112 #define DECODE_PRINTINSTR256(t,mod,rh,rl) \
113 DECODE_PRINTF(t[(mod<<6)+(rh<<3)+(rl)]);
115 #define DECODE_PRINTINSTR32(t,mod,rh,rl)
116 #define DECODE_PRINTINSTR256(t,mod,rh,rl)
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_print_constant.c35 unsigned mod, midgard_alu_op op)
77 if (mod & MIDGARD_FLOAT_MOD_ABS) v = fabs(v);
78 if (mod & MIDGARD_FLOAT_MOD_NEG) v = -v;
88 if (half && mod == midgard_int_zero_extend)
90 else if (half && mod == midgard_int_left_shift)
99 if (half && mod == midgard_int_left_shift)
108 if (mod & MIDGARD_FLOAT_MOD_ABS) v = fabsf(v);
109 if (mod & MIDGARD_FLOAT_MOD_NEG) v = -v;
119 if (half && mod == midgard_int_zero_extend)
121 else if (half && mod
33 mir_print_constant_component(FILE * fp,const midgard_constants * consts,unsigned c,midgard_reg_mode reg_mode,bool half,unsigned mod,midgard_alu_op op) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/llvm/codegen/
H A Dbitcode.cpp54 get_symbol_offsets(const ::llvm::Module &mod) { argument
59 get_kernels(mod)))
66 emit_code(const ::llvm::Module &mod) { argument
69 compat::write_bitcode_to_file(mod, os);
75 clover::llvm::print_module_bitcode(const ::llvm::Module &mod) { argument
78 mod.print(os, NULL);
83 clover::llvm::build_module_library(const ::llvm::Module &mod, argument
86 const auto code = emit_code(mod);
94 auto mod = ::llvm::parseBitcodeFile(::llvm::MemoryBufferRef( local in function:clover::llvm::parse_module_library
97 compat::handle_module_error(mod, [
[all...]
H A Dnative.cpp107 emit_code(::llvm::Module &mod, const target &target, argument
129 mod.setDataLayout(tm->createDataLayout());
136 pm.run(mod);
144 clover::llvm::build_module_native(::llvm::Module &mod, const target &target, argument
147 const auto code = emit_code(mod, target,
149 return build_module_common(mod, code, get_symbol_offsets(code, r_log), c);
153 clover::llvm::print_module_native(const ::llvm::Module &mod, argument
157 std::unique_ptr< ::llvm::Module> cmod { compat::clone_module(mod) };
/xsrc/external/mit/libdrm/dist/
H A Dgen_table_fourcc.py45 def print_fm(f, vendor, mod, f_name):
46 f.write(' {{ DRM_MODIFIER({}, {}, {}) }},\n'.format(vendor, mod, f_name))
66 (vendor, mod) = entry.split('_', 1)
67 if vendor == 'ARM' and (mod == 'TYPE_AFBC' or mod == 'TYPE_MISC' or mod == 'TYPE_AFRC'):
69 print_fm(f, vendor, mod, mod)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/llvm/
H A Dcodegen.hpp42 print_module_bitcode(const ::llvm::Module &mod);
45 build_module_library(const ::llvm::Module &mod,
53 build_module_native(::llvm::Module &mod, const target &target,
58 print_module_native(const ::llvm::Module &mod, const target &target);
61 build_module_common(const ::llvm::Module &mod,
H A Dcompat.hpp112 handle_module_error(M &mod, const F &f) { argument
114 if (::llvm::Error err = mod.takeError())
119 if (!mod)
120 f(mod.getError().message());
135 clone_module(const ::llvm::Module &mod) argument
138 return ::llvm::CloneModule(mod);
140 return ::llvm::CloneModule(&mod);
145 write_bitcode_to_file(const ::llvm::Module &mod, T &os) argument
148 ::llvm::WriteBitcodeToFile(mod, os);
150 ::llvm::WriteBitcodeToFile(&mod, o
165 get_abi_type(const T & arg_type,const M & mod) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/llvm/
H A Dcodegen.hpp42 print_module_bitcode(const ::llvm::Module &mod);
45 build_module_library(const ::llvm::Module &mod,
53 build_module_native(::llvm::Module &mod, const target &target,
58 print_module_native(const ::llvm::Module &mod, const target &target);
61 build_module_common(const ::llvm::Module &mod,
/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Ddxil_function.c110 allocate_function_from_predefined(struct dxil_module *mod, argument
116 return dxil_alloc_func(mod, name, overload,
126 dxil_get_function(struct dxil_module *mod, argument
130 const struct rb_node *node = rb_tree_search(mod->functions, &descr,
135 return allocate_function_from_predefined(mod, name, overload);
156 get_type_from_string(struct dxil_module *mod, const char *param_descr, argument
164 case DXIL_FUNC_PARAM_INT64: return dxil_module_get_int_type(mod, 64);
165 case DXIL_FUNC_PARAM_INT32: return dxil_module_get_int_type(mod, 32);
166 case DXIL_FUNC_PARAM_INT16: return dxil_module_get_int_type(mod, 16);
167 case DXIL_FUNC_PARAM_INT8: return dxil_module_get_int_type(mod,
190 dxil_alloc_func_with_rettype(struct dxil_module * mod,const char * name,enum overload_type overload,const struct dxil_type * retval_type,const char * param_descr,enum dxil_attr_kind attr) argument
230 dxil_alloc_func(struct dxil_module * mod,const char * name,enum overload_type overload,const char * retval_type_descr,const char * param_descr,enum dxil_attr_kind attr) argument
[all...]
H A Ddxil_function.h51 dxil_get_overload_type(struct dxil_module *mod, enum overload_type overload);
60 * Call: dxil_alloc_func(mod, "storeData.f32", "v", "icf");
63 * Call: dxil_alloc_func(mod, "storeData.f32", "e", "*icf");
66 * Call: dxil_alloc_func(mod, "storeData.f32", "*h", "b*f");
72 dxil_alloc_func(struct dxil_module *mod, const char *name, enum overload_type overload,
79 dxil_alloc_func_with_rettype(struct dxil_module *mod, const char *name, enum overload_type overload,
90 dxil_get_function(struct dxil_module *mod, const char *name,
H A Ddxil_signature.c369 fill_SV_param_nodes(struct dxil_module *mod, unsigned record_id, argument
378 flattened_semantics[i] = dxil_get_metadata_int32(mod, semantic->index + i);
380 SV_params_nodes[0] = dxil_get_metadata_int32(mod, (int)record_id); // Unique element ID
381 SV_params_nodes[1] = dxil_get_metadata_string(mod, semantic->name); // Element name
382 SV_params_nodes[2] = dxil_get_metadata_int8(mod, semantic->sig_comp_type); // Element type
383 SV_params_nodes[3] = dxil_get_metadata_int8(mod, (int8_t)semantic->kind); // Effective system value
384 SV_params_nodes[4] = dxil_get_metadata_node(mod, flattened_semantics,
386 SV_params_nodes[5] = dxil_get_metadata_int8(mod, semantic->interpolation); // Interpolation mode
387 SV_params_nodes[6] = dxil_get_metadata_int32(mod, semantic->rows); // Number of rows
388 SV_params_nodes[7] = dxil_get_metadata_int8(mod, semanti
416 fill_psv_signature_element(struct dxil_psv_signature_element * psv_elm,struct semantic_info * semantic,struct dxil_module * mod) argument
457 fill_io_signature(struct dxil_module * mod,int id,struct semantic_info * semantic,const struct dxil_mdnode ** io,struct dxil_signature_element * elm,struct dxil_psv_signature_element * psv_elm) argument
471 get_input_signature_group(struct dxil_module * mod,const struct dxil_mdnode ** inputs,unsigned num_inputs,nir_shader * s,nir_variable_mode modes,semantic_info_proc get_semantics,unsigned * row_iter,bool is_gs_shader,bool vulkan) argument
508 get_input_signature(struct dxil_module * mod,nir_shader * s,bool vulkan) argument
559 get_output_signature(struct dxil_module * mod,nir_shader * s,bool vulkan) argument
611 get_signatures(struct dxil_module * mod,nir_shader * s,bool vulkan) argument
[all...]
H A Dnir_to_dxil.c406 struct dxil_module mod; member in struct:ntd_context
457 const struct dxil_func *func = dxil_get_function(&ctx->mod,
463 const struct dxil_value *opcode = dxil_module_get_int32_const(&ctx->mod, intr);
472 return dxil_emit_call(&ctx->mod, func, args, ARRAY_SIZE(args));
480 const struct dxil_func *func = dxil_get_function(&ctx->mod, "dx.op.binary", overload);
484 const struct dxil_value *opcode = dxil_module_get_int32_const(&ctx->mod, intr);
494 return dxil_emit_call(&ctx->mod, func, args, ARRAY_SIZE(args));
504 const struct dxil_func *func = dxil_get_function(&ctx->mod, "dx.op.tertiary", overload);
508 const struct dxil_value *opcode = dxil_module_get_int32_const(&ctx->mod, intr);
519 return dxil_emit_call(&ctx->mod, fun
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/x86emu/
H A Dfpu.c97 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_d9
102 FETCH_DECODE_MODRM(mod, rh, rl);
104 if (mod != 3) {
105 DECODE_PRINTINSTR32(x86emu_fpu_op_d9_tab, mod, rh, rl);
110 switch (mod) {
134 switch (mod) {
327 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_da
332 FETCH_DECODE_MODRM(mod, rh, rl);
333 DECODE_PRINTINSTR32(x86emu_fpu_op_da_tab, mod, rh, rl);
334 switch (mod) {
411 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_db
540 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_dc
653 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_dd
763 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_de
885 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_df
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/x86emu/
H A Dfpu.c99 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_d9
104 FETCH_DECODE_MODRM(mod, rh, rl);
106 if (mod != 3) {
107 DECODE_PRINTINSTR32(x86emu_fpu_op_d9_tab, mod, rh, rl);
113 switch (mod) {
138 switch (mod) {
332 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_da
337 FETCH_DECODE_MODRM(mod, rh, rl);
338 DECODE_PRINTINSTR32(x86emu_fpu_op_da_tab, mod, rh, rl);
339 switch (mod) {
417 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_db
549 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_dc
663 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_dd
773 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_de
896 int mod, rl, rh; local in function:x86emuOp_esc_coprocess_df
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/llvm/codegen/
H A Dbitcode.cpp57 emit_code(const ::llvm::Module &mod) { argument
60 ::llvm::WriteBitcodeToFile(mod, os);
66 clover::llvm::print_module_bitcode(const ::llvm::Module &mod) { argument
69 mod.print(os, NULL);
74 clover::llvm::build_module_library(const ::llvm::Module &mod, argument
77 const auto code = emit_code(mod);
85 auto mod = ::llvm::parseBitcodeFile(::llvm::MemoryBufferRef( local in function:clover::llvm::parse_module_library
88 if (::llvm::Error err = mod.takeError()) {
94 return std::unique_ptr< ::llvm::Module>(std::move(*mod));
H A Dnative.cpp109 emit_code(::llvm::Module &mod, const target &target, argument
131 mod.setDataLayout(tm->createDataLayout());
138 pm.run(mod);
146 clover::llvm::build_module_native(::llvm::Module &mod, const target &target, argument
149 const auto code = emit_code(mod, target,
151 return build_module_common(mod, code, get_symbol_offsets(code, r_log), c);
155 clover::llvm::print_module_native(const ::llvm::Module &mod, argument
159 std::unique_ptr< ::llvm::Module> cmod { ::llvm::CloneModule(mod) };
170 clover::llvm::build_module_native(::llvm::Module &mod, const target &target, argument
177 clover::llvm::print_module_native(const ::llvm::Module &mod, argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/rnn/
H A Dcolors.c31 .mod = "",
49 .mod = "\x1b[0;36m",
H A Dcolors.h32 const char *mod; /* instruction modifier */ member in struct:envy_colors
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/valhall/
H A Dasm.py198 for mod in mods:
199 if mod in enums['immediate_mode'].bare_values:
201 immediate_mode = mod
250 for mod in parts[1:]:
252 if mod in src.offset and src.bits[mod] == 1:
253 encoded |= (1 << src.offset[mod])
254 elif mod in enums[f'swizzles_{src.size}_bit'].bare_values and (src.widen or src.lanes):
257 val = enums[f'swizzles_{src.size}_bit'].bare_values.index(mod)
259 elif src.lane and mod i
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbi_packer.c.py50 def map_modifier(body, prefix, mod, domain, target):
63 return mod
71 body.append("assert({} < {});".format(mod, len(domain)))
73 return "{}_table[{}]".format(prefix, mod)
80 def pack_modifier(mod, width, default, opts, body, pack_exprs):
82 (raw, arg) = (mod[0:-1], mod[-1]) if mod[-1] in "0123" else (mod, 0)
86 ir_value = "bytes2" if mod
[all...]
H A Dbi_opt_mod_props.c129 bi_fuse_discard_fcmp(bi_instr *I, bi_instr *mod, unsigned arch) argument
132 if (mod->op != BI_OPCODE_FCMP_F32 && mod->op != BI_OPCODE_FCMP_V2F16) return;
133 if (mod->cmpf >= BI_CMPF_GTLT) return;
136 bool absneg = mod->src[0].neg || mod->src[0].abs;
137 absneg |= mod->src[1].neg || mod->src[1].abs;
145 I->cmpf = mod->cmpf;
146 I->src[0] = mod
168 bi_instr *mod = lut[bi_word_node(I->src[s])]; local in function:bi_opt_mod_prop_forward
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/loader/
H A DloaderProcs.h80 ModuleDescPtr DuplicateModule(ModuleDescPtr mod, ModuleDescPtr parent);
86 unsigned long LoaderGetModuleVersion(ModuleDescPtr mod);
H A Dloadmod.c81 static void UnloadModuleOrDriver(ModuleDescPtr mod);
793 DuplicateModule(ModuleDescPtr mod, ModuleDescPtr parent) argument
798 if (!mod)
801 ret = NewModuleDesc(mod->name);
805 if (!(ret->handle = LoaderOpen(mod->path, &errmaj, &errmin))) {
810 ret->SetupProc = mod->SetupProc;
811 ret->TearDownProc = mod->TearDownProc;
813 ret->child = DuplicateModule(mod->child, ret);
814 ret->sib = DuplicateModule(mod->sib, parent);
816 ret->VersionInfo = mod
1069 UnloadModule(pointer mod) argument
1075 UnloadModuleOrDriver(ModuleDescPtr mod) argument
1101 ModuleDescPtr mod = (ModuleDescPtr)_mod; local in function:UnloadSubModule
1253 LoaderGetModuleVersion(ModuleDescPtr mod) argument
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/loader/
H A DloaderProcs.h74 ModuleDescPtr DuplicateModule(ModuleDescPtr mod, ModuleDescPtr parent);
79 unsigned long LoaderGetModuleVersion(ModuleDescPtr mod);

Completed in 18 milliseconds

1234567891011>>