Home
last modified time | relevance | path

Searched refs:disasm (Results 1 – 25 of 150) sorted by relevance

123456

/external/mesa3d/src/broadcom/qpu/
Dqpu_disasm.c39 append(struct disasm_state *disasm, const char *fmt, ...) in append() argument
43 ralloc_vasprintf_rewrite_tail(&disasm->string, in append()
44 &disasm->offset, in append()
50 pad_to(struct disasm_state *disasm, int n) in pad_to() argument
53 while (disasm->offset < n) in pad_to()
54 append(disasm, " "); in pad_to()
59 v3d_qpu_disasm_raddr(struct disasm_state *disasm, in v3d_qpu_disasm_raddr() argument
63 append(disasm, "rf%d", instr->raddr_a); in v3d_qpu_disasm_raddr()
68 v3d_qpu_small_imm_unpack(disasm->devinfo, in v3d_qpu_disasm_raddr()
73 append(disasm, "%d", val); in v3d_qpu_disasm_raddr()
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_disasm_info.c35 struct disasm_info *disasm, const unsigned *block_latency) in dump_assembly() argument
37 const struct gen_device_info *devinfo = disasm->devinfo; in dump_assembly()
45 foreach_list_typed(struct inst_group, group, link, &disasm->group_list) { in dump_assembly()
110 struct disasm_info *disasm = ralloc(NULL, struct disasm_info); in disasm_initialize() local
111 exec_list_make_empty(&disasm->group_list); in disasm_initialize()
112 disasm->devinfo = devinfo; in disasm_initialize()
113 disasm->cfg = cfg; in disasm_initialize()
114 disasm->cur_block = 0; in disasm_initialize()
115 disasm->use_tail = false; in disasm_initialize()
116 return disasm; in disasm_initialize()
[all …]
Dbrw_disasm_info.h69 struct disasm_info *disasm, const unsigned *block_latency);
76 disasm_new_inst_group(struct disasm_info *disasm, unsigned offset);
79 disasm_annotate(struct disasm_info *disasm,
83 disasm_insert_error(struct disasm_info *disasm, unsigned offset,
/external/vixl/test/aarch64/
Dtest-fuzz-aarch64.cc43 PrintDisassembler disasm(stdout); in FuzzHelper() local
47 decoder.AppendVisitor(&disasm); in FuzzHelper()
92 FUZZ_SHARD(disasm, kDisasmStep, 0, kOpFieldShift)
93 FUZZ_SHARD(disasm, kDisasmStep, 1, kOpFieldShift)
94 FUZZ_SHARD(disasm, kDisasmStep, 2, kOpFieldShift)
95 FUZZ_SHARD(disasm, kDisasmStep, 3, kOpFieldShift)
96 FUZZ_SHARD(disasm, kDisasmStep, 4, kOpFieldShift)
97 FUZZ_SHARD(disasm, kDisasmStep, 5, kOpFieldShift)
98 FUZZ_SHARD(disasm, kDisasmStep, 6, kOpFieldShift)
99 FUZZ_SHARD(disasm, kDisasmStep, 7, kOpFieldShift)
[all …]
Dtest-disasm-aarch64.h33 Disassembler disasm; \
34 decoder.AppendVisitor(&disasm)
74 if (strcmp(disasm.GetOutput(), EXP) != 0) { \
78 disasm.GetOutput()); \
96 if (strncmp(disasm.GetOutput(), EXP, strlen(EXP)) != 0) { \
100 disasm.GetOutput()); \
117 res.append(disasm.GetOutput()); \
Dtest-assembler-aarch64.h295 PrintDisassembler disasm(stdout); \
305 disasm.DisassembleBuffer(infra_start, start); \
313 disasm.DisassembleBuffer(start, end); \
318 disasm.DisassembleBuffer(end, infra_end); \
/external/mesa3d/src/freedreno/afuc/
DMakefile206 afuc/CMakeFiles/disasm.dir/rule:
207 …lark/src/envytools && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 afuc/CMakeFiles/disasm.dir/rule
208 .PHONY : afuc/CMakeFiles/disasm.dir/rule
211 disasm: afuc/CMakeFiles/disasm.dir/rule target
213 .PHONY : disasm
216 disasm/fast:
217 …envytools && $(MAKE) $(MAKESILENT) -f afuc/CMakeFiles/disasm.dir/build.make afuc/CMakeFiles/disasm
218 .PHONY : disasm/fast
247 disasm.o: disasm.c.o
249 .PHONY : disasm.o
[all …]
Dmeson.build57 disasm = executable( variable
58 'afuc-disasm',
59 'disasm.c',
/external/vixl/doc/aarch64/topics/
Dextending-the-disassembler.md13 [src/aarch64/disasm-aarch64.h](/src/aarch64/disasm-aarch64.h) for details.
40 VIXL disasm 0x7fff04cb05e0: add x10, x16, x17
41 custom disasm -0x8: add x10, ip0, ip1 // add/sub to x10
43 VIXL disasm 0x7fff04cb05e4: cbz x10, #+0x28 (addr 0x7fff04cb060c)
44 custom disasm -0x4: cbz x10, #+0x28 (addr 0x24 ; label: somewhere)
46 VIXL disasm 0x7fff04cb05e8: add x11, x16, x17
47 custom disasm 0x0: add x11, ip0, ip1
49 VIXL disasm 0x7fff04cb05ec: add w5, w6, w30
50 custom disasm 0x4: add w5, w6, w30
52 VIXL disasm 0x7fff04cb05f0: tbz w10, #2, #-0x10 (addr 0x7fff04cb05e0)
[all …]
/external/capstone/arch/Mips/
DMipsModule.c34 ud->disasm = Mips_getInstruction; in init()
36 ud->disasm = Mips64_getInstruction; in init()
45 handle->disasm = Mips_getInstruction; in option()
47 handle->disasm = Mips64_getInstruction; in option()
/external/capstone/arch/ARM/
DARMModule.c35 ud->disasm = Thumb_getInstruction; in init()
37 ud->disasm = ARM_getInstruction; in init()
47 handle->disasm = Thumb_getInstruction; in option()
49 handle->disasm = ARM_getInstruction; in option()
/external/vixl/benchmarks/aarch64/
Dbench-mixed-disasm.cc75 BenchDisassembler disasm; in main() local
76 decoder.AppendVisitor(&disasm); in main()
84 generated_chars += disasm.GetGeneratedCharCount(); in main()
/external/vixl/examples/aarch64/
Dnon-const-visitor.cc105 PrintDisassembler disasm(stdout); in main() local
111 decoder.AppendVisitor(&disasm); in main()
113 decoder.AppendVisitor(&disasm); in main()
Dcustom-disassembler.cc152 Disassembler disasm; in TestCustomDisassembler() local
154 decoder.AppendVisitor(&disasm); in TestCustomDisassembler()
172 disasm.GetOutput()); in TestCustomDisassembler()
/external/mesa3d/src/freedreno/.gitlab-ci/
Dgenoutput.sh27 disasm=./install/bin/afuc-disasm
57 $disasm -g 6 $reference/afuc_test.fw | filter $output/afuc_test.asm
/external/mesa3d/src/amd/compiler/
Daco_print_asm.cpp95 std::pair<bool, size_t> disasm_instr(chip_class chip, LLVMDisasmContextRef disasm, in disasm_instr() argument
105 size_t l = LLVMDisasmInstruction(disasm, (uint8_t *) &binary[pos], in disasm_instr()
181 LLVMDisasmContextRef disasm = LLVMCreateDisasmCPUFeatures("amdgcn-mesa-mesa3d", in print_asm() local
214 program->chip_class, disasm, binary.data(), exec_size, pos, outline, sizeof(outline)); in print_asm()
229 LLVMDisasmDispose(disasm); in print_asm()
Daco_interface.cpp176 std::string disasm; in aco_compile_shader() local
194 disasm = std::string(data, data + disasm_size); in aco_compile_shader()
235disasm.copy((char*) legacy_binary->data + legacy_binary->stats_size + legacy_binary->code_size + l… in aco_compile_shader()
236 legacy_binary->disasm_size = disasm.size(); in aco_compile_shader()
/external/mesa3d/src/gallium/tests/graw/
Ddisasm.c56 disasm(const char *filename) in disasm() function
86 disasm(argv[i]); in main()
/external/mesa3d/src/freedreno/
DMakefile.sources2 common/disasm.h \
26 ir2/disasm-a2xx.c \
33 ir3/disasm-a3xx.c \
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Ddisassemble.c23 static void pprint(int pos, unsigned char *buf, int len, const char *disasm) { in pprint() argument
34 printf(" %s\n", disasm); in pprint()
/external/llvm/tools/llvm-c-test/
Ddisassemble.c23 static void pprint(int pos, unsigned char *buf, int len, const char *disasm) { in pprint() argument
34 printf(" %s\n", disasm); in pprint()
/external/google-breakpad/src/third_party/libdisasm/swig/
DREADME40 >>> disasm = x86disasm.X86_Disasm( )
54 >>> insn = disasm.disasm( data, size - 1, 0, 0 )
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestPackage.cpp278 std::ostringstream disasm; in init() local
280 vk::disassembleProgram(*binProg, &disasm); in init()
282 log << vk::SpirVAsmSource(disasm.str()); in init()
302 std::ostringstream disasm; in init() local
304 vk::disassembleProgram(*binProg, &disasm); in init()
306 log << vk::SpirVAsmSource(disasm.str()); in init()
/external/mesa3d/src/freedreno/computerator/
Dmain.c209 bool disasm = false; in main() local
218 disasm = true; in main()
272 if (disasm) in main()
/external/capstone/bindings/python/
DBUILDING.txt63 method to disassemble binary. Unlike disasm() API (used by test.py), which returns
67 20% faster than disasm(). Memory usage is also less. So if you just need basic
68 information out of disassembler, use disasm_lite() instead of disasm().

123456