Home
last modified time | relevance | path

Searched refs:inst_iter (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dflatten_decoration_pass.cpp73 auto inst_iter = annotations.begin(); in Process() local
75 while (inst_iter != module->annotations().end()) { in Process()
78 switch (inst_iter->opcode()) { in Process()
87 const uint32_t group = inst_iter->GetSingleWordOperand(0); in Process()
91 std::unique_ptr<Instruction> new_inst(new Instruction(*inst_iter)); in Process()
93 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process()
94 ++inst_iter; in Process()
112 auto decoration_operands_iter = inst_iter->begin(); in Process()
115 inst_iter->end()); in Process()
118 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process()
[all …]
Dfold_spec_constant_op_and_composite_pass.cpp288 for (ir::Module::inst_iterator inst_iter = module->types_values_begin(); in ProcessImpl() local
291 inst_iter != module->types_values_end(); ++inst_iter) { in ProcessImpl()
292 ir::Instruction* inst = &*inst_iter; in ProcessImpl()
336 modified |= ProcessOpSpecConstantOp(&inst_iter); in ProcessImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dflatten_decoration_pass.cpp74 auto inst_iter = annotations.begin(); in Process() local
76 while (inst_iter != context()->annotations().end()) { in Process()
79 switch (inst_iter->opcode()) { in Process()
88 const uint32_t group = inst_iter->GetSingleWordOperand(0); in Process()
92 std::unique_ptr<Instruction> new_inst(inst_iter->Clone(context())); in Process()
94 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process()
95 ++inst_iter; in Process()
113 auto decoration_operands_iter = inst_iter->begin(); in Process()
116 inst_iter->end()); in Process()
119 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process()
[all …]
Dfold_spec_constant_op_and_composite_pass.cpp52 for (Module::inst_iterator inst_iter = next_inst; in Process() local
55 inst_iter != context()->types_values_end(); inst_iter = next_inst) { in Process()
57 Instruction* inst = &*inst_iter; in Process()
103 modified |= ProcessOpSpecConstantOp(&inst_iter); in Process()
/third_party/spirv-tools/source/opt/
Dflatten_decoration_pass.cpp74 auto inst_iter = annotations.begin(); in Process() local
76 while (inst_iter != context()->annotations().end()) { in Process()
79 switch (inst_iter->opcode()) { in Process()
88 const uint32_t group = inst_iter->GetSingleWordOperand(0); in Process()
92 std::unique_ptr<Instruction> new_inst(inst_iter->Clone(context())); in Process()
94 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process()
95 ++inst_iter; in Process()
113 auto decoration_operands_iter = inst_iter->begin(); in Process()
116 inst_iter->end()); in Process()
119 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process()
[all …]
Dfold_spec_constant_op_and_composite_pass.cpp52 for (Module::inst_iterator inst_iter = next_inst; in Process() local
55 inst_iter != context()->types_values_end(); inst_iter = next_inst) { in Process()
57 Instruction* inst = &*inst_iter; in Process()
103 modified |= ProcessOpSpecConstantOp(&inst_iter); in Process()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dflatten_decoration_pass.cpp74 auto inst_iter = annotations.begin(); in Process() local
76 while (inst_iter != context()->annotations().end()) { in Process()
79 switch (inst_iter->opcode()) { in Process()
88 const uint32_t group = inst_iter->GetSingleWordOperand(0); in Process()
92 std::unique_ptr<Instruction> new_inst(inst_iter->Clone(context())); in Process()
94 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process()
95 ++inst_iter; in Process()
113 auto decoration_operands_iter = inst_iter->begin(); in Process()
116 inst_iter->end()); in Process()
119 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process()
[all …]
Dfold_spec_constant_op_and_composite_pass.cpp52 for (Module::inst_iterator inst_iter = next_inst; in Process() local
55 inst_iter != context()->types_values_end(); inst_iter = next_inst) { in Process()
57 Instruction* inst = &*inst_iter; in Process()
103 modified |= ProcessOpSpecConstantOp(&inst_iter); in Process()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Ddef_use_test.cpp1429 auto inst_iter = insts.begin(); in TEST_P() local
1431 EXPECT_EQ(expected_anno_inst, DisassembleInst(*inst_iter)) in TEST_P()
1433 inst_iter++; in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Ddef_use_test.cpp1582 auto inst_iter = insts.begin(); in TEST_P() local
1584 EXPECT_EQ(expected_anno_inst, DisassembleInst(*inst_iter)) in TEST_P()
1586 inst_iter++; in TEST_P()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Ddef_use_test.cpp1582 auto inst_iter = insts.begin(); in TEST_P() local
1584 EXPECT_EQ(expected_anno_inst, DisassembleInst(*inst_iter)) in TEST_P()
1586 inst_iter++; in TEST_P()
/third_party/spirv-tools/test/opt/
Ddef_use_test.cpp1582 auto inst_iter = insts.begin(); in TEST_P() local
1584 EXPECT_EQ(expected_anno_inst, DisassembleInst(*inst_iter)) in TEST_P()
1586 inst_iter++; in TEST_P()