HomeSort by: relevance | last modified time | path
    Searched defs:instructions (Results 1 - 25 of 75) sorted by relevancy

1 2 3

  /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
bi_opcodes.c.py 31 add = instructions["+" + opcode][0][1] if "+" + opcode in instructions else None
40 has_fma = int("*" + opcode in instructions)
41 has_add = int("+" + opcode in instructions)
62 instructions = parse_instructions(sys.argv[1], include_pseudo = True) variable
63 ir_instructions = partition_mnemonics(instructions)
64 mnemonics = set(x[1:] for x in instructions.keys())
66 print(Template(COPYRIGHT + TEMPLATE).render(ops = ir_instructions, mnemonics = mnemonics, instructions = instructions, typesize = typesize))
bi_opcodes.h.py 111 instructions = parse_instructions(sys.argv[1], include_pseudo = True) variable
112 ir_instructions = partition_mnemonics(instructions)
116 mnemonics = set(x[1:] for x in instructions.keys())
bi_printer.c.py 210 instructions = parse_instructions(sys.argv[1], include_pseudo = True) variable
211 ir_instructions = partition_mnemonics(instructions)
bi_builder.h.py 167 instructions = parse_instructions(sys.argv[1], include_pseudo = True) variable
168 ir_instructions = partition_mnemonics(instructions)
bi_packer.c.py 27 instructions = parse_instructions(sys.argv[1]) variable
28 ir_instructions = partition_mnemonics(instructions)
301 packs = [pack_variant(e, instructions[e]) for e in instructions]
322 % if unit + opcode in instructions:
337 print(top_pack.render(ops = ir_instructions, instructions = instructions, opname_to_c = opname_to_c, unit = unit))
gen_disasm.py 28 instructions = parse_instructions(sys.argv[1], include_unused = True) variable
42 # To decode instructions, pattern match based on the rules:
54 def decode_op(instructions, is_fma):
56 options = [n for n in instructions.keys() if (n[0] == '*') == is_fma]
60 options.sort(key = lambda n: (MAX_MASK ^ instructions[n][2]["exact"][0]))
63 mapped = [(opname_to_c(op), instructions[op][2]["exact"], reserved_masks(instructions[op])) for op in options]
353 states = expand_states(instructions)
  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
