Home
last modified time | relevance | path

Searched refs:new_if (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dir_clone.cpp122 ir_if *new_if = new(mem_ctx) ir_if(this->condition->clone(mem_ctx, ht)); in clone() local
125 new_if->then_instructions.push_tail(ir->clone(mem_ctx, ht)); in clone()
129 new_if->else_instructions.push_tail(ir->clone(mem_ctx, ht)); in clone()
132 return new_if; in clone()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_communication.cc561 auto new_if = builder.create<IfOp>(region_if.getLoc(), new_result_type, in RewriteRegionIfOp() local
566 new_if.true_branch().takeBody(region_if.true_branch()); in RewriteRegionIfOp()
567 new_if.false_branch().takeBody(region_if.false_branch()); in RewriteRegionIfOp()
571 ReplaceWithTupleResult(builder, region_if.getResult(), new_if.getResult()); in RewriteRegionIfOp()
574 new_if.getLoc(), new_if.getResult(), in RewriteRegionIfOp()
575 new_if.getResult().getType().cast<TupleType>().size() - 1); in RewriteRegionIfOp()
586 ops_to_visit.push_back({/*region_idx=*/0, new_token, new_if}); in RewriteRegionIfOp()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dstack_ops_decomposition.cc258 auto new_if = OpBuilder(if_op).create<TF::IfOp>( in HandleIfOp() local
274 if_op.replaceAllUsesWith(new_if); in HandleIfOp()
Dtensor_array_ops_decomposition.cc693 auto new_if = builder.create<TF::IfOp>(if_op.getLoc(), in HandleIfOp() local
705 if_op.getResult(i).replaceAllUsesWith(new_if.getResult(i)); in HandleIfOp()