Home
last modified time | relevance | path

Searched refs:insert_before (Results 1 – 25 of 120) sorted by relevance

12345

/external/antlr/runtime/Ruby/test/functional/token-rewrite/
Dbasic.rb28 stream.insert_before( 0, '0' )
40 stream.insert_before 1, 'x'
78 stream.insert_before 0, '_'
93 stream.insert_before 0, '0'
100 stream.insert_before( 1, "x" )
101 stream.insert_before( 1, "y" )
107 stream.insert_before( 0, "x" )
108 stream.insert_before( 0, "y" )
116 stream.insert_before( 2, "y" )
122 stream.insert_before( 2, "y" )
[all …]
/external/mesa3d/src/compiler/glsl/
Dlower_instructions.cpp325 this->base_ir->insert_before(x); in mod_to_floor()
326 this->base_ir->insert_before(y); in mod_to_floor()
335 this->base_ir->insert_before(assign_x); in mod_to_floor()
336 this->base_ir->insert_before(assign_y); in mod_to_floor()
454 i.insert_before(x); in ldexp_to_arith()
455 i.insert_before(assign(x, ir->operands[0])); in ldexp_to_arith()
456 i.insert_before(exp); in ldexp_to_arith()
457 i.insert_before(assign(exp, ir->operands[1])); in ldexp_to_arith()
460 i.insert_before(extracted_biased_exp); in ldexp_to_arith()
461 i.insert_before(assign(extracted_biased_exp, in ldexp_to_arith()
[all …]
Dlower_mat_op_to_vec.cpp152 base_ir->insert_before(assign); in do_mul_mat_mat()
182 base_ir->insert_before(assign); in do_mul_mat_vec()
206 base_ir->insert_before(column_assign); in do_mul_vec_mat()
227 base_ir->insert_before(column_assign); in do_mul_mat_scalar()
262 this->base_ir->insert_before(tmp_bvec); in do_equal_mat_mat()
276 this->base_ir->insert_before(assign); in do_equal_mat_mat()
291 base_ir->insert_before(assign); in do_equal_mat_mat()
349 base_ir->insert_before(var); in visit_leave()
356 base_ir->insert_before(assign); in visit_leave()
378 base_ir->insert_before(column_assign); in visit_leave()
[all …]
Dlower_if_to_cond_assign.cpp218 if_ir->insert_before(ir); in move_block_to_cond_assign()
285 ir->insert_before(then_var); in visit_leave()
291 ir->insert_before(assign); in visit_leave()
312 ir->insert_before(else_var); in visit_leave()
322 ir->insert_before(assign); in visit_leave()
Dopt_function_inlining.cpp121 base_ir->insert_before(index); in visit_enter()
125 base_ir->insert_before(assignment); in visit_enter()
183 next_ir->insert_before(parameters[i]); in generate_inline()
211 next_ir->insert_before(assign); in generate_inline()
227 next_ir->insert_before(assign); in generate_inline()
261 next_ir->insert_before(&new_instructions); in generate_inline()
279 next_ir->insert_before(assign); in generate_inline()
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dtransformation_mutate_pointer_test.cpp89 const auto insert_before = MakeInstructionDescriptor(26, SpvOpReturn, 0); in TEST() local
92 ASSERT_FALSE(TransformationMutatePointer(20, 20, insert_before) in TEST()
106 ASSERT_FALSE(TransformationMutatePointer(70, 70, insert_before) in TEST()
110 ASSERT_FALSE(TransformationMutatePointer(11, 70, insert_before) in TEST()
114 ASSERT_FALSE(TransformationMutatePointer(32, 70, insert_before) in TEST()
118 ASSERT_FALSE(TransformationMutatePointer(33, 70, insert_before) in TEST()
122 ASSERT_FALSE(TransformationMutatePointer(8, 70, insert_before) in TEST()
126 ASSERT_FALSE(TransformationMutatePointer(24, 70, insert_before) in TEST()
130 ASSERT_FALSE(TransformationMutatePointer(22, 70, insert_before) in TEST()
134 ASSERT_FALSE(TransformationMutatePointer(20, 70, insert_before) in TEST()
[all …]
Dtransformation_add_synonym_test.cpp80 auto insert_before = MakeInstructionDescriptor(22, SpvOpReturn, 0); in TEST() local
86 40, insert_before) in TEST()
105 ASSERT_FALSE(TransformationAddSynonym(9, synonym_type, 9, insert_before) in TEST()
109 ASSERT_FALSE(TransformationAddSynonym(40, synonym_type, 40, insert_before) in TEST()
113 ASSERT_FALSE(TransformationAddSynonym(5, synonym_type, 40, insert_before) in TEST()
117 ASSERT_FALSE(TransformationAddSynonym(25, synonym_type, 40, insert_before) in TEST()
121 ASSERT_FALSE(TransformationAddSynonym(26, synonym_type, 40, insert_before) in TEST()
125 ASSERT_FALSE(TransformationAddSynonym(24, synonym_type, 40, insert_before) in TEST()
214 auto insert_before = MakeInstructionDescriptor(5, SpvOpReturn, 0); in TEST() local
226 TransformationAddSynonym(38, synonym_type, fresh_id, insert_before) in TEST()
[all …]
Dtransformation_equation_instruction_test.cpp558 auto insert_before = MakeInstructionDescriptor(13, SpvOpReturn, 0); in TEST() local
562 insert_before) in TEST()
567 TransformationEquationInstruction(50, SpvOpBitcast, {}, insert_before) in TEST()
572 TransformationEquationInstruction(50, SpvOpBitcast, {50}, insert_before) in TEST()
577 TransformationEquationInstruction(50, SpvOpBitcast, {13}, insert_before) in TEST()
583 TransformationEquationInstruction(50, SpvOpBitcast, {23}, insert_before) in TEST()
587 TransformationEquationInstruction(50, SpvOpBitcast, {24}, insert_before) in TEST()
592 TransformationEquationInstruction(50, SpvOpBitcast, {23}, insert_before) in TEST()
595 TransformationEquationInstruction(50, SpvOpBitcast, {24}, insert_before) in TEST()
602 fresh_id, SpvOpBitcast, {operand_id}, insert_before); in TEST()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dtransformation_mutate_pointer_test.cpp89 const auto insert_before = MakeInstructionDescriptor(26, SpvOpReturn, 0); in TEST() local
92 ASSERT_FALSE(TransformationMutatePointer(20, 20, insert_before) in TEST()
106 ASSERT_FALSE(TransformationMutatePointer(70, 70, insert_before) in TEST()
110 ASSERT_FALSE(TransformationMutatePointer(11, 70, insert_before) in TEST()
114 ASSERT_FALSE(TransformationMutatePointer(32, 70, insert_before) in TEST()
118 ASSERT_FALSE(TransformationMutatePointer(33, 70, insert_before) in TEST()
122 ASSERT_FALSE(TransformationMutatePointer(8, 70, insert_before) in TEST()
126 ASSERT_FALSE(TransformationMutatePointer(24, 70, insert_before) in TEST()
130 ASSERT_FALSE(TransformationMutatePointer(22, 70, insert_before) in TEST()
134 ASSERT_FALSE(TransformationMutatePointer(20, 70, insert_before) in TEST()
[all …]
Dtransformation_add_synonym_test.cpp80 auto insert_before = MakeInstructionDescriptor(22, SpvOpReturn, 0); in TEST() local
86 40, insert_before) in TEST()
105 ASSERT_FALSE(TransformationAddSynonym(9, synonym_type, 9, insert_before) in TEST()
109 ASSERT_FALSE(TransformationAddSynonym(40, synonym_type, 40, insert_before) in TEST()
113 ASSERT_FALSE(TransformationAddSynonym(5, synonym_type, 40, insert_before) in TEST()
117 ASSERT_FALSE(TransformationAddSynonym(25, synonym_type, 40, insert_before) in TEST()
121 ASSERT_FALSE(TransformationAddSynonym(26, synonym_type, 40, insert_before) in TEST()
125 ASSERT_FALSE(TransformationAddSynonym(24, synonym_type, 40, insert_before) in TEST()
215 auto insert_before = MakeInstructionDescriptor(5, SpvOpReturn, 0); in TEST() local
227 TransformationAddSynonym(38, synonym_type, fresh_id, insert_before) in TEST()
[all …]
Dtransformation_equation_instruction_test.cpp562 auto insert_before = MakeInstructionDescriptor(13, SpvOpReturn, 0); in TEST() local
566 insert_before) in TEST()
571 TransformationEquationInstruction(50, SpvOpBitcast, {}, insert_before) in TEST()
576 TransformationEquationInstruction(50, SpvOpBitcast, {50}, insert_before) in TEST()
581 TransformationEquationInstruction(50, SpvOpBitcast, {13}, insert_before) in TEST()
587 TransformationEquationInstruction(50, SpvOpBitcast, {23}, insert_before) in TEST()
591 TransformationEquationInstruction(50, SpvOpBitcast, {24}, insert_before) in TEST()
596 TransformationEquationInstruction(50, SpvOpBitcast, {23}, insert_before) in TEST()
599 TransformationEquationInstruction(50, SpvOpBitcast, {24}, insert_before) in TEST()
606 fresh_id, SpvOpBitcast, {operand_id}, insert_before); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_mutate_pointer_test.cpp89 const auto insert_before = MakeInstructionDescriptor(26, SpvOpReturn, 0); in TEST() local
92 ASSERT_FALSE(TransformationMutatePointer(20, 20, insert_before) in TEST()
106 ASSERT_FALSE(TransformationMutatePointer(70, 70, insert_before) in TEST()
110 ASSERT_FALSE(TransformationMutatePointer(11, 70, insert_before) in TEST()
114 ASSERT_FALSE(TransformationMutatePointer(32, 70, insert_before) in TEST()
118 ASSERT_FALSE(TransformationMutatePointer(33, 70, insert_before) in TEST()
122 ASSERT_FALSE(TransformationMutatePointer(8, 70, insert_before) in TEST()
126 ASSERT_FALSE(TransformationMutatePointer(24, 70, insert_before) in TEST()
130 ASSERT_FALSE(TransformationMutatePointer(22, 70, insert_before) in TEST()
134 ASSERT_FALSE(TransformationMutatePointer(20, 70, insert_before) in TEST()
[all …]
Dtransformation_add_synonym_test.cpp80 auto insert_before = MakeInstructionDescriptor(22, SpvOpReturn, 0); in TEST() local
86 40, insert_before) in TEST()
105 ASSERT_FALSE(TransformationAddSynonym(9, synonym_type, 9, insert_before) in TEST()
109 ASSERT_FALSE(TransformationAddSynonym(40, synonym_type, 40, insert_before) in TEST()
113 ASSERT_FALSE(TransformationAddSynonym(5, synonym_type, 40, insert_before) in TEST()
117 ASSERT_FALSE(TransformationAddSynonym(25, synonym_type, 40, insert_before) in TEST()
121 ASSERT_FALSE(TransformationAddSynonym(26, synonym_type, 40, insert_before) in TEST()
125 ASSERT_FALSE(TransformationAddSynonym(24, synonym_type, 40, insert_before) in TEST()
214 auto insert_before = MakeInstructionDescriptor(5, SpvOpReturn, 0); in TEST() local
226 TransformationAddSynonym(38, synonym_type, fresh_id, insert_before) in TEST()
[all …]
Dtransformation_equation_instruction_test.cpp558 auto insert_before = MakeInstructionDescriptor(13, SpvOpReturn, 0); in TEST() local
562 insert_before) in TEST()
567 TransformationEquationInstruction(50, SpvOpBitcast, {}, insert_before) in TEST()
572 TransformationEquationInstruction(50, SpvOpBitcast, {50}, insert_before) in TEST()
577 TransformationEquationInstruction(50, SpvOpBitcast, {13}, insert_before) in TEST()
583 TransformationEquationInstruction(50, SpvOpBitcast, {23}, insert_before) in TEST()
587 TransformationEquationInstruction(50, SpvOpBitcast, {24}, insert_before) in TEST()
592 TransformationEquationInstruction(50, SpvOpBitcast, {23}, insert_before) in TEST()
595 TransformationEquationInstruction(50, SpvOpBitcast, {24}, insert_before) in TEST()
602 fresh_id, SpvOpBitcast, {operand_id}, insert_before); in TEST()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_store.cpp66 auto insert_before = in IsApplicable() local
69 if (!insert_before) { in IsApplicable()
74 insert_before)) { in IsApplicable()
82 ir_context->get_instr_block(insert_before)->id()) && in IsApplicable()
100 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
106 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
112 auto insert_before = in Apply() local
120 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
125 ir_context->get_instr_block(insert_before)); in Apply()
Dtransformation_load.cpp65 auto insert_before = in IsApplicable() local
68 if (!insert_before) { in IsApplicable()
72 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpLoad, insert_before)) { in IsApplicable()
77 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
86 auto insert_before = in Apply() local
93 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
98 ir_context->get_instr_block(insert_before)); in Apply()
Dtransformation_function_call.cpp76 auto insert_before = in IsApplicable() local
78 if (!insert_before) { in IsApplicable()
82 insert_before)) { in IsApplicable()
86 auto block = ir_context->get_instr_block(insert_before); in IsApplicable()
141 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
Dtransformation_equation_instruction.cpp48 auto insert_before = in IsApplicable() local
50 if (!insert_before) { in IsApplicable()
66 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
87 auto insert_before = in Apply() local
90 insert_before->InsertBefore(MakeUnique<opt::Instruction>( in Apply()
97 ir_context->get_instr_block(insert_before)); in Apply()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_store.cpp67 auto insert_before = in IsApplicable() local
70 if (!insert_before) { in IsApplicable()
75 insert_before)) { in IsApplicable()
83 ir_context->get_instr_block(insert_before)->id()) && in IsApplicable()
101 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
107 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
Dtransformation_load.cpp66 auto insert_before = in IsApplicable() local
69 if (!insert_before) { in IsApplicable()
73 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpLoad, insert_before)) { in IsApplicable()
78 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
Dtransformation_function_call.cpp76 auto insert_before = in IsApplicable() local
78 if (!insert_before) { in IsApplicable()
82 insert_before)) { in IsApplicable()
86 auto block = ir_context->get_instr_block(insert_before); in IsApplicable()
141 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_store.cpp67 auto insert_before = in IsApplicable() local
70 if (!insert_before) { in IsApplicable()
75 insert_before)) { in IsApplicable()
83 ir_context->get_instr_block(insert_before)->id()) && in IsApplicable()
101 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
107 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
Dtransformation_load.cpp66 auto insert_before = in IsApplicable() local
69 if (!insert_before) { in IsApplicable()
73 if (!fuzzerutil::CanInsertOpcodeBeforeInstruction(SpvOpLoad, insert_before)) { in IsApplicable()
78 return fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
Dtransformation_function_call.cpp76 auto insert_before = in IsApplicable() local
78 if (!insert_before) { in IsApplicable()
82 insert_before)) { in IsApplicable()
86 auto block = ir_context->get_instr_block(insert_before); in IsApplicable()
141 if (!fuzzerutil::IdIsAvailableBeforeInstruction(ir_context, insert_before, in IsApplicable()
/external/rust/crates/intrusive-collections/src/
Dlinked_list.rs666 pub fn insert_before(&mut self, val: <A::PointerOps as PointerOps>::Pointer) {
1048 self.cursor_mut().insert_before(val);
1309 cur.insert_before(a.clone());
1310 cur.insert_before(c.clone());
1312 cur.insert_before(b.clone());
1411 l1.cursor_mut().insert_before(a);
1412 l1.cursor_mut().insert_before(b);
1413 l1.cursor_mut().insert_before(c);
1414 l1.cursor_mut().insert_before(d);
1499 l.cursor_mut().insert_before(a.clone());
[all …]

12345