ir_builder.h 88 ir_factory(exec_list *instructions = NULL, void *mem_ctx = NULL)
89 : instructions(instructions),
122 exec_list *instructions; member in class:ir_builder::ir_factory
lower_const_arrays_to_uniforms.cpp 32 * which usually involves a large number of instructions.
51 instructions = insts;
60 visit_list_elements(this, instructions);
68 exec_list *instructions; member in class:__anon700::lower_const_array_visitor
122 instructions->push_head(uni);
133 count_uniforms(exec_list *instructions)
137 foreach_in_list(ir_instruction, node, instructions) {
149 lower_const_arrays_to_uniforms(exec_list *instructions, unsigned stage,
152 unsigned uniform_components = count_uniforms(instructions);
155 lower_const_array_visitor v(instructions, stage, free_uniform_slots)
    [all...]
lower_xfb_varying.cpp 44 const exec_list *instructions);
53 * Memory context used to allocate new instructions for the shader.
60 * Instructions that should be spliced into place before each return and EmitVertex().
62 const exec_list *instructions; member in class:__anon729::lower_xfb_var_splicer
69 const exec_list *instructions)
70 : mem_ctx(mem_ctx), stage(stage), instructions(instructions)
77 foreach_in_list(ir_instruction, ir, this->instructions) {
108 foreach_in_list(ir_instruction, ir, this->instructions) {
lower_int64.cpp 71 lower_64bit_visitor(void *mem_ctx, exec_list *instructions, unsigned lower)
79 foreach_in_list(ir_instruction, node, instructions) {
135 lower_64bit_integer_instructions(exec_list *instructions,
138 if (instructions->is_empty())
141 ir_instruction *first_inst = (ir_instruction *) instructions->get_head_raw();
143 lower_64bit_visitor v(mem_ctx, instructions, what_to_lower);
145 visit_list_elements(&v, instructions);
151 exec_node *const after = &instructions->head_sentinel;
152 exec_node *const before = instructions->head_sentinel.next;
263 exec_list instructions; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
ir_builder.h 88 ir_factory(exec_list *instructions = NULL, void *mem_ctx = NULL)
89 : instructions(instructions),
122 exec_list *instructions; member in class:ir_builder::ir_factory
lower_const_arrays_to_uniforms.cpp 32 * which usually involves a large number of instructions.
50 instructions = insts;
58 visit_list_elements(this, instructions);
66 exec_list *instructions; member in class:__anon3336::lower_const_array_visitor
110 instructions->push_head(uni);
120 lower_const_arrays_to_uniforms(exec_list *instructions, unsigned stage)
122 lower_const_array_visitor v(instructions, stage);
  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/
opt_add_neg_to_sub_test.cpp 35 exec_list instructions; member in class:add_neg_to_sub
51 instructions.make_empty();
52 body = new ir_factory(&instructions, mem_ctx);
83 visit_list_elements(&v, &instructions);
85 ASSERT_FALSE(instructions.is_empty());
87 ir_instruction *const ir = (ir_instruction *) instructions.pop_head();
89 EXPECT_TRUE(instructions.is_empty());
116 visit_list_elements(&v, &instructions);
118 ASSERT_FALSE(instructions.is_empty());
120 ir_instruction *const ir = (ir_instruction *) instructions.pop_head()
    [all...]
lower_int64_test.cpp 51 exec_list instructions; member in class:expand_source
65 instructions.make_empty();
66 body = new ir_factory(&instructions, mem_ctx);
126 check_instructions(exec_list *instructions,
153 ASSERT_FALSE(instructions->is_empty());
154 ir = (ir_instruction *) instructions->pop_head();
163 ASSERT_FALSE(instructions->is_empty());
164 ir = (ir_instruction *) instructions->pop_head();
172 ASSERT_FALSE(instructions->is_empty());
173 ir = (ir_instruction *) instructions->pop_head()
381 exec_list instructions; member in class:compact_destination
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/freedreno/common/
disasm.h 42 /* instructions counts rpnN, and instlen does not */
43 int instructions, instlen; member in struct:shader_stats
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
opt_add_neg_to_sub_test.cpp 35 exec_list instructions; member in class:add_neg_to_sub
49 instructions.make_empty();
50 body = new ir_factory(&instructions, mem_ctx);
79 visit_list_elements(&v, &instructions);
81 ASSERT_FALSE(instructions.is_empty());
83 ir_instruction *const ir = (ir_instruction *) instructions.pop_head();
85 EXPECT_TRUE(instructions.is_empty());
112 visit_list_elements(&v, &instructions);
114 ASSERT_FALSE(instructions.is_empty());
116 ir_instruction *const ir = (ir_instruction *) instructions.pop_head()
    [all...]
lower_int64_test.cpp 51 exec_list instructions; member in class:expand_source
63 instructions.make_empty();
64 body = new ir_factory(&instructions, mem_ctx);
122 check_instructions(exec_list *instructions,
149 ASSERT_FALSE(instructions->is_empty());
150 ir = (ir_instruction *) instructions->pop_head();
159 ASSERT_FALSE(instructions->is_empty());
160 ir = (ir_instruction *) instructions->pop_head();
168 ASSERT_FALSE(instructions->is_empty());
169 ir = (ir_instruction *) instructions->pop_head()
377 exec_list instructions; member in class:compact_destination
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/freedreno/afuc/
asm.c 45 static struct asm_instruction instructions[0x2000]; variable in typeref:struct:asm_instruction
54 struct asm_instruction *ai = &instructions[num_instructions++];
55 assert(num_instructions < ARRAY_SIZE(instructions));
144 struct asm_instruction *ai = &instructions[i];
148 /* special case, 2nd dword is patched up w/ # of instructions
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/nir_to_spirv/
spirv_builder.h 59 struct spirv_buffer instructions; member in struct:spirv_builder
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_opt_comparison_pre.c 32 * instructions like 'b - a'. The comparison is replaced by the arithmetic
67 * Set of comparison instructions from the block that are candidates for
68 * being replaced by add instructions.
70 struct u_vector instructions; member in struct:block_instructions
86 u_vector_finish(&n->instructions);
108 if (!u_vector_init_pow2(&bi->instructions, 8, sizeof(nir_alu_instr *))) {
121 u_vector_finish(&bi->instructions);
131 u_vector_add(&bi->instructions);
169 * writemasks match the original instructions. Later optimization passes
214 * to the block_instructions::instructions set. If the instruction is a
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
lp_bld_tgsi.c 42 /* The user is responsible for freeing list->instructions */
45 bld_base->instructions = (struct tgsi_full_instruction *)
47 if (!bld_base->instructions) {
61 struct tgsi_full_instruction *instructions; local
62 instructions = REALLOC(bld_base->instructions, bld_base->max_instructions
66 if (!instructions) {
69 bld_base->instructions = instructions;
72 memcpy(bld_base->instructions + bld_base->num_instructions, inst_to_add
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/intel/compiler/
brw_shader.h 72 exec_list instructions; member in struct:backend_shader
  /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/valhall/
valhall.py 34 # All instructions in the ISA
35 instructions = [] variable
272 instructions.append(instr)
274 # Build all the instructions in a group by duplicating the group itself with
362 instruction_dict = { ins.name: ins for ins in instructions }
364 # Validate there are no duplicated instructions
365 if len(instruction_dict) != len(instructions):
367 counts = collections.Counter([i.name for i in instructions])
372 assert(len(instruction_dict) == len(instructions))
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
nir_opt_comparison_pre.c 32 * instructions like 'b - a'. The comparison is replaced by the arithmetic
67 * Set of comparison instructions from the block that are candidates for
68 * being replaced by add instructions.
70 struct u_vector instructions; member in struct:block_instructions
86 u_vector_finish(&n->instructions);
108 if (!u_vector_init(&bi->instructions,
123 u_vector_finish(&bi->instructions);
133 u_vector_add(&bi->instructions);
173 * writemasks match the original instructions. Later optimization passes
218 * to the block_instructions::instructions set. If the instruction is a
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
lp_bld_tgsi.c 42 /* The user is responsible for freeing list->instructions */
45 bld_base->instructions = (struct tgsi_full_instruction *)
47 if (!bld_base->instructions) {
61 struct tgsi_full_instruction *instructions; local
62 instructions = REALLOC(bld_base->instructions, bld_base->max_instructions
66 if (!instructions) {
69 bld_base->instructions = instructions;
72 memcpy(bld_base->instructions + bld_base->num_instructions, inst_to_add
    [all...]

Completed in 25 milliseconds

1 2 3