Lines Matching refs:src_
223 src_(src->module()), in Differ()
227 src_id_to_(src_), in Differ()
229 id_map_(src_->IdBound(), dst_->IdBound()) { in Differ()
264 for (uint32_t src_id = 1; src_id < src_->IdBound(); ++src_id) { in DumpIdMap()
485 const opt::Module* src_; member in spvtools::diff::__anonef7566420111::Differ
673 InstructionList sorted_src_insts = SortPreambleInstructions(src_, src_insts); in MatchPreambleInstructions()
685 int compare = ComparePreambleInstructions(src_inst, dst_inst, src_, dst_); in MatchPreambleInstructions()
1388 GetPerVertexStorageClass(src_, src_type_id); in MatchPerVertexType()
1987 MatchPreambleInstructions(src_->capabilities(), dst_->capabilities()); in MatchCapabilities()
1991 MatchPreambleInstructions(src_->extensions(), dst_->extensions()); in MatchExtensions()
2002 PoolPotentialIds(src_->ext_inst_imports(), potential_id_map.src_ids, true, in MatchExtInstImportIds()
2020 id_map_.MapInsts(src_->GetMemoryModel(), dst_->GetMemoryModel()); in MatchMemoryModel()
2035 for (const opt::Instruction& src_inst : src_->entry_points()) { in MatchEntryPointIds()
2085 MatchPreambleInstructions(src_->execution_modes(), dst_->execution_modes()); in MatchExecutionModes()
2098 PoolPotentialIds(src_->types_values(), potential_id_map.src_ids, true, in MatchTypeForwardPointers()
2172 PoolPotentialIds(src_->types_values(), potential_id_map.src_ids, true, in MatchTypeIds()
2261 PoolPotentialIds(src_->types_values(), potential_id_map.src_ids, true, in MatchConstants()
2340 PoolPotentialIds(src_->types_values(), potential_id_map.src_ids, true, in MatchVariableIds()
2448 MatchDebugAndAnnotationInstructions(src_->debugs1(), dst_->debugs1()); in MatchDebugs1()
2453 MatchDebugAndAnnotationInstructions(src_->debugs2(), dst_->debugs2()); in MatchDebugs2()
2458 MatchDebugAndAnnotationInstructions(src_->debugs3(), dst_->debugs3()); in MatchDebugs3()
2463 MatchDebugAndAnnotationInstructions(src_->ext_inst_debuginfo(), in MatchExtInstDebugInfo()
2469 MatchDebugAndAnnotationInstructions(src_->annotations(), dst_->annotations()); in MatchAnnotations()
2690 OutputLine([this]() { return src_->version() == dst_->version(); }, in Output()
2691 [this, &dis]() { dis.EmitHeaderVersion(src_->version()); }, in Output()
2693 OutputLine([this]() { return src_->generator() == dst_->generator(); }, in Output()
2694 [this, &dis]() { dis.EmitHeaderGenerator(src_->generator()); }, in Output()
2697 [this]() { return src_->IdBound() == id_map_.SrcToDstMap().IdBound(); }, in Output()
2698 [this, &dis]() { dis.EmitHeaderIdBound(src_->IdBound()); }, in Output()
2702 OutputLine([this]() { return src_->schema() == dst_->schema(); }, in Output()
2703 [this, &dis]() { dis.EmitHeaderSchema(src_->schema()); }, in Output()
2721 OutputSection(src_->capabilities(), dst_->capabilities(), write_inst); in Output()
2722 OutputSection(src_->extensions(), dst_->extensions(), write_inst); in Output()
2723 OutputSection(src_->ext_inst_imports(), dst_->ext_inst_imports(), write_inst); in Output()
2728 return DoInstructionsMatch(src_->GetMemoryModel(), in Output()
2732 write_inst(*src_->GetMemoryModel(), src_id_to_, in Output()
2733 *src_->GetMemoryModel()); in Output()
2740 OutputSection(src_->entry_points(), dst_->entry_points(), write_inst); in Output()
2741 OutputSection(src_->execution_modes(), dst_->execution_modes(), write_inst); in Output()
2742 OutputSection(src_->debugs1(), dst_->debugs1(), write_inst); in Output()
2743 OutputSection(src_->debugs2(), dst_->debugs2(), write_inst); in Output()
2744 OutputSection(src_->debugs3(), dst_->debugs3(), write_inst); in Output()
2745 OutputSection(src_->ext_inst_debuginfo(), dst_->ext_inst_debuginfo(), in Output()
2747 OutputSection(src_->annotations(), dst_->annotations(), write_inst); in Output()
2748 OutputSection(src_->types_values(), dst_->types_values(), write_inst); in Output()
2754 GetFunctionHeaderInstructions(src_, &src_func_header_insts); in Output()