Home
last modified time | relevance | path

Searched refs:insts (Results 1 – 25 of 75) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qpu_validate.c115 vc4_qpu_validate(uint64_t *insts, uint32_t num_inst) in vc4_qpu_validate() argument
129 uint64_t inst = insts[i]; in vc4_qpu_validate()
168 if (writes_reg(insts[j], QPU_W_VPM) || in vc4_qpu_validate()
169 reads_reg(insts[j], QPU_R_VARY) || in vc4_qpu_validate()
170 reads_reg(insts[j], QPU_R_UNIF) || in vc4_qpu_validate()
171 reads_reg(insts[j], QPU_R_VPM)) { in vc4_qpu_validate()
172 fail_instr(insts[j], "last 3 instructions " in vc4_qpu_validate()
180 if (writes_reg(insts[j], 14) || in vc4_qpu_validate()
181 reads_reg(insts[j], 14)) { in vc4_qpu_validate()
182 fail_instr(insts[j], "last 3 instructions " in vc4_qpu_validate()
[all …]
Dvc4_qir_live_variables.c33 struct qinst *insts[4]; member
148 if (state->insts[i] && in qir_setup_def()
149 state->insts[i]->cond == in qir_setup_def()
153 state->insts[i] = inst; in qir_setup_def()
168 if (state->insts[i] && state->insts[i]->cond) in sf_state_clear()
169 state->insts[i] = NULL; in sf_state_clear()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/
DAndroid.bp61 "core.insts-unified1.inc",
62 "debuginfo.insts.inc",
65 "glsl.std.450.insts.inc",
66 "opencl.debuginfo.100.insts.inc",
67 "opencl.std.insts.inc",
69 "spv-amd-gcn-shader.insts.inc",
70 "spv-amd-shader-ballot.insts.inc",
71 "spv-amd-shader-explicit-vertex-parameter.insts.inc",
72 "spv-amd-shader-trinary-minmax.insts.inc",
73 "nonsemantic.clspvreflection.insts.inc",
[all …]
Dbuild_defs.bzl55 "core.insts-{}.inc".format(version),
68 "--core-insts-output=$(location {3}) " +
110 outs = ["opencl.std.insts.inc"]
119 "--opencl-insts-output=$(location {1})"
131 outs = ["glsl.std.450.insts.inc"]
140 "--glsl-insts-output=$(location {1})"
151 outs = ["{}.insts.inc".format(extension)]
161 "--vendor-insts-output=$(location {1}) " +
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dmodule.cpp27 std::vector<Instruction*> insts; in GetTypes() local
30 insts.push_back(types_values_[i].get()); in GetTypes()
32 return insts; in GetTypes()
36 std::vector<const Instruction*> insts; in GetTypes() local
39 insts.push_back(types_values_[i].get()); in GetTypes()
41 return insts; in GetTypes()
45 std::vector<Instruction*> insts; in GetConstants() local
48 insts.push_back(types_values_[i].get()); in GetConstants()
50 return insts; in GetConstants()
54 std::vector<const Instruction*> insts; in GetConstants() local
[all …]
/third_party/spirv-tools/
DAndroid.mk185 $(call generate-file-dir,$(1)/core.insts-unified1.inc)
186 $(1)/core.insts-unified1.inc $(1)/operand.kinds-unified1.inc \
187 $(1)/glsl.std.450.insts.inc \
188 $(1)/opencl.std.insts.inc \
202 --core-insts-output=$(1)/core.insts-unified1.inc \
203 --glsl-insts-output=$(1)/glsl.std.450.insts.inc \
204 --opencl-insts-output=$(1)/opencl.std.insts.inc \
207 $(LOCAL_PATH)/source/opcode.cpp: $(1)/core.insts-unified1.inc
210 $(1)/glsl.std.450.insts.inc \
211 $(1)/opencl.std.insts.inc \
[all …]
Dbuild_defs.bzl54 "core.insts-{}.inc".format(version),
67 "--core-insts-output=$(location {3}) " +
109 outs = ["opencl.std.insts.inc"]
118 "--opencl-insts-output=$(location {1})"
130 outs = ["glsl.std.450.insts.inc"]
139 "--glsl-insts-output=$(location {1})"
150 outs = ["{}.insts.inc".format(extension)]
160 "--vendor-insts-output=$(location {1}) " +
/third_party/skia/third_party/externals/spirv-tools/
DAndroid.mk192 $(call generate-file-dir,$(1)/core.insts-unified1.inc)
193 $(1)/core.insts-unified1.inc $(1)/operand.kinds-unified1.inc \
194 $(1)/glsl.std.450.insts.inc \
195 $(1)/opencl.std.insts.inc \
209 --core-insts-output=$(1)/core.insts-unified1.inc \
210 --glsl-insts-output=$(1)/glsl.std.450.insts.inc \
211 --opencl-insts-output=$(1)/opencl.std.insts.inc \
214 $(LOCAL_PATH)/source/opcode.cpp: $(1)/core.insts-unified1.inc
217 $(1)/glsl.std.450.insts.inc \
218 $(1)/opencl.std.insts.inc \
[all …]
Dbuild_defs.bzl55 "core.insts-{}.inc".format(version),
68 "--core-insts-output=$(location {3}) " +
110 outs = ["opencl.std.insts.inc"]
119 "--opencl-insts-output=$(location {1})"
131 outs = ["glsl.std.450.insts.inc"]
140 "--glsl-insts-output=$(location {1})"
151 outs = ["{}.insts.inc".format(extension)]
161 "--vendor-insts-output=$(location {1}) " +
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Dpass_utils.cpp72 std::string JoinAllInsts(const std::vector<const char*>& insts) { in JoinAllInsts() argument
73 return SelectiveJoin(insts, [](const char*) { return false; }); in JoinAllInsts()
76 std::string JoinNonDebugInsts(const std::vector<const char*>& insts) { in JoinNonDebugInsts() argument
78 insts, [](const char* inst) { return ContainsDebugOpcode(inst); }); in JoinNonDebugInsts()
Dpass_utils.h45 std::string JoinAllInsts(const std::vector<const char*>& insts);
50 std::string JoinNonDebugInsts(const std::vector<const char*>& insts);
/third_party/glslang/Test/
D300block.frag35 } insts[4];
44 texture(s.sampler, vec3(inst.ni, bv.y, insts[2].nbv.z));
45 insts[s.v.x]; // ERROR
48 int insts;
/third_party/spirv-tools/test/opt/
Dpass_utils.cpp92 std::string JoinAllInsts(const std::vector<const char*>& insts) { in JoinAllInsts() argument
93 return SelectiveJoin(insts, [](const char*) { return false; }); in JoinAllInsts()
96 std::string JoinNonDebugInsts(const std::vector<const char*>& insts) { in JoinNonDebugInsts() argument
98 insts, [](const char* inst) { return ContainsDebugOpcode(inst); }); in JoinNonDebugInsts()
Dpass_utils.h64 std::string JoinAllInsts(const std::vector<const char*>& insts);
69 std::string JoinNonDebugInsts(const std::vector<const char*>& insts);
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dpass_utils.cpp92 std::string JoinAllInsts(const std::vector<const char*>& insts) { in JoinAllInsts() argument
93 return SelectiveJoin(insts, [](const char*) { return false; }); in JoinAllInsts()
96 std::string JoinNonDebugInsts(const std::vector<const char*>& insts) { in JoinNonDebugInsts() argument
98 insts, [](const char* inst) { return ContainsDebugOpcode(inst); }); in JoinNonDebugInsts()
Dpass_utils.h64 std::string JoinAllInsts(const std::vector<const char*>& insts);
69 std::string JoinNonDebugInsts(const std::vector<const char*>& insts);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_utils.cpp92 std::string JoinAllInsts(const std::vector<const char*>& insts) { in JoinAllInsts() argument
93 return SelectiveJoin(insts, [](const char*) { return false; }); in JoinAllInsts()
96 std::string JoinNonDebugInsts(const std::vector<const char*>& insts) { in JoinNonDebugInsts() argument
98 insts, [](const char* inst) { return ContainsDebugOpcode(inst); }); in JoinNonDebugInsts()
Dpass_utils.h64 std::string JoinAllInsts(const std::vector<const char*>& insts);
69 std::string JoinNonDebugInsts(const std::vector<const char*>& insts);
/third_party/flutter/skia/third_party/spirv-tools/
DBUILD.gn9 "$root_out_dir/spirv-tools/core.insts-$version.inc",
16 "--core-insts-output=" +
17 rebase_path("$root_out_dir/spirv-tools/core.insts-$version.inc",
44 outputs = [ "$root_out_dir/spirv-tools/glsl.std.450.insts-1.0.inc" ]
53 "--glsl-insts-output=" +
54 rebase_path("$root_out_dir/spirv-tools/glsl.std.450.insts-1.0.inc",
85 outputs = [ "$root_out_dir/spirv-tools/opencl.std.insts-1.0.inc" ]
94 "--opencl-insts-output=" +
95 rebase_path("$root_out_dir/spirv-tools/opencl.std.insts-1.0.inc",
106 outputs = [ "$root_out_dir/spirv-tools/$vendor_table.insts.inc" ]
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPU.td60 def FeatureFlatGlobalInsts : SubtargetFeature<"flat-global-insts",
66 def FeatureFlatScratchInsts : SubtargetFeature<"flat-scratch-insts",
72 def FeatureScalarFlatScratchInsts : SubtargetFeature<"scalar-flat-scratch-insts",
78 def FeatureAddNoCarryInsts : SubtargetFeature<"add-no-carry-insts",
108 def FeatureMadMixInsts : SubtargetFeature<"mad-mix-insts",
114 def FeatureFmaMixInsts : SubtargetFeature<"fma-mix-insts",
233 def FeatureCIInsts : SubtargetFeature<"ci-insts",
239 def FeatureGFX8Insts : SubtargetFeature<"gfx8-insts",
245 def FeatureGFX9Insts : SubtargetFeature<"gfx9-insts",
251 def FeatureGFX10Insts : SubtargetFeature<"gfx10-insts",
[all …]
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dspv_dump.cc78 std::string DumpInstructions(const InstructionList& insts) { in DumpInstructions() argument
81 for (const auto& inst : insts) { in DumpInstructions()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_deadcode.c155 struct instruction_state * insts = &s->Instructions[inst->IP]; in update_instruction() local
167 insts->WriteMask |= usedmask; in update_instruction()
178 insts->WriteALUResult = 1; in update_instruction()
186 unsigned int newsrcmask = srcmasks[src] & ~insts->SrcReg[src]; in update_instruction()
187 insts->SrcReg[src] |= newsrcmask; in update_instruction()
/third_party/mesa3d/src/compiler/glsl/
Dlower_const_arrays_to_uniforms.cpp48 lower_const_array_visitor(exec_list *insts, unsigned s, in lower_const_array_visitor() argument
51 instructions = insts; in lower_const_array_visitor()
/third_party/skia/third_party/externals/spirv-tools/utils/
Dgenerate_grammar_tables.py356 insts = [generate_instruction(inst, False) for inst in inst_table]
357 insts = ['static const spv_opcode_desc_t kOpcodeTableEntries[] = {{\n'
358 ' {}\n}};'.format(',\n '.join(insts))]
360 return '{}\n\n{}\n\n{}'.format(caps_arrays, exts_arrays, '\n'.join(insts))
382 insts = [generate_instruction(inst, True) for inst in inst_table]
383 insts = ['static const spv_ext_inst_desc_t {}_entries[] = {{\n'
384 ' {}\n}};'.format(set_name, ',\n '.join(insts))]
386 return '{}\n\n{}'.format(caps_arrays, '\n'.join(insts))
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/
Dgenerate_grammar_tables.py356 insts = [generate_instruction(inst, False) for inst in inst_table]
357 insts = ['static const spv_opcode_desc_t kOpcodeTableEntries[] = {{\n'
358 ' {}\n}};'.format(',\n '.join(insts))]
360 return '{}\n\n{}\n\n{}'.format(caps_arrays, exts_arrays, '\n'.join(insts))
382 insts = [generate_instruction(inst, True) for inst in inst_table]
383 insts = ['static const spv_ext_inst_desc_t {}_entries[] = {{\n'
384 ' {}\n}};'.format(set_name, ',\n '.join(insts))]
386 return '{}\n\n{}'.format(caps_arrays, '\n'.join(insts))

123