/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_add_relaxed_decoration.cpp | 35 auto instr = ir_context->get_def_use_mgr()->GetDef(message_.result_id()); in IsApplicable() local 36 if (!instr) { in IsApplicable() 39 opt::BasicBlock* cur_block = ir_context->get_instr_block(instr); in IsApplicable() 50 return IsNumeric(instr->opcode()); in IsApplicable()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_worklist.c | 50 nir_instr_worklist_add_ssa_srcs(nir_instr_worklist *wl, nir_instr *instr) in nir_instr_worklist_add_ssa_srcs() argument 52 nir_foreach_src(instr, nir_instr_worklist_add_srcs_cb, wl); in nir_instr_worklist_add_ssa_srcs()
|
H A D | nir_opt_load_store_vectorize.c | 195 nir_instr *instr; member 586 entry->instr = &intrin->instr; in create_entry() 743 b->cursor = nir_after_instr(first->instr); in vectorize_loads() 779 b->cursor = nir_before_instr(first->instr); in vectorize_loads() 784 nir_instr_rewrite_src(first->instr, &first->intrin->src[info->base_src], in vectorize_loads() 790 b->cursor = nir_before_instr(first->instr); in vectorize_loads() 797 nir_instr_rewrite_src(first->instr, &first->intrin->src[info->deref_src], in vectorize_loads() 818 nir_instr_remove(second->instr); in vectorize_loads() 831 b->cursor = nir_before_instr(second->instr); in vectorize_stores() 1359 handle_barrier(struct vectorize_ctx *ctx, bool *progress, nir_function_impl *impl, nir_instr *instr) handle_barrier() argument [all...] |
H A D | nir_opt_cse.c | 52 nir_foreach_instr_safe(instr, block) in nir_opt_cse_impl() 53 progress |= nir_instr_set_add_or_rewrite(instr_set, instr, dominates); in nir_opt_cse_impl()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_image.h | 39 unsigned ir3_get_image_coords(const nir_intrinsic_instr *instr, 41 type_t ir3_get_type_for_image_intrinsic(const nir_intrinsic_instr *instr);
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
H A D | trace_arm.h | 118 TP_PROTO(unsigned long vcpu_pc, unsigned long instr, 120 TP_ARGS(vcpu_pc, instr, cpsr), 124 __field( unsigned long, instr ) 130 __entry->instr = instr; 134 TP_printk("Emulate MMIO at: 0x%016lx (instr: %08lx, cpsr: %08lx)", 135 __entry->vcpu_pc, __entry->instr, __entry->cpsr)
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | gluebi.c | 229 * @instr: the erase operation description 234 static int gluebi_erase(struct mtd_info *mtd, struct erase_info *instr) in gluebi_erase() argument 239 if (mtd_mod_by_ws(instr->addr, mtd) || mtd_mod_by_ws(instr->len, mtd)) in gluebi_erase() 242 lnum = mtd_div_by_eb(instr->addr, mtd); in gluebi_erase() 243 count = mtd_div_by_eb(instr->len, mtd); in gluebi_erase() 265 instr->fail_addr = (long long)lnum * mtd->erasesize; in gluebi_erase()
|
/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | gluebi.c | 229 * @instr: the erase operation description 234 static int gluebi_erase(struct mtd_info *mtd, struct erase_info *instr) in gluebi_erase() argument 239 if (mtd_mod_by_ws(instr->addr, mtd) || mtd_mod_by_ws(instr->len, mtd)) in gluebi_erase() 242 lnum = mtd_div_by_eb(instr->addr, mtd); in gluebi_erase() 243 count = mtd_div_by_eb(instr->len, mtd); in gluebi_erase() 265 instr->fail_addr = (long long)lnum * mtd->erasesize; in gluebi_erase()
|
/third_party/node/deps/v8/src/codegen/mips64/ |
H A D | assembler-mips64-inl.h | 114 Instr instr = Assembler::instr_at(pc + 0 * kInstrSize); in set_target_internal_reference_encoded_at() local 118 instr &= ~kImm26Mask; in set_target_internal_reference_encoded_at() 122 instr_at_put(pc, instr | (imm26 & kImm26Mask)); in set_target_internal_reference_encoded_at() 194 Instr instr = Assembler::instr_at(pc_ + 0 * kInstrSize); in target_internal_reference() local 195 instr &= kImm26Mask; in target_internal_reference() 196 uint64_t imm28 = instr << 2; in target_internal_reference()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_lower_image_casts.c | 190 lower_image_cast_instr(nir_builder *b, nir_instr *instr, void *_data) in lower_image_cast_instr() argument 192 if (instr->type != nir_instr_type_intrinsic) in lower_image_cast_instr() 195 nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr); in lower_image_cast_instr() 214 b->cursor = nir_after_instr(instr); in lower_image_cast_instr() 219 b->cursor = nir_before_instr(instr); in lower_image_cast_instr() 235 nir_instr_rewrite_src_ssa(instr, &intr->src[3], new_value); in lower_image_cast_instr()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_nir.h | 138 const nir_load_const_instr *instr, 193 nir_intrinsic_instr *instr, 209 void (*vote)(struct lp_build_nir_context *bld_base, LLVMValueRef src, nir_intrinsic_instr *instr, LLVMValueRef dst[4]); 211 void (*reduce)(struct lp_build_nir_context *bld_base, LLVMValueRef src, nir_intrinsic_instr *instr, LLVMValueRef dst[4]); 212 void (*ballot)(struct lp_build_nir_context *bld_base, LLVMValueRef src, nir_intrinsic_instr *instr, LLVMValueRef dst[4]); 217 nir_intrinsic_instr *instr,
|
/third_party/mesa3d/src/microsoft/compiler/ |
H A D | nir_to_dxil.c | 58 #define NIR_INSTR_UNSUPPORTED(instr) \ 62 nir_print_instr(instr, stderr); \ 66 #define TRACE_CONVERSION(instr) \ 70 nir_print_instr(instr, stderr); \ 2506 NIR_INSTR_UNSUPPORTED(&alu->instr); in emit_alu() 4403 NIR_INSTR_UNSUPPORTED(&intr->instr); in emit_intrinsic() 4445 emit_deref(struct ntd_context* ctx, nir_deref_instr* instr) in emit_deref() argument 4447 assert(instr->deref_type == nir_deref_type_var || in emit_deref() 4448 instr->deref_type == nir_deref_type_array); in emit_deref() 4460 nir_variable *var = nir_deref_instr_get_variable(instr); in emit_deref() 4542 emit_jump(struct ntd_context *ctx, nir_jump_instr *instr) emit_jump() argument 4562 emit_phi(struct ntd_context *ctx, nir_phi_instr *instr) emit_phi() argument 4582 fixup_phi(struct ntd_context *ctx, nir_phi_instr *instr, struct phi_block *vphi) fixup_phi() argument 4808 emit_tex(struct ntd_context *ctx, nir_tex_instr *instr) emit_tex() argument 5033 emit_instr(struct ntd_context *ctx, struct nir_instr* instr) emit_instr() argument 5563 lower_bit_size_callback(const nir_instr* instr, void *data) lower_bit_size_callback() argument [all...] |
/third_party/node/deps/v8/src/execution/loong64/ |
H A D | simulator-loong64.cc | 107 void Stop(Instruction* instr); 138 void Loong64Debugger::Stop(Instruction* instr) { in Stop() argument 140 uint32_t code = instr->Bits(25, 6); in Stop() 375 Instruction* instr = reinterpret_cast<Instruction*>(sim_->get_pc()); in Debug() local 376 if (!(instr->IsTrap()) || in Debug() 377 instr->InstructionBits() == rtCallRedirInstr) { in Debug() 810 Instruction* instr) { in CheckICache() 811 int64_t address = reinterpret_cast<int64_t>(instr); in CheckICache() 821 CHECK_EQ(0, memcmp(reinterpret_cast<void*>(instr), in CheckICache() 1667 int32_t Simulator::ReadW(int64_t addr, Instruction* instr, TraceTyp argument 809 CheckICache(base::CustomMatcherHashMap* i_cache, Instruction* instr) CheckICache() argument 1688 ReadWU(int64_t addr, Instruction* instr) ReadWU() argument 1708 WriteW(int64_t addr, int32_t value, Instruction* instr) WriteW() argument 1731 WriteConditionalW(int64_t addr, int32_t value, Instruction* instr, int32_t rk_reg) WriteConditionalW() argument 1761 Read2W(int64_t addr, Instruction* instr) Read2W() argument 1782 Write2W(int64_t addr, int64_t value, Instruction* instr) Write2W() argument 1805 WriteConditional2W(int64_t addr, int64_t value, Instruction* instr, int32_t rk_reg) WriteConditional2W() argument 1836 ReadD(int64_t addr, Instruction* instr) ReadD() argument 1849 WriteD(int64_t addr, double value, Instruction* instr) WriteD() argument 1864 ReadHU(int64_t addr, Instruction* instr) ReadHU() argument 1878 ReadH(int64_t addr, Instruction* instr) ReadH() argument 1892 WriteH(int64_t addr, uint16_t value, Instruction* instr) WriteH() argument 1908 WriteH(int64_t addr, int16_t value, Instruction* instr) WriteH() argument 1957 ReadMem(int64_t addr, Instruction* instr) ReadMem() argument 1973 WriteMem(int64_t addr, T value, Instruction* instr) WriteMem() argument 2004 Format(Instruction* instr, const char* format) Format() argument 2290 HandleStop(uint64_t code, Instruction* instr) HandleStop() argument 2299 IsStopInstruction(Instruction* instr) IsStopInstruction() argument 5152 InstructionDecode(Instruction* instr) InstructionDecode() argument 5154 CheckICache(i_cache(), instr); InstructionDecode() local 5223 Instruction* instr = reinterpret_cast<Instruction*>(program_counter); Execute() local 5232 Instruction* instr = reinterpret_cast<Instruction*>(program_counter); Execute() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | fsmc_nand.c | 623 const struct nand_op_instr *instr = NULL; in fsmc_exec_op() local 634 instr = &op->instrs[op_id]; in fsmc_exec_op() 636 nand_op_trace(" ", instr); in fsmc_exec_op() 638 switch (instr->type) { in fsmc_exec_op() 640 writeb_relaxed(instr->ctx.cmd.opcode, host->cmd_va); in fsmc_exec_op() 644 for (i = 0; i < instr->ctx.addr.naddrs; i++) in fsmc_exec_op() 645 writeb_relaxed(instr->ctx.addr.addrs[i], in fsmc_exec_op() 651 fsmc_read_buf_dma(host, instr->ctx.data.buf.in, in fsmc_exec_op() 652 instr->ctx.data.len); in fsmc_exec_op() 654 fsmc_read_buf(host, instr in fsmc_exec_op() [all...] |
H A D | diskonchip.c | 511 const struct nand_op_instr *instr) in doc200x_exec_instr() 516 switch (instr->type) { in doc200x_exec_instr() 519 doc2000_write_byte(this, instr->ctx.cmd.opcode); in doc200x_exec_instr() 524 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in doc200x_exec_instr() 525 u8 addr = instr->ctx.addr.addrs[i]; in doc200x_exec_instr() 537 doc2000_readbuf(this, instr->ctx.data.buf.in, in doc200x_exec_instr() 538 instr->ctx.data.len); in doc200x_exec_instr() 540 doc2001_readbuf(this, instr->ctx.data.buf.in, in doc200x_exec_instr() 541 instr->ctx.data.len); in doc200x_exec_instr() 547 doc2000_writebuf(this, instr in doc200x_exec_instr() 510 doc200x_exec_instr(struct nand_chip *this, const struct nand_op_instr *instr) doc200x_exec_instr() argument 597 doc2001plus_exec_instr(struct nand_chip *this, const struct nand_op_instr *instr) doc2001plus_exec_instr() argument [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | fsmc_nand.c | 634 const struct nand_op_instr *instr = NULL; in fsmc_exec_op() local 645 instr = &op->instrs[op_id]; in fsmc_exec_op() 647 nand_op_trace(" ", instr); in fsmc_exec_op() 649 switch (instr->type) { in fsmc_exec_op() 651 writeb_relaxed(instr->ctx.cmd.opcode, host->cmd_va); in fsmc_exec_op() 655 for (i = 0; i < instr->ctx.addr.naddrs; i++) in fsmc_exec_op() 656 writeb_relaxed(instr->ctx.addr.addrs[i], in fsmc_exec_op() 662 fsmc_read_buf_dma(host, instr->ctx.data.buf.in, in fsmc_exec_op() 663 instr->ctx.data.len); in fsmc_exec_op() 665 fsmc_read_buf(host, instr in fsmc_exec_op() [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_lower_cubemap_to_array.c | 51 lower_cubemap_to_array_filter(const nir_instr *instr, const void *mask) in lower_cubemap_to_array_filter() argument 54 if (instr->type == nir_instr_type_tex) { in lower_cubemap_to_array_filter() 55 nir_tex_instr *tex = nir_instr_as_tex(instr); in lower_cubemap_to_array_filter() 178 nir_ssa_dest_init(&array_tex->instr, &array_tex->dest, in create_array_tex_from_cube_tex() 180 nir_builder_instr_insert(b, &array_tex->instr); in create_array_tex_from_cube_tex() 415 b->cursor = nir_after_instr(&tex->instr); in lower_tex_to_txl() 447 b->cursor = nir_before_instr(&tex->instr); in lower_tex_to_txl() 448 nir_ssa_dest_init(&txl->instr, &txl->dest, nir_dest_num_components(tex->dest), in lower_tex_to_txl() 450 nir_builder_instr_insert(b, &txl->instr); in lower_tex_to_txl() 480 b->cursor = nir_after_instr(&tex->instr); in lower_cube_txs() 514 lower_cubemap_to_array_impl(nir_builder *b, nir_instr *instr, UNUSED void *_options) lower_cubemap_to_array_impl() argument [all...] |
/kernel/linux/linux-5.10/arch/arc/kernel/ |
H A D | disasm.c | 238 /* still need to check for limm to extract instr len */ in disasm_instr() 260 /* still need to check for limm to extract instr len */ in disasm_instr() 504 struct disasm_state instr; in disasm_next_pc() local 506 memset(&instr, 0, sizeof(struct disasm_state)); in disasm_next_pc() 507 disasm_instr(pc, &instr, 0, regs, cregs); in disasm_next_pc() 509 *next_pc = pc + instr.instr_len; in disasm_next_pc() 512 if (instr.is_branch) in disasm_next_pc() 513 *tgt_if_br = instr.target; in disasm_next_pc() 518 if (instr.delay_slot) { in disasm_next_pc() 532 return instr in disasm_next_pc() [all...] |
/kernel/linux/linux-6.6/drivers/misc/eeprom/ |
H A D | at25.c | 63 #define AT25_INSTR_BIT3 0x08 /* additional address bit in instr */ 90 u8 instr; in at25_ee_read() local 103 instr = AT25_READ; in at25_ee_read() 106 instr |= AT25_INSTR_BIT3; in at25_ee_read() 110 *cp++ = instr; in at25_ee_read() 233 u8 instr; in at25_ee_write() local 242 instr = AT25_WRITE; in at25_ee_write() 245 instr |= AT25_INSTR_BIT3; in at25_ee_write() 246 *cp++ = instr; in at25_ee_write()
|
/third_party/node/deps/v8/src/codegen/s390/ |
H A D | assembler-s390-inl.h | 58 SixByteInstr instr = in apply() local 60 int32_t dis = static_cast<int32_t>(instr & 0xFFFFFFFF) * 2 // halfwords in apply() 62 instr >>= 32; // Clear the 4-byte displacement field. in apply() 63 instr <<= 32; in apply() 64 instr |= static_cast<uint32_t>(dis / 2); in apply() 66 instr); in apply() local 136 SixByteInstr instr = in code_target_object_handle_at() local 138 int index = instr & 0xFFFFFFFF; in code_target_object_handle_at()
|
/third_party/node/deps/v8/src/codegen/arm64/ |
H A D | instructions-arm64.cc | 313 NEONFormatDecoder::NEONFormatDecoder(const Instruction* instr) { in NEONFormatDecoder() argument 314 instrbits_ = instr->InstructionBits(); in NEONFormatDecoder() 318 NEONFormatDecoder::NEONFormatDecoder(const Instruction* instr, in NEONFormatDecoder() argument 320 instrbits_ = instr->InstructionBits(); in NEONFormatDecoder() 324 NEONFormatDecoder::NEONFormatDecoder(const Instruction* instr, in NEONFormatDecoder() argument 327 instrbits_ = instr->InstructionBits(); in NEONFormatDecoder() 331 NEONFormatDecoder::NEONFormatDecoder(const Instruction* instr, in NEONFormatDecoder() argument 335 instrbits_ = instr->InstructionBits(); in NEONFormatDecoder()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
H A D | GlyfEncoder.java | 265 int instr = data.readUByte(ix++); in splitPush() 268 if (instr == 0x40 || instr == 0x41) { in splitPush() 271 size = (instr & 1) + 1; in splitPush() 272 } else if (instr >= 0xB0 && instr < 0xC0) { in splitPush() 274 n = 1 + (instr & 7); in splitPush() 275 size = ((instr & 8) >> 3) + 1; in splitPush()
|
/third_party/node/deps/v8/src/execution/mips64/ |
H A D | simulator-mips64.cc | 76 void Stop(Instruction* instr); 107 void MipsDebugger::Stop(Instruction* instr) { in Stop() argument 109 uint32_t code = instr->Bits(25, 6); in Stop() 344 Instruction* instr = reinterpret_cast<Instruction*>(sim_->get_pc()); in Debug() local 345 if (!(instr->IsTrap()) || in Debug() 346 instr->InstructionBits() == rtCallRedirInstr) { in Debug() 779 Instruction* instr) { in CheckICache() 780 int64_t address = reinterpret_cast<int64_t>(instr); in CheckICache() 790 CHECK_EQ(0, memcmp(reinterpret_cast<void*>(instr), in CheckICache() 1867 int32_t Simulator::ReadW(int64_t addr, Instruction* instr, TraceTyp argument 778 CheckICache(base::CustomMatcherHashMap* i_cache, Instruction* instr) CheckICache() argument 1887 ReadWU(int64_t addr, Instruction* instr) ReadWU() argument 1907 WriteW(int64_t addr, int32_t value, Instruction* instr) WriteW() argument 1929 WriteConditionalW(int64_t addr, int32_t value, Instruction* instr, int32_t rt_reg) WriteConditionalW() argument 1959 Read2W(int64_t addr, Instruction* instr) Read2W() argument 1979 Write2W(int64_t addr, int64_t value, Instruction* instr) Write2W() argument 2001 WriteConditional2W(int64_t addr, int64_t value, Instruction* instr, int32_t rt_reg) WriteConditional2W() argument 2032 ReadD(int64_t addr, Instruction* instr) ReadD() argument 2043 WriteD(int64_t addr, double value, Instruction* instr) WriteD() argument 2058 ReadHU(int64_t addr, Instruction* instr) ReadHU() argument 2072 ReadH(int64_t addr, Instruction* instr) ReadH() argument 2086 WriteH(int64_t addr, uint16_t value, Instruction* instr) WriteH() argument 2102 WriteH(int64_t addr, int16_t value, Instruction* instr) WriteH() argument 2151 ReadMem(int64_t addr, Instruction* instr) ReadMem() argument 2167 WriteMem(int64_t addr, T value, Instruction* instr) WriteMem() argument 2198 Format(Instruction* instr, const char* format) Format() argument 2485 HandleStop(uint64_t code, Instruction* instr) HandleStop() argument 2494 IsStopInstruction(Instruction* instr) IsStopInstruction() argument [all...] |
/third_party/mesa3d/src/freedreno/isa/ |
H A D | ir3-disasm.c | 38 disasm_instr_cb(void *d, unsigned n, void *instr) in disasm_instr_cb() argument 40 uint32_t *dwords = (uint32_t *)instr; in disasm_instr_cb()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instrfactory.h | 44 bool from_nir(nir_instr *instr, Shader& shader); 49 bool process_jump(nir_jump_instr *instr, Shader& shader);
|