Home
last modified time | relevance | path

Searched refs:instruction1 (Results 1 – 7 of 7) sorted by relevance

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_swap_function_variables.cpp40 auto instruction1 = ir_context->get_def_use_mgr()->GetDef(result_id1); in IsApplicable() local
42 if (instruction1 == nullptr || instruction2 == nullptr) { in IsApplicable()
46 if (instruction1->opcode() != SpvOpVariable || in IsApplicable()
66 auto instruction1 = in Apply() local
74 temp_instruction->InsertBefore(instruction1); in Apply()
75 instruction1->InsertAfter(instruction2); in Apply()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_module_group_metadata.cc400 Status HloModuleGroupMetadata::AddCompanion(HloInstruction* instruction1, in AddCompanion() argument
402 TF_RET_CHECK(instruction1->opcode() == HloOpcode::kWhile || in AddCompanion()
403 instruction1->opcode() == HloOpcode::kConditional || in AddCompanion()
404 instruction1->opcode() == HloOpcode::kCall); in AddCompanion()
405 VLOG(2) << "adding as companions:" << instruction1->ToString() << " and " in AddCompanion()
407 if (instruction1 == instruction2) { in AddCompanion()
409 } else if (!ContainsKey(companion_set_index_, instruction1) && in AddCompanion()
414 companion_set->push_back(instruction1); in AddCompanion()
416 companion_set_index_[instruction1] = companion_sets_.size() - 1; in AddCompanion()
418 } else if (!ContainsKey(companion_set_index_, instruction1)) { in AddCompanion()
[all …]
Dhlo_domain_map.cc45 bool HloDomainMap::InSameDomain(const HloInstruction* instruction1, in InSameDomain() argument
47 int64 domain_id1 = GetDomainId(instruction1); in InSameDomain()
Dhlo_domain_map.h61 bool InSameDomain(const HloInstruction* instruction1,
Dhlo_instruction_test.cc893 static bool Identical(const HloInstruction& instruction1, in Identical() argument
896 EXPECT_TRUE(instruction1.Identical(instruction1)); in Identical()
899 bool is_equal = instruction1.Identical(instruction2); in Identical()
901 EXPECT_EQ(is_equal, instruction2.Identical(instruction1)); in Identical()
907 static bool StructuralEqual(const HloInstruction& instruction1, in StructuralEqual() argument
919 instruction1.Identical(instruction1, eq_operand_shapes, eq_computations)); in StructuralEqual()
924 instruction1.Identical(instruction2, eq_operand_shapes, eq_computations); in StructuralEqual()
926 EXPECT_EQ(is_equal, instruction2.Identical(instruction1, eq_operand_shapes, in StructuralEqual()
Dhlo_module_group_metadata.h232 Status AddCompanion(HloInstruction* instruction1,
/external/proguard/src/proguard/classfile/util/
DInstructionSequenceMatcher.java514 private boolean matchingOpcodes(Instruction instruction1, in matchingOpcodes() argument
518 return instruction1.opcode == instruction2.opcode || in matchingOpcodes()
519 instruction1.canonicalOpcode() == instruction2.opcode; in matchingOpcodes()