Home
last modified time | relevance | path

Searched refs:inst (Results 926 - 950 of 1414) sorted by relevance

1...<<31323334353637383940>>...57

/third_party/skia/third_party/externals/spirv-tools/source/reduce/
H A Dremove_unused_instruction_reduction_opportunity_finder.h44 // Returns true if and only if the only uses of |inst| are by decorations that
48 opt::IRContext* context, const opt::Instruction& inst) const;
50 // Returns true if and only if |inst| is a decoration instruction that can
53 bool IsIndependentlyRemovableDecoration(const opt::Instruction& inst) const;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dfuzzer_pass_add_relaxed_decorations.cpp34 for (auto& inst : block) { in Apply()
39 TransformationAddRelaxedDecoration transformation(inst.result_id()); in Apply()
H A Dfuzzer_pass_swap_conditional_branch_operands.cpp40 const auto& inst = *inst_it; in Apply()
42 if (inst.opcode() != SpvOpBranchConditional) { in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dreduce_load_size.h47 // Replaces |inst|, which must be an OpCompositeExtract instruction, with
49 // feeding |inst|. Returns true if the substitution happened. The position
52 bool ReplaceExtract(Instruction* inst);
54 // Returns true if the OpCompositeExtract instruction |inst| should be replace
55 // or not. This is determined by looking at the load that feeds |inst| if
57 // on the load feeding |inst|.
58 bool ShouldReplaceExtract(Instruction* inst);
H A Dreplace_invalid_opc.h45 // Returns true if |inst| is valid for fragment shaders only.
46 bool IsFragmentShaderOnlyInstruction(Instruction* inst);
48 // Replaces all uses of the result of |inst|, if there is one, with the id of
49 // a special constant. Then |inst| is killed. |inst| cannot be a block
50 // terminator because the basic block will then become invalid. |inst| is no
52 void ReplaceInstruction(Instruction* inst, const char* source,
H A Dwrap_opkill.h41 // Replaces the OpKill or OpTerminateInvocation instruction |inst| with a
43 // |inst|. An OpUnreachable instruction will be placed after the function
45 bool ReplaceWithFunctionCall(Instruction* inst);
58 // Returns the id of the return type for the function that contains |inst|.
59 // Returns 0 if |inst| is not in a function.
60 uint32_t GetOwningFunctionsReturnType(Instruction* inst);
H A Dconstants.h534 const Constant* GetConstantFromInst(const Instruction* inst);
566 Type* GetType(const Instruction* inst) const;
610 const Instruction* inst) const;
612 // Records a mapping between |inst| and the constant value generated by it.
613 // It returns true if a new Constant was successfully mapped, false if |inst|
615 bool MapInst(Instruction* inst) { in MapInst() argument
616 if (auto cst = GetConstantFromInst(inst)) { in MapInst()
617 MapConstantToInst(cst, inst); in MapInst()
631 // Records a new mapping between |inst| and |const_value|. This updates the
633 void MapConstantToInst(const Constant* const_value, Instruction* inst) { in MapConstantToInst() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
H A Dremove_unused_instruction_reduction_opportunity_finder.h44 // Returns true if and only if the only uses of |inst| are by decorations that
48 opt::IRContext* context, const opt::Instruction& inst) const;
50 // Returns true if and only if |inst| is a decoration instruction that can
53 bool IsIndependentlyRemovableDecoration(const opt::Instruction& inst) const;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dline_debug_info_test.cpp29 [&modified](Instruction* inst) {
30 inst->ToNop();
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dfunction.cc46 for (const auto& inst : instructions_) { in iterate()
47 cb(inst); in iterate()
/third_party/spirv-tools/source/fuzz/
H A Dfuzzer_pass_add_relaxed_decorations.cpp34 for (auto& inst : block) { in Apply()
39 TransformationAddRelaxedDecoration transformation(inst.result_id()); in Apply()
H A Dfuzzer_pass_swap_conditional_branch_operands.cpp40 const auto& inst = *inst_it; in Apply()
42 if (inst.opcode() != spv::Op::OpBranchConditional) { in Apply()
/third_party/spirv-tools/source/opt/
H A Dreduce_load_size.h47 // Replaces |inst|, which must be an OpCompositeExtract instruction, with
49 // feeding |inst|. Returns true if the substitution happened. The position
52 bool ReplaceExtract(Instruction* inst);
54 // Returns true if the OpCompositeExtract instruction |inst| should be replace
55 // or not. This is determined by looking at the load that feeds |inst| if
57 // on the load feeding |inst|.
58 bool ShouldReplaceExtract(Instruction* inst);
H A Dreplace_invalid_opc.h45 // Returns true if |inst| is valid for fragment shaders only.
46 bool IsFragmentShaderOnlyInstruction(Instruction* inst);
48 // Replaces all uses of the result of |inst|, if there is one, with the id of
49 // a special constant. Then |inst| is killed. |inst| cannot be a block
50 // terminator because the basic block will then become invalid. |inst| is no
52 void ReplaceInstruction(Instruction* inst, const char* source,
H A Dconstants.h542 const Constant* GetConstantFromInst(const Instruction* inst);
574 Type* GetType(const Instruction* inst) const;
618 const Instruction* inst) const;
620 // Records a mapping between |inst| and the constant value generated by it.
621 // It returns true if a new Constant was successfully mapped, false if |inst|
623 bool MapInst(Instruction* inst) { in MapInst() argument
624 if (auto cst = GetConstantFromInst(inst)) { in MapInst()
625 MapConstantToInst(cst, inst); in MapInst()
639 // Records a new mapping between |inst| and |const_value|. This updates the
641 void MapConstantToInst(const Constant* const_value, Instruction* inst) { in MapConstantToInst() argument
[all...]
/third_party/spirv-tools/source/reduce/
H A Dremove_unused_instruction_reduction_opportunity_finder.h44 // Returns true if and only if the only uses of |inst| are by decorations that
48 opt::IRContext* context, const opt::Instruction& inst) const;
50 // Returns true if and only if |inst| is a decoration instruction that can
53 bool IsIndependentlyRemovableDecoration(const opt::Instruction& inst) const;
/third_party/spirv-tools/test/opt/
H A Dline_debug_info_test.cpp29 [&modified](Instruction* inst) {
30 inst->ToNop();
/third_party/vulkan-loader/loader/
H A Dlog.h66 void loader_log(const struct loader_instance *inst, VkFlags msg_type, int32_t msg_code, const char *format, ...)
71 void loader_log_asm_function_not_supported(const struct loader_instance *inst, VkFlags msg_type, int32_t msg_code,
/third_party/pcre2/pcre2/src/sljit/
H A DsljitNativeARM_64.c2161 sljit_u32 inst; in sljit_emit_mem() local
2182 inst = ADDI; in sljit_emit_mem()
2187 inst = SUBI; in sljit_emit_mem()
2194 inst = (type & SLJIT_MEM_STORE) ? STRI : LDRI; in sljit_emit_mem()
2196 FAIL_IF(push_inst(compiler, inst | RD(REG_PAIR_FIRST(reg)) | RN(mem & REG_MASK) | ((sljit_ins)memw << 7))); in sljit_emit_mem()
2197 return push_inst(compiler, inst | RD(REG_PAIR_SECOND(reg)) | RN(mem & REG_MASK) | ((sljit_ins)(memw + 0x8) << 7)); in sljit_emit_mem()
2201 FAIL_IF(push_inst(compiler, inst | RD(TMP_REG1) | RN(mem & REG_MASK) | ((sljit_ins)memw << 10))); in sljit_emit_mem()
2204 FAIL_IF(push_inst(compiler, inst | (1 << 22) | RD(TMP_REG1) | RN(mem & REG_MASK) | (((sljit_ins)memw >> 12) << 10))); in sljit_emit_mem()
2207 FAIL_IF(push_inst(compiler, inst | RD(TMP_REG1) | RN(TMP_REG1) | (((sljit_ins)memw & 0xfff) << 10))); in sljit_emit_mem()
2214 FAIL_IF(push_inst(compiler, (inst in sljit_emit_mem()
2232 sljit_u32 sign = 0, inst; sljit_emit_mem_update() local
2286 sljit_u32 inst; sljit_emit_fmem_update() local
2396 sljit_ins* inst = (sljit_ins*)addr; sljit_set_jump_addr() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dvalidation_state.h194 DiagnosticStream diag(spv_result_t error_code, const Instruction* inst);
368 Instruction* AddOrderedInstruction(const spv_parsed_instruction_t* inst);
372 void RegisterInstruction(Instruction* inst);
375 void RegisterDebugInstruction(const Instruction* inst);
525 bool RegisterUniqueTypeDeclaration(const Instruction* inst);
615 uint32_t GetOperandTypeId(const Instruction* inst,
686 std::string Disassemble(const Instruction& inst) const;
694 spv_result_t CooperativeMatrixShapesMatch(const Instruction* inst,
712 // Traces |inst| to find a single base pointer. Returns the base pointer.
719 const Instruction* TracePointer(const Instruction* inst) cons
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dconstants.h534 const Constant* GetConstantFromInst(const Instruction* inst);
566 Type* GetType(const Instruction* inst) const;
610 const Instruction* inst) const;
612 // Records a mapping between |inst| and the constant value generated by it.
613 // It returns true if a new Constant was successfully mapped, false if |inst|
615 bool MapInst(Instruction* inst) { in MapInst() argument
616 if (auto cst = GetConstantFromInst(inst)) { in MapInst()
617 MapConstantToInst(cst, inst); in MapInst()
631 // Records a new mapping between |inst| and |const_value|. This updates the
633 void MapConstantToInst(const Constant* const_value, Instruction* inst) { in MapConstantToInst() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidation_state.h194 DiagnosticStream diag(spv_result_t error_code, const Instruction* inst);
368 Instruction* AddOrderedInstruction(const spv_parsed_instruction_t* inst);
372 void RegisterInstruction(Instruction* inst);
375 void RegisterDebugInstruction(const Instruction* inst);
525 bool RegisterUniqueTypeDeclaration(const Instruction* inst);
615 uint32_t GetOperandTypeId(const Instruction* inst,
686 std::string Disassemble(const Instruction& inst) const;
694 spv_result_t CooperativeMatrixShapesMatch(const Instruction* inst,
712 // Traces |inst| to find a single base pointer. Returns the base pointer.
719 const Instruction* TracePointer(const Instruction* inst) cons
[all...]
/third_party/spirv-tools/source/val/
H A Dvalidation_state.h193 DiagnosticStream diag(spv_result_t error_code, const Instruction* inst);
382 Instruction* AddOrderedInstruction(const spv_parsed_instruction_t* inst);
386 void RegisterInstruction(Instruction* inst);
389 void RegisterDebugInstruction(const Instruction* inst);
566 bool RegisterUniqueTypeDeclaration(const Instruction* inst);
664 uint32_t GetOperandTypeId(const Instruction* inst,
735 std::string Disassemble(const Instruction& inst) const;
756 spv_result_t CooperativeMatrixShapesMatch(const Instruction* inst,
774 // Traces |inst| to find a single base pointer. Returns the base pointer.
781 const Instruction* TracePointer(const Instruction* inst) cons
[all...]
/test/testfwk/xdevice/plugins/devicetest/core/
H A Derror_message.py1202 inst = cls.Dict()
1204 inst[_key] = cls.dict_to_object(_value)
1205 return inst
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/
H A Ddevices.c157 if (wifi_ops.configure(&wnd->inst, NULL)) { in init_plat_devices()
162 wifi_ops.up(&wnd->inst); in init_plat_devices()
164 lws_netdev_wifi_scan_plat(&wnd->inst); in init_plat_devices()

Completed in 21 milliseconds

1...<<31323334353637383940>>...57