Home
last modified time | relevance | path

Searched refs:new_instruction (Results 1 – 25 of 74) sorted by relevance

123

/external/tensorflow/tensorflow/compiler/xla/service/
Dtuple_util.cc62 HloInstruction* new_instruction, HloInstruction* tuple, in ReplaceTupleWith() argument
68 << ", new_instruction = " << new_instruction->ToString() in ReplaceTupleWith()
72 const HloInstruction* instruction = new_instruction; in ReplaceTupleWith()
84 VLOG(4) << "Instruction " << new_instruction->ToShortString() in ReplaceTupleWith()
90 HloComputation* computation = new_instruction->parent(); in ReplaceTupleWith()
111 ReplaceTupleWith(new_instruction, get_operand(), in ReplaceTupleWith()
115 if (subshape != new_instruction->shape() && in ReplaceTupleWith()
118 << ", new shape = " << new_instruction->shape().ToString() in ReplaceTupleWith()
120 new_instruction = computation->AddInstruction( in ReplaceTupleWith()
121 HloInstruction::CreateBitcast(subshape, new_instruction)); in ReplaceTupleWith()
[all …]
Dhlo_computation.cc234 HloInstruction* new_instruction = in ReplaceParameter() local
238 old_instruction->ReplaceAllUsesWithDifferentShape(new_instruction).ok()); in ReplaceParameter()
239 param_instructions_[param_no] = new_instruction; in ReplaceParameter()
241 return new_instruction; in ReplaceParameter()
943 std::unique_ptr<HloInstruction> new_instruction) { in ReplaceWithNewInstruction() argument
945 AddInstruction(std::move(new_instruction))); in ReplaceWithNewInstruction()
950 std::unique_ptr<HloInstruction> new_instruction) { in ReplaceWithNewEntryComputationParameter() argument
952 std::move(new_instruction))); in ReplaceWithNewEntryComputationParameter()
956 HloInstruction* old_instruction, HloInstruction* new_instruction, in ReplaceInstruction() argument
959 ShapeUtil::Compatible(old_instruction->shape(), new_instruction->shape())) in ReplaceInstruction()
[all …]
Dhlo_schedule.h66 HloInstruction* new_instruction) { in replace_instruction() argument
75 *instruction_it = new_instruction; in replace_instruction()
76 *id_it = new_instruction->unique_id(); in replace_instruction()
167 HloInstruction* new_instruction) { in replace_instruction() argument
169 new_instruction); in replace_instruction()
Ddfs_hlo_visitor_with_default.h320 std::unique_ptr<HloInstruction> new_instruction) { in ReplaceWithNewInstruction() argument
323 VLOG(3) << " new: " << new_instruction->ToString(); in ReplaceWithNewInstruction()
325 old_instruction, std::move(new_instruction))); in ReplaceWithNewInstruction()
334 HloInstruction* new_instruction, in ReplaceInstruction() argument
338 VLOG(3) << " new: " << new_instruction->ToString(); in ReplaceInstruction()
341 old_instruction, new_instruction, preserve_sharding)); in ReplaceInstruction()
347 HloInstruction* new_instruction) { in ReplaceInstruction() argument
349 ReplaceInstruction(old_instruction, new_instruction, in ReplaceInstruction()
/external/angle/third_party/spirv-tools/src/source/fuzz/
Dtransformation_load.cpp182 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
189 auto new_instruction_ptr = new_instruction.get(); in Apply()
190 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
203 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
207 auto new_instruction_ptr = new_instruction.get(); in Apply()
208 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
Dtransformation_store.cpp205 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
213 auto new_instruction_ptr = new_instruction.get(); in Apply()
214 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
225 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
230 auto new_instruction_ptr = new_instruction.get(); in Apply()
231 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
Dtransformation_add_constant_null.cpp50 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
53 auto new_instruction_ptr = new_instruction.get(); in Apply()
54 ir_context->module()->AddGlobalValue(std::move(new_instruction)); in Apply()
Dtransformation_add_global_undef.cpp48 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
51 auto new_instruction_ptr = new_instruction.get(); in Apply()
52 ir_context->module()->AddGlobalValue(std::move(new_instruction)); in Apply()
Dtransformation_add_constant_boolean.cpp45 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
50 auto new_instruction_ptr = new_instruction.get(); in Apply()
51 ir_context->module()->AddGlobalValue(std::move(new_instruction)); in Apply()
Dtransformation_add_local_variable.cpp75 opt::Instruction* new_instruction = fuzzerutil::AddLocalVariable( in Apply() local
80 ir_context->get_def_use_mgr()->AnalyzeInstDefUse(new_instruction); in Apply()
82 new_instruction, in Apply()
Dtransformation_add_constant_scalar.cpp67 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
73 auto new_instruction_ptr = new_instruction.get(); in Apply()
74 ir_context->module()->AddGlobalValue(std::move(new_instruction)); in Apply()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_store.cpp205 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
213 auto new_instruction_ptr = new_instruction.get(); in Apply()
214 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
225 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
230 auto new_instruction_ptr = new_instruction.get(); in Apply()
231 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
Dtransformation_load.cpp182 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
189 auto new_instruction_ptr = new_instruction.get(); in Apply()
190 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
203 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
207 auto new_instruction_ptr = new_instruction.get(); in Apply()
208 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
Dtransformation_add_constant_null.cpp50 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
53 auto new_instruction_ptr = new_instruction.get(); in Apply()
54 ir_context->module()->AddGlobalValue(std::move(new_instruction)); in Apply()
Dtransformation_add_global_undef.cpp48 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
51 auto new_instruction_ptr = new_instruction.get(); in Apply()
52 ir_context->module()->AddGlobalValue(std::move(new_instruction)); in Apply()
Dtransformation_add_constant_boolean.cpp45 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
50 auto new_instruction_ptr = new_instruction.get(); in Apply()
51 ir_context->module()->AddGlobalValue(std::move(new_instruction)); in Apply()
Dtransformation_add_local_variable.cpp75 opt::Instruction* new_instruction = fuzzerutil::AddLocalVariable( in Apply() local
80 ir_context->get_def_use_mgr()->AnalyzeInstDefUse(new_instruction); in Apply()
82 new_instruction, in Apply()
Dtransformation_add_constant_scalar.cpp67 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
73 auto new_instruction_ptr = new_instruction.get(); in Apply()
74 ir_context->module()->AddGlobalValue(std::move(new_instruction)); in Apply()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_load.cpp182 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
189 auto new_instruction_ptr = new_instruction.get(); in Apply()
190 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
203 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
207 auto new_instruction_ptr = new_instruction.get(); in Apply()
208 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
Dtransformation_store.cpp205 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
213 auto new_instruction_ptr = new_instruction.get(); in Apply()
214 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
225 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
230 auto new_instruction_ptr = new_instruction.get(); in Apply()
231 insert_before->InsertBefore(std::move(new_instruction)); in Apply()
Dtransformation_add_constant_null.cpp50 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
53 auto new_instruction_ptr = new_instruction.get(); in Apply()
54 ir_context->module()->AddGlobalValue(std::move(new_instruction)); in Apply()
Dtransformation_add_constant_boolean.cpp45 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
50 auto new_instruction_ptr = new_instruction.get(); in Apply()
51 ir_context->module()->AddGlobalValue(std::move(new_instruction)); in Apply()
Dtransformation_add_global_undef.cpp48 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
51 auto new_instruction_ptr = new_instruction.get(); in Apply()
52 ir_context->module()->AddGlobalValue(std::move(new_instruction)); in Apply()
Dtransformation_add_local_variable.cpp75 opt::Instruction* new_instruction = fuzzerutil::AddLocalVariable( in Apply() local
80 ir_context->get_def_use_mgr()->AnalyzeInstDefUse(new_instruction); in Apply()
82 new_instruction, in Apply()
Dtransformation_add_constant_scalar.cpp67 auto new_instruction = MakeUnique<opt::Instruction>( in Apply() local
73 auto new_instruction_ptr = new_instruction.get(); in Apply()
74 ir_context->module()->AddGlobalValue(std::move(new_instruction)); in Apply()

123