Home
last modified time | relevance | path

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

123

/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.cpp317 this->base_ir->insert_before(x); in mod_to_floor()
318 this->base_ir->insert_before(y); in mod_to_floor()
327 this->base_ir->insert_before(assign_x); in mod_to_floor()
328 this->base_ir->insert_before(assign_y); in mod_to_floor()
446 i.insert_before(x); in ldexp_to_arith()
447 i.insert_before(assign(x, ir->operands[0])); in ldexp_to_arith()
448 i.insert_before(exp); in ldexp_to_arith()
449 i.insert_before(assign(exp, ir->operands[1])); in ldexp_to_arith()
452 i.insert_before(extracted_biased_exp); in ldexp_to_arith()
453 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()
375 base_ir->insert_before(column_assign); in visit_leave()
[all …]
Dopt_function_inlining.cpp121 base_ir->insert_before(index); in visit_enter()
125 base_ir->insert_before(assignment); in visit_enter()
175 next_ir->insert_before(parameters[i]); in generate_inline()
203 next_ir->insert_before(assign); in generate_inline()
219 next_ir->insert_before(assign); in generate_inline()
254 next_ir->insert_before(&new_instructions); in generate_inline()
272 next_ir->insert_before(assign); in generate_inline()
Dlower_if_to_cond_assign.cpp214 if_ir->insert_before(ir); in move_block_to_cond_assign()
281 ir->insert_before(then_var); in visit_leave()
287 ir->insert_before(assign); in visit_leave()
308 ir->insert_before(else_var); in visit_leave()
318 ir->insert_before(assign); in visit_leave()
Dlower_shared_reference.cpp155 base_ir->insert_before(load_var); in handle_rvalue()
160 base_ir->insert_before(load_offset); in handle_rvalue()
161 base_ir->insert_before(assign(load_offset, offset)); in handle_rvalue()
202 base_ir->insert_before(store_var); in handle_assignment()
221 base_ir->insert_before(store_offset); in handle_assignment()
222 base_ir->insert_before(assign(store_offset, offset)); in handle_assignment()
251 base_ir->insert_before(load); in insert_buffer_access()
253 base_ir->insert_before(assign(deref->clone(mem_ctx, NULL), in insert_buffer_access()
322 base_ir->insert_before(result); in shared_load()
Dir_expression_flattening.cpp78 base_ir->insert_before(var); in handle_rvalue()
81 base_ir->insert_before(assign); in handle_rvalue()
Dlower_vector.cpp143 this->base_ir->insert_before(temp); in handle_rvalue()
196 this->base_ir->insert_before(assign); in handle_rvalue()
209 this->base_ir->insert_before(assign); in handle_rvalue()
Dlower_offset_array.cpp68 base_ir->insert_before(var); in handle_rvalue()
75 base_ir->insert_before(assign(var, swizzle_w(tex), 1 << i)); in handle_rvalue()
Dopt_if_simplification.cpp94 ir->insert_before(&ir->then_instructions); in visit_leave()
96 ir->insert_before(&ir->else_instructions); in visit_leave()
Dlower_texture_projection.cpp66 base_ir->insert_before(var); in visit_leave()
73 base_ir->insert_before(assign); in visit_leave()
Dlower_discard.cpp185 ir->insert_before(temp); in visit_leave()
186 ir->insert_before(temp_initializer); in visit_leave()
Dlower_packed_varyings.cpp728 unpacked_var->insert_before(packed_var); in get_packed_varying_deref()
821 ev->insert_before(ir->clone(this->mem_ctx, NULL)); in visit_leave()
861 ret->insert_before(ir->clone(this->mem_ctx, NULL)); in visit_leave()
897 main_func_sig->body.get_head_raw()->insert_before(&new_variables); in lower_packed_varyings()
908 main_func_sig->body.get_head_raw()->insert_before(&new_variables); in lower_packed_varyings()
921 main_func_sig->body.get_head_raw()->insert_before(&new_instructions); in lower_packed_varyings()
922 main_func_sig->body.get_head_raw()->insert_before(&new_variables); in lower_packed_varyings()
Dlower_ubo_reference.cpp376 base_ir->insert_before(load_var); in handle_rvalue()
381 base_ir->insert_before(load_offset); in handle_rvalue()
382 base_ir->insert_before(assign(load_offset, offset)); in handle_rvalue()
506 base_ir->insert_before(result); in ssbo_load()
528 base_ir->insert_before(assign(deref->clone(mem_ctx, NULL), in insert_buffer_access()
534 base_ir->insert_before(load_ssbo); in insert_buffer_access()
538 base_ir->insert_before(assignment); in insert_buffer_access()
589 base_ir->insert_before(write_offset); in write_to_memory()
590 base_ir->insert_before(assign(write_offset, offset)); in write_to_memory()
814 base_ir->insert_before(write_var); in check_for_ssbo_store()
Dlower_jumps.cpp203 this->loop->insert_before(this->break_flag); in get_break_flag()
204 …this->loop->insert_before(new(this->signature) ir_assignment(new(this->signature) ir_dereference_v… in get_break_flag()
323 ir->insert_before( in insert_lowered_return()
328 ir->insert_before( in insert_lowered_return()
670 jumps[lower]->insert_before(create_lowered_break()); in visit()
807 ir_after->insert_before(&ir_if->then_instructions); in visit()
Dlower_discard_flow.cpp83 ir->insert_before(generate_discard_break()); in visit()
101 ir->insert_before(assign); in visit_enter()
Dlower_distance.cpp254 this->base_ir->insert_before(old_index_var); in create_indices()
255 this->base_ir->insert_before(new(ctx) ir_assignment( in create_indices()
477 this->base_ir->insert_before(assign); in visit_leave()
554 this->base_ir->insert_before(temp_clip_distance); in visit_leave()
567 this->base_ir->insert_before(new_assignment); in visit_leave()
Dlower_tess_level.cpp336 this->base_ir->insert_before(assign); in visit_leave()
408 this->base_ir->insert_before(temp); in visit_leave()
421 this->base_ir->insert_before(new_assignment); in visit_leave()
Dopt_algebraic.cpp822 base_ir->insert_before(x); in handle_expression()
823 base_ir->insert_before(assign(x, ir->operands[0])); in handle_expression()
830 base_ir->insert_before(x); in handle_expression()
831 base_ir->insert_before(assign(x, ir->operands[0])); in handle_expression()
836 base_ir->insert_before(squared); in handle_expression()
837 base_ir->insert_before(assign(squared, mul(x, x))); in handle_expression()
Dopt_array_splitting.cpp376 entry->components[0]->insert_before(temp); in split_deref()
424 ir->insert_before(assign_i); in visit_leave()
489 entry->var->insert_before(entry->components[i]); in optimize_split_arrays()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dir_builder.h47 IRContext* context, Instruction* insert_before,
49 : InstructionBuilder(context, context->get_instr_block(insert_before),
50 InsertionPointTy(insert_before),
471 void SetInsertPoint(Instruction* insert_before) { in SetInsertPoint() argument
472 parent_ = context_->get_instr_block(insert_before); in SetInsertPoint()
473 insert_before_ = InsertionPointTy(insert_before); in SetInsertPoint()
493 InsertionPointTy insert_before, in InstructionBuilder() argument
497 insert_before_(insert_before), in InstructionBuilder()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dir_builder.h47 IRContext* context, Instruction* insert_before,
49 : InstructionBuilder(context, context->get_instr_block(insert_before),
50 InsertionPointTy(insert_before),
481 void SetInsertPoint(Instruction* insert_before) { in SetInsertPoint() argument
482 parent_ = context_->get_instr_block(insert_before); in SetInsertPoint()
483 insert_before_ = InsertionPointTy(insert_before); in SetInsertPoint()
503 InsertionPointTy insert_before, in InstructionBuilder() argument
507 insert_before_(insert_before), in InstructionBuilder()
/external/ImageMagick/MagickWand/
Dmagick-wand.c86 wand->insert_before=MagickFalse; in ClearMagickWand()
135 clone_wand->insert_before=MagickFalse; in CloneMagickWand()
832 wand->insert_before=MagickFalse; /* Insert/add after current (first) image */ in MagickResetIterator()
876 wand->insert_before=MagickTrue; /* Insert/add before the first image */ in MagickSetFirstIterator()
937 wand->insert_before=MagickFalse; /* Insert/Add after (this) image */ in MagickSetIteratorIndex()
979 wand->insert_before=MagickFalse; /* Insert/add after current (last) image */ in MagickSetLastIterator()
/external/antlr/runtime/Ruby/lib/antlr3/streams/
Drewrite.rb188 def insert_before( index, text ) method in ANTLR3.TokenRewriteStream.RewriteProgram
400 def insert_before( *args ) method in ANTLR3.TokenRewriteStream
401 @programs[ 'default' ].insert_before( *args )
/external/mesa3d/src/intel/compiler/
Dbrw_shader.h112 void insert_before(bblock_t *block, backend_instruction *inst);
113 void insert_before(bblock_t *block, exec_list *list);

123