Home
last modified time | relevance | path

Searched refs:scc (Results 1 – 25 of 62) sorted by relevance

123

/third_party/ffmpeg/libavformat/
Dsccenc.c35 SCCContext *scc = avf->priv_data; in scc_write_header() local
52 scc->prev_h = scc->prev_m = scc->prev_s = scc->prev_f = -1; in scc_write_header()
53 scc->inside = 0; in scc_write_header()
60 SCCContext *scc = avf->priv_data; in scc_write_packet() local
82 …if (!scc->inside && (scc->prev_h != h || scc->prev_m != m || scc->prev_s != s || scc->prev_f != f)… in scc_write_packet()
84 scc->inside = 1; in scc_write_packet()
92 if (!scc->inside) { in scc_write_packet()
94 scc->inside = 1; in scc_write_packet()
96 if (scc->n > 0) in scc_write_packet()
99 scc->n++; in scc_write_packet()
[all …]
Dsccdec.c64 SCCContext *scc = s->priv_data; in scc_read_header() local
146 sub = ff_subtitles_queue_insert(&scc->q, out, i, 0); in scc_read_header()
165 sub = ff_subtitles_queue_insert(&scc->q, out, i, 0); in scc_read_header()
175 ff_subtitles_queue_finalize(s, &scc->q); in scc_read_header()
179 ff_subtitles_queue_clean(&scc->q); in scc_read_header()
185 SCCContext *scc = s->priv_data; in scc_read_packet() local
186 return ff_subtitles_queue_read_packet(&scc->q, pkt); in scc_read_packet()
192 SCCContext *scc = s->priv_data; in scc_read_seek() local
193 return ff_subtitles_queue_seek(&scc->q, s, stream_index, in scc_read_seek()
199 SCCContext *scc = s->priv_data; in scc_read_close() local
[all …]
/third_party/protobuf/src/google/protobuf/compiler/
Dscc.h68 if (cache_.count(descriptor)) return cache_[descriptor].scc; in GetSCC()
69 return DFS(descriptor).scc; in GetSCC()
74 const SCC* scc; // if null it means its still on the stack member
109 if (child_data.scc == nullptr) { in DFS()
117 SCC* scc = CreateSCC(); in DFS() local
120 scc->descriptors.push_back(scc_desc); in DFS()
123 cache_[scc_desc].scc = scc; in DFS()
130 std::sort(scc->descriptors.begin(), scc->descriptors.end(), in DFS()
134 AddChildren(scc); in DFS()
140 void AddChildren(SCC* scc) { in AddChildren() argument
[all …]
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_optimizer_postRA.cpp53 …auto sand = bld.sop2(Builder::s_and, bld.def(bld.lm, reg_s0), bld.def(s1, scc), bld.vcc(vcmp), Ope…
54 …auto br = bld.branch(aco_opcode::p_cbranch_z, bld.def(s2, reg_s2), bld.scc(sand.def(1).getTemp()));
70 …auto sand = bld.sop2(Builder::s_and, bld.def(bld.lm, reg_s0), bld.def(s1, scc), bld.vcc(vcmp), Ope…
72 …auto br = bld.branch(aco_opcode::p_cbranch_z, bld.def(s2, reg_s2), bld.scc(sand.def(1).getTemp()));
87 …auto sand = bld.sop2(Builder::s_and, bld.def(bld.lm, reg_s0), bld.def(s1, scc), Operand(vcmp, reg_…
88 …auto br = bld.branch(aco_opcode::p_cbranch_z, bld.def(s2, reg_s2), bld.scc(sand.def(1).getTemp()));
101 auto salu = bld.sop2(Builder::s_or, bld.def(bld.lm, vcc), bld.def(s1, scc),
103 …auto sand = bld.sop2(Builder::s_and, bld.def(bld.lm, reg_s0), bld.def(s1, scc), Operand(salu, vcc)…
104 …auto br = bld.branch(aco_opcode::p_cbranch_z, bld.def(s2, reg_s2), bld.scc(sand.def(1).getTemp()));
120 …auto sand = bld.sop2(Builder::s_and, bld.def(bld.lm, reg_s0), bld.def(s1, scc), bld.vcc(vcmp), Ope…
[all …]
Dtest_optimizer.cpp328 shift = bld.sop2(aco_opcode::s_lshl_b32, bld.def(s1), bld.def(s1, scc), Operand(inputs[0]),
330 writeout(0, bld.sop2(aco_opcode::s_add_u32, bld.def(s1), bld.def(s1, scc), shift,
341 shift = bld.sop2(aco_opcode::s_lshl_b32, bld.def(s1), bld.def(s1, scc), Operand(inputs[0]),
344 bld.sop2(aco_opcode::s_add_u32, bld.def(s1), bld.def(s1, scc), shift, Operand::c32(4u));
562 writeout(0, bld.sop2(aco_opcode::s_or_b64, bld.def(bld.lm), bld.def(s1, scc),
569 writeout(1, bld.sop2(aco_opcode::s_or_b64, bld.def(bld.lm), bld.def(s1, scc),
576 writeout(2, bld.sop2(aco_opcode::s_or_b64, bld.def(bld.lm), bld.def(s1, scc),
584 writeout(3, bld.sop2(aco_opcode::s_and_b64, bld.def(bld.lm), bld.def(s1, scc),
591 writeout(4, bld.sop2(aco_opcode::s_and_b64, bld.def(bld.lm), bld.def(s1, scc),
598 writeout(5, bld.sop2(aco_opcode::s_and_b64, bld.def(bld.lm), bld.def(s1, scc),
[all …]
Dtest_regalloc.cpp221 …Temp scc_tmp = bld.pseudo(aco_opcode::p_unit_test, bld.def(s1, scc), Definition(s0_tmp.id(), PhysR…
322 bld.branch(aco_opcode::p_cbranch_z, bld.def(s2), Operand(scc, s1));
/third_party/python/Tools/peg_generator/pegen/
Dsccutils.py42 scc = set(stack[index[v] :])
44 identified.update(scc)
45 yield scc
101 graph: Dict[str, AbstractSet[str]], scc: AbstractSet[str], start: str
112 assert start in scc, (start, scc)
113 assert scc <= graph.keys(), scc - graph.keys()
116 graph = {src: {dst for dst in dsts if dst in scc} for src, dsts in graph.items() if src in scc}
Dparser_generator.py169 for scc in sccs:
170 if len(scc) > 1:
171 for name in scc:
174 leaders = set(scc)
175 for start in scc:
176 for cycle in sccutils.find_cycles_in_scc(graph, scc, start):
178 leaders -= scc - set(cycle)
187 name = min(scc) # The only element.
D__main__.py149 for scc in gen.first_sccs:
150 print(" ", scc, end="")
151 if len(scc) > 1:
154 {name for name in scc if grammar.rules[name].leader},
157 name = next(iter(scc))
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_file.cc472 const SCC* scc = GetSCC(msg); in GetCrossFileReferencesForField() local
476 refs->weak_sccs.insert(scc); in GetCrossFileReferencesForField()
479 refs->strong_sccs.insert(scc); in GetCrossFileReferencesForField()
508 for (auto scc : Sorted(refs.strong_sccs)) { in GenerateInternalForwardDeclarations() local
510 FileDllExport(scc->GetFile(), options_), scc->children.size(), in GenerateInternalForwardDeclarations()
511 SccInfoSymbol(scc, options_)); in GenerateInternalForwardDeclarations()
514 for (auto scc : Sorted(refs.weak_sccs)) { in GenerateInternalForwardDeclarations() local
524 scc->children.size(), SccInfoSymbol(scc, options_)); in GenerateInternalForwardDeclarations()
528 scc->children.size(), SccInfoPtrSymbol(scc, options_)); in GenerateInternalForwardDeclarations()
533 scc->children.size(), SccInfoSymbol(scc, options_)); in GenerateInternalForwardDeclarations()
[all …]
Dcpp_helpers.h574 MessageAnalysis GetSCCAnalysis(const SCC* scc);
601 inline std::string SccInfoSymbol(const SCC* scc, const Options& options) { in SccInfoSymbol() argument
602 return UniqueName("scc_info_" + ClassName(scc->GetRepresentative()), in SccInfoSymbol()
603 scc->GetRepresentative(), options); in SccInfoSymbol()
606 inline std::string SccInfoPtrSymbol(const SCC* scc, const Options& options) { in SccInfoPtrSymbol() argument
607 return UniqueName("scc_info_ptr_" + ClassName(scc->GetRepresentative()), in SccInfoPtrSymbol()
608 scc->GetRepresentative(), options); in SccInfoPtrSymbol()
Dcpp_helpers.cc1164 MessageAnalysis MessageSCCAnalyzer::GetSCCAnalysis(const SCC* scc) { in GetSCCAnalysis() argument
1165 if (analysis_cache_.count(scc)) return analysis_cache_[scc]; in GetSCCAnalysis()
1167 for (int i = 0; i < scc->descriptors.size(); i++) { in GetSCCAnalysis()
1168 const Descriptor* descriptor = scc->descriptors[i]; in GetSCCAnalysis()
1195 if (child != scc) { in GetSCCAnalysis()
1220 return analysis_cache_[scc] = result; in GetSCCAnalysis()
/third_party/mesa3d/src/amd/compiler/
Daco_lower_phis.cpp157 bld.sop2(Builder::s_and, dst, bld.def(s1, scc), cur, Operand(exec, bld.lm)); in build_merge_code()
160 bld.sop2(Builder::s_orn2, dst, bld.def(s1, scc), cur, Operand(exec, bld.lm)); in build_merge_code()
175 bld.sop2(Builder::s_and, bld.def(bld.lm), bld.def(s1, scc), cur, Operand(exec, bld.lm)); in build_merge_code()
177 bld.sop2(Builder::s_or, dst, bld.def(s1, scc), prev, cur); in build_merge_code()
183 bld.sop2(Builder::s_or, dst, bld.def(s1, scc), prev, Operand(exec, bld.lm)); in build_merge_code()
185 bld.sop2(Builder::s_andn2, dst, bld.def(s1, scc), prev, Operand(exec, bld.lm)); in build_merge_code()
189 bld.sop2(Builder::s_andn2, bld.def(bld.lm), bld.def(s1, scc), prev, Operand(exec, bld.lm)); in build_merge_code()
190 cur = bld.sop2(Builder::s_and, bld.def(bld.lm), bld.def(s1, scc), cur, Operand(exec, bld.lm)); in build_merge_code()
191 bld.sop2(Builder::s_or, dst, bld.def(s1, scc), prev, cur); in build_merge_code()
Daco_insert_exec_mask.cpp198 exec_mask = bld.sop1(Builder::s_wqm, Definition(exec, bld.lm), bld.def(s1, scc), in transition_to_WQM()
233 wqm = bld.sop1(Builder::s_and_saveexec, bld.def(bld.lm), bld.def(s1, scc), in transition_to_Exact()
236 bld.sop2(Builder::s_and, Definition(exec, bld.lm), bld.def(s1, scc), in transition_to_Exact()
278 bld.sop1(Builder::s_wqm, Definition(exec, bld.lm), bld.def(s1, scc), in add_coupling_code()
582 bld.sop1(Builder::s_and_saveexec, bld.def(bld.lm), bld.scc(Definition(exit_cond)), in process_instructions()
587 exit_cond = bld.sop2(Builder::s_andn2, Definition(exec, bld.lm), bld.def(s1, scc), in process_instructions()
596 Instruction* andn2 = bld.sop2(Builder::s_andn2, bld.def(bld.lm), bld.def(s1, scc), in process_instructions()
603 instr->operands[0] = bld.scc(exit_cond); in process_instructions()
623 instr->definitions[1] = bld.def(s1, scc); in process_instructions()
637 bld.sop1(Builder::s_and_saveexec, bld.def(bld.lm), bld.scc(Definition(exit_cond)), in process_instructions()
[all …]
Daco_instruction_selection.cpp209 Temp index_is_lo_n1 = bld.sop1(aco_opcode::s_not_b32, bld.def(s1), bld.def(s1, scc), in emit_bpermute()
224 return bld.pseudo(aco_opcode::p_bpermute, bld.def(v1), bld.def(s2), bld.def(s1, scc), in emit_bpermute()
485 bld.sop2(aco_opcode::s_and_b32, bld.def(s1), bld.def(s1, scc), offset, Operand::c32(3u)); in byte_align_scalar()
487 shift = bld.sop2(aco_opcode::s_lshl_b32, bld.def(s1), bld.scc(Definition(select)), tmp, in byte_align_scalar()
492 bld.sop2(aco_opcode::s_lshr_b32, Definition(dst), bld.def(s1, scc), vec, shift); in byte_align_scalar()
495 bld.sop2(aco_opcode::s_lshr_b64, Definition(tmp), bld.def(s1, scc), vec, shift); in byte_align_scalar()
513 bld.sop2(aco_opcode::s_cselect_b32, bld.def(s1), hi, Operand::zero(), bld.scc(select)); in byte_align_scalar()
514 lo = bld.sop2(aco_opcode::s_lshr_b64, bld.def(s2), bld.def(s1, scc), lo, shift); in byte_align_scalar()
517 hi = bld.sop2(aco_opcode::s_lshl_b32, bld.def(s1), bld.def(s1, scc), hi, shift); in byte_align_scalar()
518 mid = bld.sop2(aco_opcode::s_or_b32, bld.def(s1), bld.def(s1, scc), hi, mid); in byte_align_scalar()
[all …]
Daco_lower_to_hw_instr.cpp488 bld.sop1(Builder::s_or_saveexec, Definition(stmp, bld.lm), Definition(scc, s1), in emit_reduction()
864 assert(clobber_scc.isFixed() && clobber_scc.physReg() == scc); in emit_gfx10_wave64_bpermute()
1150 bld.sop1(aco_opcode::s_mov_b32, Definition(scratch_sgpr, s1), Operand(scc, s1)); in copy_linear_vgpr()
1158 bld.sop1(Builder::s_not, Definition(exec, bld.lm), Definition(scc, s1), in copy_linear_vgpr()
1163 bld.sopc(aco_opcode::s_cmp_lg_i32, Definition(scc, s1), Operand(scratch_sgpr, s1), in copy_linear_vgpr()
1171 bld.sop1(aco_opcode::s_mov_b32, Definition(scratch_sgpr, s1), Operand(scc, s1)); in swap_linear_vgpr()
1185 bld.sop1(Builder::s_not, Definition(exec, bld.lm), Definition(scc, s1), in swap_linear_vgpr()
1190 bld.sopc(aco_opcode::s_cmp_lg_i32, Definition(scc, s1), Operand(scratch_sgpr, s1), in swap_linear_vgpr()
1222 if (def.physReg() == scc) { in do_copy()
1377 } else if (op.physReg() == scc || def.physReg() == scc) { in do_swap()
[all …]
Daco_optimizer_postRA.cpp224 instr->operands[0].physReg() != scc) in try_apply_branch_vcc()
295 Idx sccwr_idx = last_writer_idx(ctx, scc, s1); in try_optimize_scc_nocompare()
301 wr_instr->definitions[1].physReg() != scc) in try_optimize_scc_nocompare()
341 instr->operands[0] = Operand(wr_instr->definitions[1].getTemp(), scc); in try_optimize_scc_nocompare()
352 instr->operands[0].physReg() == scc) || in try_optimize_scc_nocompare()
371 if (wr_instr->operands[0].physReg() != scc) in try_optimize_scc_nocompare()
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_util.h235 PROTOBUF_EXPORT void InitSCCImpl(SCCInfoBase* scc);
237 inline void InitSCC(SCCInfoBase* scc) { in InitSCC() argument
238 auto status = scc->visit_status.load(std::memory_order_acquire); in InitSCC()
240 InitSCCImpl(scc); in InitSCC()
Dgenerated_message_util.cc763 void InitSCC_DFS(SCCInfoBase* scc) { in InitSCC_DFS() argument
764 if (scc->visit_status.load(std::memory_order_relaxed) != in InitSCC_DFS()
767 scc->visit_status.store(SCCInfoBase::kRunning, std::memory_order_relaxed); in InitSCC_DFS()
770 auto deps = reinterpret_cast<void**>(scc + 1); in InitSCC_DFS()
772 for (int i = 0; i < scc->num_deps; ++i) { in InitSCC_DFS()
776 reinterpret_cast<SCCInfoBase** const*>(deps + scc->num_deps); in InitSCC_DFS()
777 for (int i = 0; i < scc->num_implicit_weak_deps; ++i) { in InitSCC_DFS()
782 scc->init_func(); in InitSCC_DFS()
786 scc->visit_status.store(SCCInfoBase::kInitialized, std::memory_order_release); in InitSCC_DFS()
791 void InitSCCImpl(SCCInfoBase* scc) { in InitSCCImpl() argument
[all …]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Denum_converter_test.cc96 inline std::ostream& operator<<(std::ostream& out, StorageClassCase scc) { in operator <<() argument
97 out << "StorageClassCase{ SpvStorageClass:" << int(scc.sc) in operator <<()
98 << " expect_success?:" << int(scc.expect_success) in operator <<()
99 << " expected:" << int(scc.expected) << "}"; in operator <<()
/third_party/ffmpeg/
D.gitattributes2 tests/ref/fate/sub-scc eol=crlf
/third_party/libxml2/result/schemas/
Dscc-no-xmlns_0_0.err1 ./test/schemas/scc-no-xmlns_0.xsd:7: element attribute: Schemas parser error : Element '{http://www…
Dscc-no-xsi_0_0.err1 ./test/schemas/scc-no-xsi_0.xsd:7: element attribute: Schemas parser error : Element '{http://www.w…
/third_party/ffmpeg/tests/fate/
Dsubtitles.mak103 FATE_SUBTITLES-$(call DEMDEC, SCC, CCAPTION) += fate-sub-scc
104 fate-sub-scc: CMD = fmtstdout ass -ss 57 -i $(TARGET_SAMPLES)/sub/witch.scc
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc393 std::string GetMessagesFileName(const GeneratorOptions& options, const SCC* scc, in GetMessagesFileName() argument
399 ? ToLower(GetNamespace(options, scc->GetRepresentative()->file()) + in GetMessagesFileName()
404 for (auto one_desc : scc->descriptors) { in GetMessagesFileName()
417 if ((*long_name_dict).find(scc->GetRepresentative()) == in GetMessagesFileName()
420 GetSnakeFilename(scc->GetRepresentative()->file()->name())); in GetMessagesFileName()
421 (*long_name_dict)[scc->GetRepresentative()] = in GetMessagesFileName()
425 filename_base = (*long_name_dict)[scc->GetRepresentative()]; in GetMessagesFileName()
1783 io::Printer* printer, const SCC* scc, in GenerateRequiresForSCC() argument
1790 for (auto desc : scc->descriptors) { in GenerateRequiresForSCC()
3806 const SCC* scc = analyzer.GetSCC(desc); in GenerateAll() local
[all …]

123