/external/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_reorder_uniforms.c | 46 qir_for_each_inst_inorder(inst, c) { 49 for (int i = 0; i < qir_get_nsrc(inst); i++) { 50 if (inst->src[i].file != QFILE_UNIF) 68 assert(inst->src[i].index == uniform_index[new]); 71 uniform_index[new] = inst->src[i].index; 72 inst->src[i].index = new;
|
H A D | vc4_qir_live_variables.c | 79 struct qinst *inst) 83 &inst->dst.index); 90 _mesa_hash_table_insert(partial_update_ht, &inst->dst.index, state); 97 struct hash_table *partial_update_ht, struct qinst *inst) 103 int var = qir_reg_to_var(inst->dst); 125 if ((inst->cond == QPU_COND_ALWAYS || 126 inst->cond_is_exec_mask) && !inst->dst.pack) { 150 get_partial_update_state(partial_update_ht, inst); 151 uint8_t mask = qir_channels_written(inst); 78 get_partial_update_state(struct hash_table *partial_update_ht, struct qinst *inst) argument 96 qir_setup_def(struct vc4_compile *c, struct qblock *block, int ip, struct hash_table *partial_update_ht, struct qinst *inst) argument [all...] |
/external/skia/src/gpu/vk/ |
H A D | GrVkBackendContext.cpp | 60 VkInstance inst; local 128 err = grVkCreateInstance(&instance_create, nullptr, &inst); 134 ACQUIRE_VK_PROC(DestroyInstance, inst, VK_NULL_HANDLE); 135 ACQUIRE_VK_PROC(EnumeratePhysicalDevices, inst, VK_NULL_HANDLE); 136 ACQUIRE_VK_PROC(GetPhysicalDeviceQueueFamilyProperties, inst, VK_NULL_HANDLE); 137 ACQUIRE_VK_PROC(GetPhysicalDeviceFeatures, inst, VK_NULL_HANDLE); 138 ACQUIRE_VK_PROC(CreateDevice, inst, VK_NULL_HANDLE); 139 ACQUIRE_VK_PROC(GetDeviceQueue, inst, VK_NULL_HANDLE); 140 ACQUIRE_VK_PROC(DeviceWaitIdle, inst, VK_NULL_HANDLE); 141 ACQUIRE_VK_PROC(DestroyDevice, inst, VK_NULL_HANDL [all...] |
/external/skqp/src/gpu/vk/ |
H A D | GrVkBackendContext.cpp | 60 VkInstance inst; local 128 err = grVkCreateInstance(&instance_create, nullptr, &inst); 134 ACQUIRE_VK_PROC(DestroyInstance, inst, VK_NULL_HANDLE); 135 ACQUIRE_VK_PROC(EnumeratePhysicalDevices, inst, VK_NULL_HANDLE); 136 ACQUIRE_VK_PROC(GetPhysicalDeviceQueueFamilyProperties, inst, VK_NULL_HANDLE); 137 ACQUIRE_VK_PROC(GetPhysicalDeviceFeatures, inst, VK_NULL_HANDLE); 138 ACQUIRE_VK_PROC(CreateDevice, inst, VK_NULL_HANDLE); 139 ACQUIRE_VK_PROC(GetDeviceQueue, inst, VK_NULL_HANDLE); 140 ACQUIRE_VK_PROC(DeviceWaitIdle, inst, VK_NULL_HANDLE); 141 ACQUIRE_VK_PROC(DestroyDevice, inst, VK_NULL_HANDL [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | fd2_compiler.c | 415 add_vector_clamp(struct tgsi_full_instruction *inst, struct ir2_instruction *alu) argument 417 if (inst->Instruction.Saturate) { 423 add_scalar_clamp(struct tgsi_full_instruction *inst, struct ir2_instruction *alu) argument 425 if (inst->Instruction.Saturate) { 432 struct tgsi_full_instruction *inst, struct ir2_instruction *alu) 434 assert(inst->Instruction.NumSrcRegs == 1); 435 assert(inst->Instruction.NumDstRegs == 1); 437 add_dst_reg(ctx, alu, &inst->Dst[0].Register); 438 add_src_reg(ctx, alu, &inst->Src[0].Register); 439 add_src_reg(ctx, alu, &inst 431 add_regs_vector_1(struct fd2_compile_context *ctx, struct tgsi_full_instruction *inst, struct ir2_instruction *alu) argument 444 add_regs_vector_2(struct fd2_compile_context *ctx, struct tgsi_full_instruction *inst, struct ir2_instruction *alu) argument 457 add_regs_vector_3(struct fd2_compile_context *ctx, struct tgsi_full_instruction *inst, struct ir2_instruction *alu) argument 486 add_regs_scalar_1(struct fd2_compile_context *ctx, struct tgsi_full_instruction *inst, struct ir2_instruction *alu) argument 687 translate_pow(struct fd2_compile_context *ctx, struct tgsi_full_instruction *inst) argument 736 translate_tex(struct fd2_compile_context *ctx, struct tgsi_full_instruction *inst, unsigned opc) argument 832 translate_sge_slt(struct fd2_compile_context *ctx, struct tgsi_full_instruction *inst, unsigned opc) argument 876 translate_lrp(struct fd2_compile_context *ctx, struct tgsi_full_instruction *inst, unsigned opc) argument 916 translate_trig(struct fd2_compile_context *ctx, struct tgsi_full_instruction *inst, unsigned opc) argument 979 translate_instruction(struct fd2_compile_context *ctx, struct tgsi_full_instruction *inst) argument [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_emulate_branches.c | 58 static void handle_if(struct emulate_branch_state * s, struct rc_instruction * inst) argument 70 branch->If = inst; 74 inst_mov = rc_insert_new_instruction(s->C, inst->Prev); 79 inst_mov->U.I.SrcReg[0] = inst->U.I.SrcReg[0]; 81 inst->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; 82 inst->U.I.SrcReg[0].Index = inst_mov->U.I.DstReg.Index; 83 inst->U.I.SrcReg[0].Swizzle = 0; 84 inst->U.I.SrcReg[0].Abs = 0; 85 inst->U.I.SrcReg[0].Negate = 0; 88 static void handle_else(struct emulate_branch_state * s, struct rc_instruction * inst) argument 119 scan_write(void * userdata, struct rc_instruction * inst, rc_register_file file, unsigned int index, unsigned int comp) argument 131 remap_proxy_function(void * userdata, struct rc_instruction * inst, rc_register_file * pfile, unsigned int * pindex) argument 197 handle_endif(struct emulate_branch_state * s, struct rc_instruction * inst) argument 248 remap_output_function(void * userdata, struct rc_instruction * inst, rc_register_file * pfile, unsigned int * pindex) argument 269 fix_output_writes(struct emulate_branch_state * s, struct rc_instruction * inst) argument 320 struct rc_instruction * inst = ptr; local [all...] |
H A D | radeon_dataflow_deadcode.c | 152 static void update_instruction(struct deadcode_state * s, struct rc_instruction * inst) argument 154 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->U.I.Opcode); 155 struct instruction_state * insts = &s->Instructions[inst->IP]; 160 unsigned char * pused = get_used_ptr(s, inst->U.I.DstReg.File, inst->U.I.DstReg.Index); 162 usedmask = *pused & inst->U.I.DstReg.WriteMask; 169 if (inst->U.I.WriteALUResult) { 172 if (inst->U.I.WriteALUResult == RC_ALURESULT_X) 174 else if (inst->U.I.WriteALUResult == RC_ALURESULT_W) 182 rc_compute_sources_for_writemask(inst, usedmas [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_point_sprite.c | 250 struct tgsi_full_instruction inst; local 252 inst = tgsi_default_full_instruction(); 253 inst.Instruction.Opcode = TGSI_OPCODE_MOV; 254 inst.Instruction.NumDstRegs = 1; 255 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY, 257 inst.Instruction.NumSrcRegs = 1; 258 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_CONSTANT, 261 ctx->emit_instruction(ctx, &inst); 274 struct tgsi_full_instruction inst; local 301 inst 421 psprite_inst(struct tgsi_transform_context *ctx, struct tgsi_full_instruction *inst) argument [all...] |
H A D | tgsi_two_side.c | 101 struct tgsi_full_instruction inst; local 149 inst = tgsi_default_full_instruction(); 150 inst.Instruction.Opcode = TGSI_OPCODE_CMP; 151 inst.Instruction.NumDstRegs = 1; 152 inst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; 153 inst.Dst[0].Register.Index = ts->new_colors[i]; 154 inst.Instruction.NumSrcRegs = 3; 155 inst.Src[0].Register.File = TGSI_FILE_INPUT; 156 inst.Src[0].Register.Index = ts->face_input; 157 inst 170 xform_inst(struct tgsi_transform_context *ctx, struct tgsi_full_instruction *inst) argument [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_fpc_translate.c | 309 i915_program_error(p, "Bad inst->DstReg.Index/semantics"); 316 i915_program_error(p, "Bad inst->DstReg.File"); 326 get_result_flags(const struct i915_full_instruction *inst) argument 329 = inst->Dst[0].Register.WriteMask; 332 if (inst->Instruction.Saturate) 415 const struct i915_full_instruction *inst, 419 uint texture = inst->Texture.Texture; 420 uint unit = inst->Src[1].Register.Index; 423 uint coord = src_vector( p, &inst->Src[0], fs); 426 get_result_vector( p, &inst 414 emit_tex(struct i915_fp_compile *p, const struct i915_full_instruction *inst, uint opcode, struct i915_fragment_shader* fs) argument 441 emit_simple_arith(struct i915_fp_compile *p, const struct i915_full_instruction *inst, uint opcode, uint numArgs, struct i915_fragment_shader *fs) argument 466 emit_simple_arith_swap2(struct i915_fp_compile *p, const struct i915_full_instruction *inst, uint opcode, uint numArgs, struct i915_fragment_shader *fs) argument 494 i915_translate_instruction(struct i915_fp_compile *p, const struct i915_full_instruction *inst, struct i915_fragment_shader *fs) argument [all...] |
/external/vulkan-validation-layers/loader/ |
H A D | debug_report.c | 43 void debug_report_add_instance_extensions(const struct loader_instance *inst, struct loader_extension_list *ext_list) { argument 44 loader_add_to_ext_list(inst, ext_list, 1, &debug_report_extension_info); 58 VkResult util_CreateDebugReportCallback(struct loader_instance *inst, VkDebugReportCallbackCreateInfoEXT *pCreateInfo, argument 70 pNewDbgFuncNode = (VkLayerDbgFunctionNode *)loader_instance_heap_alloc(inst, sizeof(VkLayerDbgFunctionNode), 82 pNewDbgFuncNode->pNext = inst->DbgFunctionHead; 83 inst->DbgFunctionHead = pNewDbgFuncNode; 91 struct loader_instance *inst = loader_get_instance(instance); local 93 VkResult result = inst->disp->layer_inst_disp.CreateDebugReportCallbackEXT(instance, pCreateInfo, pAllocator, pCallback); 99 VkBool32 util_DebugReportMessage(const struct loader_instance *inst, VkFlags msgFlags, VkDebugReportObjectTypeEXT objectType, argument 102 VkLayerDbgFunctionNode *pTrav = inst 115 util_DestroyDebugReportCallback(struct loader_instance *inst, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks *pAllocator) argument 231 util_CreateDebugReportCallbacks(struct loader_instance *inst, const VkAllocationCallbacks *pAllocator, uint32_t num_callbacks, VkDebugReportCallbackCreateInfoEXT *infos, VkDebugReportCallbackEXT *callbacks) argument 247 util_DestroyDebugReportCallbacks(struct loader_instance *inst, const VkAllocationCallbacks *pAllocator, uint32_t num_callbacks, VkDebugReportCallbackEXT *callbacks) argument 256 struct loader_instance *inst = loader_get_instance(instance); local 270 struct loader_instance *inst = loader_get_instance(instance); local 283 struct loader_instance *inst = (struct loader_instance *)instance; local 397 struct loader_instance *inst = (struct loader_instance *)instance; local 428 struct loader_instance *inst = (struct loader_instance *)instance; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | i915_fragprog.c | 215 const struct prog_instruction *inst) 217 switch (inst->DstReg.File) { 219 switch (inst->DstReg.Index) { 227 i915_program_error(p, "Bad inst->DstReg.Index: %d", 228 inst->DstReg.Index); 232 return UREG(REG_TYPE_R, inst->DstReg.Index); 234 i915_program_error(p, "Bad inst->DstReg.File: %d", inst->DstReg.File); 240 get_result_flags(const struct prog_instruction *inst) argument 244 if (inst 214 get_result_vector(struct i915_fragment_program *p, const struct prog_instruction *inst) argument 322 struct prog_instruction *inst = &program->arb.Instructions[i]; local 386 const struct prog_instruction *inst = program->arb.Instructions; local [all...] |
/external/llvm/lib/MC/ |
H A D | MCWin64EH.cpp | 60 WinEH::Instruction &inst) { 63 b2 = (inst.Operation & 0x0F); 64 switch (static_cast<Win64EH::UnwindOpcodes>(inst.Operation)) { 66 EmitAbsDifference(streamer, inst.Label, begin); 67 b2 |= (inst.Register & 0x0F) << 4; 71 EmitAbsDifference(streamer, inst.Label, begin); 72 if (inst.Offset > 512 * 1024 - 8) { 75 w = inst.Offset & 0xFFF8; 77 w = inst.Offset >> 16; 80 w = inst 59 EmitUnwindCode(MCStreamer &streamer, const MCSymbol *begin, WinEH::Instruction &inst) argument 193 WinEH::Instruction inst = info->Instructions.back(); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_ir_fs.h | 342 bool equals(fs_inst *inst) const; 375 * Make the execution of \p inst dependent on the evaluation of a possibly 380 fs_inst *inst) 382 inst->predicate = pred; 383 inst->predicate_inverse = inverse; 384 return inst; 388 * Make the execution of \p inst dependent on the evaluation of a predicate. 391 set_predicate(enum brw_predicate pred, fs_inst *inst) 393 return set_predicate_inv(pred, false, inst); 401 set_condmod(enum brw_conditional_mod mod, fs_inst *inst) [all...] |
H A D | brw_fs_reg_allocate.cpp | 59 foreach_block_and_inst(block, fs_inst, inst, cfg) { 60 assign_reg(hw_reg_mapping, &inst->dst); 61 for (i = 0; i < inst->sources; i++) { 62 assign_reg(hw_reg_mapping, &inst->src[i]); 329 foreach_block_and_inst(block, fs_inst, inst, cfg) { 330 switch (inst->opcode) { 359 for (int i = 0; i < inst->sources; i++) { 360 if (inst->src[i].file == FIXED_GRF) { 361 int node_nr = inst->src[i].nr; 365 for (unsigned j = 0; j < regs_read(inst, [all...] |
/external/swiftshader/third_party/LLVM/lib/MC/ |
H A D | MCWin64EH.cpp | 66 MCWin64EHInstruction &inst) { 69 b2 = (inst.getOperation() & 0x0F); 70 switch (inst.getOperation()) { 72 EmitAbsDifference(streamer, inst.getLabel(), begin); 73 b2 |= (inst.getRegister() & 0x0F) << 4; 77 EmitAbsDifference(streamer, inst.getLabel(), begin); 78 if (inst.getSize() > 512*1024-8) { 81 w = inst.getSize() & 0xFFF8; 83 w = inst.getSize() >> 16; 86 w = inst 65 EmitUnwindCode(MCStreamer &streamer, MCSymbol *begin, MCWin64EHInstruction &inst) argument 183 MCWin64EHInstruction inst = info->Instructions.back(); local [all...] |
/external/python/cpython2/Lib/ |
H A D | popen2.py | 25 for inst in _active[:]: 26 if inst.poll(_deadstate=sys.maxint) >= 0: 28 _active.remove(inst) 178 inst = Popen3(cmd, False, bufsize) 179 return inst.fromchild, inst.tochild 188 inst = Popen3(cmd, True, bufsize) 189 return inst.fromchild, inst.tochild, inst [all...] |
/external/mesa3d/src/gallium/drivers/ilo/shader/ |
H A D | toy_legalize_ra.c | 332 const struct toy_inst *inst; local 340 while ((inst = tc_next_no_skip(tc)) != NULL) { 349 if (inst->marker) { 354 assert(inst->opcode == TOY_OPCODE_DO); 362 assert(inst->opcode == TOY_OPCODE_DO); 379 if (inst->dst.file == TOY_FILE_VRF) { 383 if (inst->opcode == GEN6_OPCODE_SEND || 384 inst->opcode == GEN6_OPCODE_SENDC) { 385 const uint32_t mdesc = inst->src[1].val32; 389 if (num_dst > 1 && inst 515 struct toy_inst *inst; local 571 struct toy_inst *inst; local [all...] |
H A D | toy_compiler.h | 208 tc_duplicate_inst(struct toy_compiler *tc, const struct toy_inst *inst) argument 216 *new_inst = *inst; 226 tc_move_inst(struct toy_compiler *tc, struct toy_inst *inst) argument 228 list_del(&inst->list); 229 list_addtail(&inst->list, tc->iter_next); 236 tc_discard_inst(struct toy_compiler *tc, struct toy_inst *inst) argument 238 list_del(&inst->list); 239 slab_free_st(&tc->mempool, inst); 262 struct toy_inst *inst; local 264 inst 452 struct toy_inst *inst; local [all...] |
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
H A D | acm_receiver_unittest_oldapi.cc | 45 inst = *codec_inst; 48 CodecInst inst; member in struct:webrtc::acm2::__anon30698::CodecIdInst 202 CodecInst codec2 = codec1.inst; 207 EXPECT_EQ(0, receiver_->AddCodec(codec1.id, codec1.inst.pltype, 208 codec1.inst.channels, codec1.inst.plfreq, 215 receiver_->DecoderByPayloadType(codec1.inst.pltype, &test_codec)); 216 EXPECT_EQ(true, CodecsEqual(codec1.inst, test_codec)); 229 codec2.inst.pltype = codec1.inst [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_tgsi_aos.c | 223 const struct tgsi_full_instruction *inst, 228 const struct tgsi_full_dst_register *reg = &inst->Dst[index]; 235 if (inst->Instruction.Saturate) { 274 if (inst->Instruction.Predicate) { 277 assert(inst->Predicate.Index < LP_MAX_TGSI_PREDS); 280 bld->preds[inst->Predicate.Index], ""); 291 if (inst->Predicate.Negate) { 296 inst->Predicate.SwizzleX, 297 inst->Predicate.SwizzleY, 298 inst 221 lp_emit_store_aos( struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_instruction *inst, unsigned index, LLVMValueRef value) argument 345 emit_tex(struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_instruction *inst, enum lp_build_tex_modifier modifier) argument 381 emit_sample(struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_instruction *inst, enum lp_build_tex_modifier modifier) argument 474 lp_emit_instruction_aos( struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_instruction *inst, const struct tgsi_opcode_info *info, int *pc) argument [all...] |
/external/mesa3d/src/mesa/program/ |
H A D | prog_print.h | 78 const struct prog_instruction *inst, 84 _mesa_print_alu_instruction(const struct prog_instruction *inst, 88 _mesa_print_instruction(const struct prog_instruction *inst); 92 const struct prog_instruction *inst, 98 _mesa_print_instruction_opt(const struct prog_instruction *inst, GLint indent,
|
H A D | prog_print.c | 556 const struct prog_instruction *inst, 566 if (inst->Saturate) 570 if (inst->DstReg.File != PROGRAM_UNDEFINED) { 571 fprint_dst_reg(f, &inst->DstReg, mode, prog); 581 fprint_src_reg(f, inst->SrcReg + j, mode, prog); 591 _mesa_print_alu_instruction(const struct prog_instruction *inst, argument 594 _mesa_fprint_alu_instruction(stderr, inst, opcode_string, 604 const struct prog_instruction *inst, 611 if (inst->Opcode == OPCODE_ELSE || 612 inst 555 _mesa_fprint_alu_instruction(FILE *f, const struct prog_instruction *inst, const char *opcode_string, GLuint numRegs, gl_prog_print_mode mode, const struct gl_program *prog) argument 603 _mesa_fprint_instruction_opt(FILE *f, const struct prog_instruction *inst, GLint indent, gl_prog_print_mode mode, const struct gl_program *prog) argument 760 _mesa_print_instruction_opt(const struct prog_instruction *inst, GLint indent, gl_prog_print_mode mode, const struct gl_program *prog) argument 770 _mesa_print_instruction(const struct prog_instruction *inst) argument [all...] |
/external/python/cpython2/Demo/metaclasses/ |
H A D | Eiffel.py | 68 def __init__(self, func, inst): 69 MetaMethodWrapper.__init__(self, func, inst) 75 self.pre = getattr(inst, self.__name__ + "_pre") 79 self.post = getattr(inst, self.__name__ + "_post") 86 Result = apply(self.func, (self.inst,) + args, kw)
|
/external/vulkan-validation-layers/demos/ |
H A D | vulkaninfo.c | 179 struct AppInstance *inst; member in struct:AppGpu 490 if (CheckExtensionEnabled(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, dev->gpu->inst->inst_extensions, 491 dev->gpu->inst->inst_extensions_count)) { 494 dev->gpu->inst->vkGetPhysicalDeviceFormatProperties2KHR(dev->gpu->obj, fmt, &dev->format_props2[f]); 589 static void AppGetInstanceExtensions(struct AppInstance *inst) { argument 618 inst->global_layer_count = count; 619 inst->global_layers = global_layers; 621 for (uint32_t i = 0; i < inst->global_layer_count; i++) { 623 struct LayerExtensionList *dst_info = &inst->global_layers[i]; 633 inst 741 AppCreateInstance(struct AppInstance *inst) argument 839 AppDestroyInstance(struct AppInstance *inst) argument 849 AppGpuInit(struct AppGpu *gpu, struct AppInstance *inst, uint32_t id, VkPhysicalDevice obj) argument 955 AppCreateWin32Window(struct AppInstance *inst) argument 1004 AppCreateWin32Surface(struct AppInstance *inst) argument 1016 AppDestroyWin32Window(struct AppInstance *inst) argument 1025 AppDestroySurface(struct AppInstance *inst) argument 1033 AppCreateXcbWindow(struct AppInstance *inst) argument 1068 AppCreateXcbSurface(struct AppInstance *inst) argument 1084 AppDestroyXcbWindow(struct AppInstance *inst) argument 1097 AppCreateXlibWindow(struct AppInstance *inst) argument 1120 AppCreateXlibSurface(struct AppInstance *inst) argument 1132 AppDestroyXlibWindow(struct AppInstance *inst) argument 1142 AppDumpSurfaceFormats(struct AppInstance *inst, struct AppGpu *gpu, FILE *out) argument 1181 AppDumpSurfacePresentModes(struct AppInstance *inst, struct AppGpu *gpu, FILE *out) argument 1220 AppDumpSurfaceCapabilities(struct AppInstance *inst, struct AppGpu *gpu, FILE *out) argument 2294 struct AppInstance inst; local [all...] |