Home
last modified time | relevance | path

Searched refs:insts (Results 1 – 25 of 68) 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/spirv-tools/
DAndroid.mk200 $(call generate-file-dir,$(1)/core.insts-unified1.inc)
201 $(1)/core.insts-unified1.inc $(1)/operand.kinds-unified1.inc \
202 $(1)/glsl.std.450.insts.inc \
203 $(1)/opencl.std.insts.inc \
217 --core-insts-output=$(1)/core.insts-unified1.inc \
218 --glsl-insts-output=$(1)/glsl.std.450.insts.inc \
219 --opencl-insts-output=$(1)/opencl.std.insts.inc \
222 $(LOCAL_PATH)/source/opcode.cpp: $(1)/core.insts-unified1.inc
225 $(1)/glsl.std.450.insts.inc \
226 $(1)/opencl.std.insts.inc \
[all …]
Dbuild_defs.bzl55 "core.insts-{}.inc".format(version),
68 "--core-insts-output=$(location {3}) " +
76 "--core-insts-output=$(location {3}) " +
126 outs = ["opencl.std.insts.inc"]
135 "--opencl-insts-output=$(location {1})"
140 "--opencl-insts-output=$(location {1})"
152 outs = ["glsl.std.450.insts.inc"]
161 "--glsl-insts-output=$(location {1})"
166 "--glsl-insts-output=$(location {1})"
177 outs = ["{}.insts.inc".format(extension)]
[all …]
/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/rust/crates/regex/src/
Dcompile.rs33 insts: Vec<MaybeInst>, field
60 insts: vec![], in new()
160 self.compiled.matches = vec![self.insts.len()]; in compile_one()
191 self.compiled.matches.push(self.insts.len()); in compile_many()
200 self.compiled.matches.push(self.insts.len()); in compile_many()
206 self.compiled.insts = in compile_finish()
207 self.insts.into_iter().map(|inst| inst.unwrap()).collect(); in compile_finish()
412 let entry = self.insts.len(); in c_capture()
447 Ok(Some(Patch { hole, entry: self.insts.len() - 1 })) in c_char()
453 Ok(Some(Patch { hole, entry: self.insts.len() - 1 })) in c_char()
[all …]
Ddfa.rs57 pub fn can_exec(insts: &Program) -> bool { in can_exec()
65 if insts.dfa_size_limit == 0 || insts.len() > ::std::i32::MAX as usize { in can_exec()
68 for inst in insts { in can_exec()
428 qcur: SparseSet::new(prog.insts.len()), in new()
429 qnext: SparseSet::new(prog.insts.len()), in new()
1204 let mut insts = in cached_state_key() localVariable
1206 insts.clear(); in cached_state_key()
1208 insts.push(0); in cached_state_key()
1216 Bytes(_) => push_inst_ptr(&mut insts, &mut prev, ip), in cached_state_key()
1219 push_inst_ptr(&mut insts, &mut prev, ip) in cached_state_key()
[all …]
/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/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/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/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/node/deps/v8/src/regexp/experimental/
Dexperimental-bytecode.cc95 base::Vector<const RegExpInstruction> insts) { in operator <<() argument
96 int inst_num = insts.length(); in operator <<()
100 const RegExpInstruction& inst = insts[i]; in operator <<()
/third_party/vixl/tools/
Dmake_instruction_doc_aarch64.pl140 my $insts = shift;
142 foreach my $i (sort(keys(%$insts))) {
143 my $inst = $insts->{$i};
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_deadcode.c147 struct instruction_state * insts = &s->Instructions[inst->IP]; in update_instruction() local
159 insts->WriteMask |= usedmask; in update_instruction()
170 insts->WriteALUResult = 1; in update_instruction()
178 unsigned int newsrcmask = srcmasks[src] & ~insts->SrcReg[src]; in update_instruction()
179 insts->SrcReg[src] |= newsrcmask; in update_instruction()
/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/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))
/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))
/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))

123