Home
last modified time | relevance | path

Searched refs:new_instr (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_atomics.c101 nir_intrinsic_instr *new_instr = nir_intrinsic_instr_create(mem_ctx, op); in lower_instr() local
102 nir_intrinsic_set_base(new_instr, in lower_instr()
151 new_instr->src[0].is_ssa = true; in lower_instr()
152 new_instr->src[0].ssa = offset_def; in lower_instr()
158 new_instr->src[i + 1] = instr->src[i]; in lower_instr()
161 nir_ssa_dest_init(&new_instr->instr, &new_instr->dest, in lower_instr()
164 nir_src_for_ssa(&new_instr->dest.ssa)); in lower_instr()
166 nir_dest_copy(&new_instr->dest, &instr->dest, mem_ctx); in lower_instr()
169 nir_instr_insert_before(&instr->instr, &new_instr->instr); in lower_instr()
Dnir_opt_constant_folding.c99 nir_load_const_instr *new_instr = in constant_fold_alu_instr() local
104 new_instr->value = dest; in constant_fold_alu_instr()
106 nir_instr_insert_before(&instr->instr, &new_instr->instr); in constant_fold_alu_instr()
109 nir_src_for_ssa(&new_instr->def)); in constant_fold_alu_instr()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_computation.cc149 HloInstruction* new_instr = in RemoveParameter() local
152 TF_RETURN_IF_ERROR(param_instruction->ReplaceAllUsesWith(new_instr)); in RemoveParameter()
153 param_instructions_[param_no] = new_instr; in RemoveParameter()
766 std::unique_ptr<HloInstruction> new_instr = nullptr; in CloneWithReplacements() local
779 new_instr = in CloneWithReplacements()
781 InsertOrDie(&clone_map, instr, new_instr.get()); in CloneWithReplacements()
782 instructions.push_back(std::move(new_instr)); in CloneWithReplacements()
793 HloInstruction* new_instr = FindOrDie(clone_map, instr); in CloneWithReplacements() local
803 TF_CHECK_OK(new_instr->AddControlDependencyTo( in CloneWithReplacements()
813 if (std::unique_ptr<HloInstruction>& new_instr = kv.second) { in CloneWithReplacements() local
[all …]
Dhlo_instruction.cc1049 HloInstruction* new_instr = parent_->AddInstruction( in CloneAndFuseInternal() local
1051 TF_CHECK_OK(ReplaceAllUsesWith(new_instr)); in CloneAndFuseInternal()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_sched.c541 struct ir3_instruction *new_instr = NULL; in sched_block() local
549 new_instr = split_addr(ctx); in sched_block()
551 new_instr = split_pred(ctx); in sched_block()
558 if (new_instr) { in sched_block()
564 ir3_insert_by_depth(new_instr, &ctx->depth_list); in sched_block()
568 new_instr->block = block; in sched_block()
Dir3.c682 struct ir3_instruction *new_instr = instr_create(instr->block, in ir3_instr_clone() local
687 regs = new_instr->regs; in ir3_instr_clone()
688 *new_instr = *instr; in ir3_instr_clone()
689 new_instr->regs = regs; in ir3_instr_clone()
691 insert_instr(instr->block, new_instr); in ir3_instr_clone()
694 new_instr->regs_count = 0; in ir3_instr_clone()
698 ir3_reg_create(new_instr, reg->num, reg->flags); in ir3_instr_clone()
702 return new_instr; in ir3_instr_clone()
/external/v8/src/crankshaft/
Dhydrogen-escape-analysis.cc150 HInstruction* new_instr = HForceRepresentation::New( in NewLoadReplacement() local
152 new_instr->InsertAfter(load); in NewLoadReplacement()
153 replacement = new_instr; in NewLoadReplacement()
/external/v8/src/arm64/
Dinstructions-arm64.h103 V8_INLINE void SetInstructionBits(Instr new_instr) { in SetInstructionBits() argument
104 *reinterpret_cast<Instr*>(this) = new_instr; in SetInstructionBits()
/external/vixl/src/aarch64/
Dinstructions-aarch64.h169 void SetInstructionBits(Instr new_instr) { in SetInstructionBits() argument
170 *(reinterpret_cast<Instr*>(this)) = new_instr; in SetInstructionBits()