Home
last modified time | relevance | path

Searched refs:consumer_ (Results 1 – 25 of 100) sorted by relevance

1234

/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dir_loader.cpp24 : consumer_(consumer), in IrLoader()
48 Error(consumer_, src, loc, "function inside function"); in AddInstruction()
54 Error(consumer_, src, loc, in AddInstruction()
59 Error(consumer_, src, loc, "OpFunctionEnd inside basic block"); in AddInstruction()
67 Error(consumer_, src, loc, "OpLabel outside function"); in AddInstruction()
71 Error(consumer_, src, loc, "OpLabel inside basic block"); in AddInstruction()
77 Error(consumer_, src, loc, "terminator instruction outside function"); in AddInstruction()
81 Error(consumer_, src, loc, "terminator instruction outside basic block"); in AddInstruction()
89 SPIRV_ASSERT(consumer_, block_ == nullptr); in AddInstruction()
112 SPIRV_UNIMPLEMENTED(consumer_, in AddInstruction()
[all …]
Dpass_manager.h40 PassManager() : consumer_(nullptr) {} in PassManager()
43 void SetMessageConsumer(MessageConsumer c) { consumer_ = std::move(c); } in SetMessageConsumer()
70 MessageConsumer consumer_;
82 passes_.back()->SetMessageConsumer(consumer_); in AddPass()
90 SPIRV_ASSERT(consumer_, index < passes_.size(), "index out of bound"); in GetPass()
95 return consumer_; in consumer()
Dpass.h45 Pass() : consumer_(nullptr) {} in Pass()
55 void SetMessageConsumer(MessageConsumer c) { consumer_ = std::move(c); } in SetMessageConsumer()
57 const MessageConsumer& consumer() const { return consumer_; } in consumer()
65 MessageConsumer consumer_; // Message consumer.
Dtype_manager.cpp165 SPIRV_UNIMPLEMENTED(consumer_, "unhandled type"); in RecordIfTypeDefinition()
171 SPIRV_ASSERT(consumer_, inst.opcode() == SpvOpTypeForwardPointer, in RecordIfTypeDefinition()
174 SPIRV_ASSERT(consumer_, type != nullptr, in RecordIfTypeDefinition()
209 SPIRV_UNIMPLEMENTED(consumer_, "OpMemberDecorate non-struct type"); in AttachIfTypeDecoration()
215 SPIRV_UNIMPLEMENTED(consumer_, "unhandled decoration"); in AttachIfTypeDecoration()
218 SPIRV_UNREACHABLE(consumer_); in AttachIfTypeDecoration()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dreducer.cpp49 consumer_ = std::move(c); in SetMessageConsumer()
73 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
80 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
96 consumer_(SPV_MSG_INFO, nullptr, {}, "No more to reduce; stopping."); in Run()
186 consumer_(SPV_MSG_INFO, nullptr, {}, in RunPasses()
194 consumer_( in RunPasses()
205 consumer_(SPV_MSG_INFO, nullptr, {}, (stringstream.str().c_str())); in RunPasses()
211 consumer_(SPV_MSG_INFO, nullptr, {}, in RunPasses()
224 consumer_(SPV_MSG_INFO, nullptr, {}, "Reduction step succeeded."); in RunPasses()
239 consumer_(SPV_MSG_INFO, nullptr, {}, in RunPasses()
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dreducer.cpp49 consumer_ = std::move(c); in SetMessageConsumer()
73 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
80 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
96 consumer_(SPV_MSG_INFO, nullptr, {}, "No more to reduce; stopping."); in Run()
186 consumer_(SPV_MSG_INFO, nullptr, {}, in RunPasses()
194 consumer_( in RunPasses()
205 consumer_(SPV_MSG_INFO, nullptr, {}, (stringstream.str().c_str())); in RunPasses()
211 consumer_(SPV_MSG_INFO, nullptr, {}, in RunPasses()
224 consumer_(SPV_MSG_INFO, nullptr, {}, "Reduction step succeeded."); in RunPasses()
239 consumer_(SPV_MSG_INFO, nullptr, {}, in RunPasses()
/third_party/spirv-tools/source/reduce/
Dreducer.cpp48 consumer_ = std::move(c); in SetMessageConsumer()
72 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
79 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
95 consumer_(SPV_MSG_INFO, nullptr, {}, "No more to reduce; stopping."); in Run()
183 consumer_(SPV_MSG_INFO, nullptr, {}, in RunPasses()
191 consumer_( in RunPasses()
202 consumer_(SPV_MSG_INFO, nullptr, {}, (stringstream.str().c_str())); in RunPasses()
208 consumer_(SPV_MSG_INFO, nullptr, {}, in RunPasses()
221 consumer_(SPV_MSG_INFO, nullptr, {}, "Reduction step succeeded."); in RunPasses()
236 consumer_(SPV_MSG_INFO, nullptr, {}, in RunPasses()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dir_loader.cpp35 : consumer_(consumer), in IrLoader()
135 Error(consumer_, src, loc, "function inside function"); in AddInstruction()
141 Error(consumer_, src, loc, in AddInstruction()
146 Error(consumer_, src, loc, "OpFunctionEnd inside basic block"); in AddInstruction()
154 Error(consumer_, src, loc, "OpLabel outside function"); in AddInstruction()
158 Error(consumer_, src, loc, "OpLabel inside basic block"); in AddInstruction()
164 Error(consumer_, src, loc, "terminator instruction outside function"); in AddInstruction()
168 Error(consumer_, src, loc, "terminator instruction outside basic block"); in AddInstruction()
181 SPIRV_ASSERT(consumer_, block_ == nullptr); in AddInstruction()
222 Errorf(consumer_, src, loc, in AddInstruction()
[all …]
Dpass_manager.h44 : consumer_(nullptr), in PassManager()
52 void SetMessageConsumer(MessageConsumer c) { consumer_ = std::move(c); } in SetMessageConsumer()
115 MessageConsumer consumer_;
139 passes_.back()->SetMessageConsumer(consumer_); in AddPass()
147 SPIRV_ASSERT(consumer_, index < passes_.size(), "index out of bound"); in GetPass()
152 return consumer_; in consumer()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dir_loader.cpp35 : consumer_(consumer), in IrLoader()
135 Error(consumer_, src, loc, "function inside function"); in AddInstruction()
141 Error(consumer_, src, loc, in AddInstruction()
146 Error(consumer_, src, loc, "OpFunctionEnd inside basic block"); in AddInstruction()
154 Error(consumer_, src, loc, "OpLabel outside function"); in AddInstruction()
158 Error(consumer_, src, loc, "OpLabel inside basic block"); in AddInstruction()
164 Error(consumer_, src, loc, "terminator instruction outside function"); in AddInstruction()
168 Error(consumer_, src, loc, "terminator instruction outside basic block"); in AddInstruction()
181 SPIRV_ASSERT(consumer_, block_ == nullptr); in AddInstruction()
222 Errorf(consumer_, src, loc, in AddInstruction()
[all …]
Dpass_manager.h44 : consumer_(nullptr), in PassManager()
52 void SetMessageConsumer(MessageConsumer c) { consumer_ = std::move(c); } in SetMessageConsumer()
115 MessageConsumer consumer_;
139 passes_.back()->SetMessageConsumer(consumer_); in AddPass()
147 SPIRV_ASSERT(consumer_, index < passes_.size(), "index out of bound"); in GetPass()
152 return consumer_; in consumer()
/third_party/spirv-tools/source/opt/
Dir_loader.cpp34 : consumer_(consumer), in IrLoader()
114 Error(consumer_, src, loc, "function inside function"); in AddInstruction()
120 Error(consumer_, src, loc, in AddInstruction()
125 Error(consumer_, src, loc, "OpFunctionEnd inside basic block"); in AddInstruction()
133 Error(consumer_, src, loc, "OpLabel outside function"); in AddInstruction()
137 Error(consumer_, src, loc, "OpLabel inside basic block"); in AddInstruction()
143 Error(consumer_, src, loc, "terminator instruction outside function"); in AddInstruction()
147 Error(consumer_, src, loc, "terminator instruction outside basic block"); in AddInstruction()
160 SPIRV_ASSERT(consumer_, block_ == nullptr); in AddInstruction()
201 Errorf(consumer_, src, loc, in AddInstruction()
[all …]
Dpass_manager.h44 : consumer_(nullptr), in PassManager()
52 void SetMessageConsumer(MessageConsumer c) { consumer_ = std::move(c); } in SetMessageConsumer()
115 MessageConsumer consumer_;
139 passes_.back()->SetMessageConsumer(consumer_); in AddPass()
147 SPIRV_ASSERT(consumer_, index < passes_.size(), "index out of bound"); in GetPass()
152 return consumer_; in consumer()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dreplayer.cpp40 consumer_(std::move(consumer)), in Replayer()
58 consumer_(SPV_MSG_ERROR, nullptr, {}, in Run()
67 consumer_(SPV_MSG_ERROR, nullptr, {}, in Run()
75 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
83 BuildModule(target_env_, consumer_, binary_in_.data(), binary_in_.size()); in Run()
111 transformation_context->GetFactManager()->AddInitialFacts(consumer_, in Run()
151 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
Dshrinker.cpp74 consumer_(std::move(consumer)), in Shrinker()
92 consumer_(SPV_MSG_ERROR, nullptr, {}, in Run()
100 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
109 Replayer(target_env_, consumer_, binary_in_, initial_facts_, in Run()
132 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
195 target_env_, consumer_, binary_in_, initial_facts_, in Run()
261 AddedFunctionReducer(target_env_, consumer_, binary_in_, initial_facts_, in Run()
297 consumer_(SPV_MSG_WARNING, nullptr, {}, strstream.str().c_str()); in Run()
310 BuildModule(target_env_, consumer_, binary.data(), binary.size()); in GetIdBound()
Dadded_function_reducer.cpp37 consumer_(std::move(consumer)), in AddedFunctionReducer()
62 reducer.SetMessageConsumer(consumer_); in Run()
129 BuildModule(target_env_, consumer_, binary_under_reduction.data(), in InterestingnessFunctionForReducingAddedFunction()
190 auto replay_result = Replayer(target_env_, consumer_, binary_in_, in ReplayPrefixAndAddFunction()
240 BuildModule(target_env_, consumer_, binary_under_reduction.data(), in ReplayAdaptedTransformations()
281 auto replay_result = Replayer(target_env_, consumer_, binary_in_, in ReplayAdaptedTransformations()
/third_party/spirv-tools/source/fuzz/
Dreplayer.cpp40 consumer_(std::move(consumer)), in Replayer()
58 consumer_(SPV_MSG_ERROR, nullptr, {}, in Run()
67 consumer_(SPV_MSG_ERROR, nullptr, {}, in Run()
75 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
83 BuildModule(target_env_, consumer_, binary_in_.data(), binary_in_.size()); in Run()
111 transformation_context->GetFactManager()->AddInitialFacts(consumer_, in Run()
151 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
Dshrinker.cpp74 consumer_(std::move(consumer)), in Shrinker()
92 consumer_(SPV_MSG_ERROR, nullptr, {}, in Run()
100 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
109 Replayer(target_env_, consumer_, binary_in_, initial_facts_, in Run()
132 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
195 target_env_, consumer_, binary_in_, initial_facts_, in Run()
261 AddedFunctionReducer(target_env_, consumer_, binary_in_, initial_facts_, in Run()
297 consumer_(SPV_MSG_WARNING, nullptr, {}, strstream.str().c_str()); in Run()
310 BuildModule(target_env_, consumer_, binary.data(), binary.size()); in GetIdBound()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dreplayer.cpp40 consumer_(std::move(consumer)), in Replayer()
58 consumer_(SPV_MSG_ERROR, nullptr, {}, in Run()
67 consumer_(SPV_MSG_ERROR, nullptr, {}, in Run()
75 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
83 BuildModule(target_env_, consumer_, binary_in_.data(), binary_in_.size()); in Run()
111 transformation_context->GetFactManager()->AddInitialFacts(consumer_, in Run()
151 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
Dshrinker.cpp74 consumer_(std::move(consumer)), in Shrinker()
92 consumer_(SPV_MSG_ERROR, nullptr, {}, in Run()
100 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
109 Replayer(target_env_, consumer_, binary_in_, initial_facts_, in Run()
132 consumer_(SPV_MSG_INFO, nullptr, {}, in Run()
195 target_env_, consumer_, binary_in_, initial_facts_, in Run()
261 AddedFunctionReducer(target_env_, consumer_, binary_in_, initial_facts_, in Run()
297 consumer_(SPV_MSG_WARNING, nullptr, {}, strstream.str().c_str()); in Run()
310 BuildModule(target_env_, consumer_, binary.data(), binary.size()); in GetIdBound()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Ddiagnostic.h34 : position_(position), consumer_(consumer), error_(error) {} in DiagnosticStream()
39 consumer_(other.consumer_), in DiagnosticStream()
57 const spvtools::MessageConsumer& consumer_; // Message consumer callback. variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Diterator.cc25 Iterator::Iterator() : consumer_(nullptr) {} in Iterator()
34 …CHECK_FAIL_RETURN_UNEXPECTED(consumer_ != nullptr, "consumer_ is null, pls launch iterator first."… in GetNextRowCharIF()
35 Status rc = consumer_->GetNextAsMap(&md_map); in GetNextRowCharIF()
56 …CHECK_FAIL_RETURN_UNEXPECTED(consumer_ != nullptr, "consumer_ is null, pls launch iterator first."… in GetNextRow()
57 Status rc = consumer_->GetNextAsVector(&md_row); in GetNextRow()
85 consumer_ = consumer.get(); in BuildAndLaunchTree()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_fixture.h49 : consumer_( in PassTest()
63 context_ = BuildModule(env_, consumer_, original, assemble_options_); in OptimizeToBinary()
90 pass->SetMessageConsumer(consumer_); in SinglePassRunToBinary()
202 context_ = BuildModule(env_, consumer_, original, assemble_options_); in SinglePassRunAndFail()
229 manager_->SetMessageConsumer(consumer_); in RenewPassManger()
268 MessageConsumer consumer() { return consumer_; } in consumer()
272 consumer_ = msg_consumer; in SetMessageConsumer()
282 MessageConsumer consumer_; // Message consumer.
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dpass_fixture.h49 : consumer_( in PassTest()
63 context_ = BuildModule(env_, consumer_, original, assemble_options_); in OptimizeToBinary()
90 pass->SetMessageConsumer(consumer_); in SinglePassRunToBinary()
202 context_ = BuildModule(env_, consumer_, original, assemble_options_); in SinglePassRunAndFail()
229 manager_->SetMessageConsumer(consumer_); in RenewPassManger()
268 MessageConsumer consumer() { return consumer_; } in consumer()
272 consumer_ = msg_consumer; in SetMessageConsumer()
282 MessageConsumer consumer_; // Message consumer.
/third_party/spirv-tools/test/opt/
Dpass_fixture.h49 : consumer_( in PassTest()
63 context_ = BuildModule(env_, consumer_, original, assemble_options_); in OptimizeToBinary()
90 pass->SetMessageConsumer(consumer_); in SinglePassRunToBinary()
202 context_ = BuildModule(env_, consumer_, original, assemble_options_); in SinglePassRunAndFail()
229 manager_->SetMessageConsumer(consumer_); in RenewPassManger()
268 MessageConsumer consumer() { return consumer_; } in consumer()
272 consumer_ = msg_consumer; in SetMessageConsumer()
282 MessageConsumer consumer_; // Message consumer.

1234