Home
last modified time | relevance | path

Searched refs:visit_fn (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dpropagator_test.cpp48 bool Propagate(const SSAPropagator::VisitFunction& visit_fn) { in Propagate() argument
49 SSAPropagator propagator(ctx_.get(), visit_fn); in Propagate()
108 const auto visit_fn = [this](Instruction* instr, BasicBlock** dest_bb) { in TEST_F() local
123 EXPECT_TRUE(Propagate(visit_fn)); in TEST_F()
175 const auto visit_fn = [this, &phi_instr](Instruction* instr, in TEST_F() local
207 EXPECT_TRUE(Propagate(visit_fn)); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dpropagator_test.cpp48 bool Propagate(const SSAPropagator::VisitFunction& visit_fn) { in Propagate() argument
49 SSAPropagator propagator(ctx_.get(), visit_fn); in Propagate()
108 const auto visit_fn = [this](Instruction* instr, BasicBlock** dest_bb) { in TEST_F() local
123 EXPECT_TRUE(Propagate(visit_fn)); in TEST_F()
175 const auto visit_fn = [this, &phi_instr](Instruction* instr, in TEST_F() local
207 EXPECT_TRUE(Propagate(visit_fn)); in TEST_F()
/third_party/spirv-tools/test/opt/
H A Dpropagator_test.cpp47 bool Propagate(const SSAPropagator::VisitFunction& visit_fn) { in Propagate() argument
48 SSAPropagator propagator(ctx_.get(), visit_fn); in Propagate()
107 const auto visit_fn = [this](Instruction* instr, BasicBlock** dest_bb) { in TEST_F() local
122 EXPECT_TRUE(Propagate(visit_fn)); in TEST_F()
174 const auto visit_fn = [this, &phi_instr](Instruction* instr, in TEST_F() local
206 EXPECT_TRUE(Propagate(visit_fn)); in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dpropagator.h64 // |visit_fn|. This function is responsible for three things:
68 // given a store operation 'OpStore %f %int_3', |visit_fn| should assign
71 // In general, |visit_fn| will need to use the value table to replace its
73 // stored in the table. |visit_fn| should only create a new mapping in
80 // |visit_fn|'s return value:
87 // |visit_fn| should always return this value when it is not sure
111 // be computed at compile time. In this case, |visit_fn| should
118 // (c) For conditional branches, |visit_fn| may decide which edge to take out
120 // known to take a specific constant value, |visit_fn| should figure out
122 // argument to |visit_fn|
189 SSAPropagator(IRContext* context, const VisitFunction& visit_fn) SSAPropagator() argument
[all...]
H A Dccp_pass.cpp303 const auto visit_fn = [this](Instruction* instr, BasicBlock** dest_bb) { in PropagateConstants() local
308 std::unique_ptr<SSAPropagator>(new SSAPropagator(context(), visit_fn)); in PropagateConstants()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dpropagator.h64 // |visit_fn|. This function is responsible for three things:
68 // given a store operation 'OpStore %f %int_3', |visit_fn| should assign
71 // In general, |visit_fn| will need to use the value table to replace its
73 // stored in the table. |visit_fn| should only create a new mapping in
80 // |visit_fn|'s return value:
87 // |visit_fn| should always return this value when it is not sure
111 // be computed at compile time. In this case, |visit_fn| should
118 // (c) For conditional branches, |visit_fn| may decide which edge to take out
120 // known to take a specific constant value, |visit_fn| should figure out
122 // argument to |visit_fn|
189 SSAPropagator(IRContext* context, const VisitFunction& visit_fn) SSAPropagator() argument
[all...]
H A Dccp_pass.cpp336 const auto visit_fn = [this](Instruction* instr, BasicBlock** dest_bb) { in PropagateConstants() local
341 std::unique_ptr<SSAPropagator>(new SSAPropagator(context(), visit_fn)); in PropagateConstants()
/third_party/spirv-tools/source/opt/
H A Dpropagator.h64 // |visit_fn|. This function is responsible for three things:
68 // given a store operation 'OpStore %f %int_3', |visit_fn| should assign
71 // In general, |visit_fn| will need to use the value table to replace its
73 // stored in the table. |visit_fn| should only create a new mapping in
80 // |visit_fn|'s return value:
87 // |visit_fn| should always return this value when it is not sure
111 // be computed at compile time. In this case, |visit_fn| should
118 // (c) For conditional branches, |visit_fn| may decide which edge to take out
120 // known to take a specific constant value, |visit_fn| should figure out
122 // argument to |visit_fn|
189 SSAPropagator(IRContext* context, const VisitFunction& visit_fn) SSAPropagator() argument
[all...]
H A Dccp_pass.cpp333 const auto visit_fn = [this](Instruction* instr, BasicBlock** dest_bb) { in PropagateConstants() local
338 std::unique_ptr<SSAPropagator>(new SSAPropagator(context(), visit_fn)); in PropagateConstants()
/third_party/rust/crates/syn/codegen/src/
H A Dvisit.rs100 let visit_fn = format_ident!("visit_{}", under_name); in node()
182 fn #visit_fn(&mut self, i: &#ast_lifetime #ty) { in node()
183 #visit_fn(self, i); in node()
188 pub fn #visit_fn<'ast, V>(v: &mut V, node: &#ast_lifetime #ty) in node()

Completed in 5 milliseconds