Home
last modified time | relevance | path

Searched refs:is_phi (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_phi_graph.cc70 CHECK(node->is_phi); in ReplaceNodeWith()
105 CHECK(value.is_phi()); in RegisterPhi()
106 node->is_phi = true; in RegisterPhi()
118 std::string is_phi = node->is_phi ? ", phi" : ""; in ToString() local
121 absl::StrAppend(&out, is_phi); in ToString()
150 if (!node->is_phi) { in Optimize()
226 if (!todo->is_phi) { in Optimize()
243 if (!node->is_phi) { in Optimize()
Dhlo_value.cc72 const ShapeIndex& index, bool is_phi) in HloValue() argument
73 : BufferValue(instruction, index, id), is_phi_(is_phi) { in HloValue()
82 CHECK(!(equal && is_phi() != other.is_phi())); in operator ==()
94 is_phi() ? " (phi)" : "", has_color() ? StrCat(" @", color()) : ""); in ToShortString()
Dhlo_phi_graph_test.cc25 HloValue NewHloValue(bool is_phi) { in NewHloValue() argument
27 return HloValue(id++, dummy_inst_.get(), {}, is_phi); in NewHloValue()
Dhlo_ordering.cc172 return v.is_phi() && in IsDefinedBefore()
188 if (b.is_phi() && b.defining_instruction()->opcode() == HloOpcode::kWhile && in IsDefinedBefore()
198 if (b.is_phi() && in IsDefinedBefore()
296 CHECK(value.is_phi()); in UsesBeforeValueDefinition()
Dhlo_value.h117 bool is_phi = false);
126 bool is_phi() const { return is_phi_; } in is_phi() function
Dhlo_phi_graph.h64 bool is_phi; member
Dhlo_dataflow_analysis_test.cc441 EXPECT_TRUE(analysis.GetValueDefinedAt(xla_while, /*index=*/{1}).is_phi()); in TEST_P()
443 EXPECT_TRUE(analysis.GetValueDefinedAt(body_param, /*index=*/{1}).is_phi()); in TEST_P()
445 EXPECT_TRUE(analysis.GetValueDefinedAt(cond_param, /*index=*/{1}).is_phi()); in TEST_P()
723 analysis.GetValueDefinedAt(inner_param, /*index=*/{1}).is_phi()); in TEST_P()
732 analysis.GetValueDefinedAt(nested_while, /*index=*/{1}).is_phi()); in TEST_P()
736 analysis.GetValueDefinedAt(entry_while, /*index=*/{0}).is_phi()); in TEST_P()
740 analysis.GetValueDefinedAt(entry_while, /*index=*/{1}).is_phi()); in TEST_P()
869 EXPECT_TRUE(analysis.GetValueDefinedAt(body_param, /*index=*/{0}).is_phi()); in TEST_P()
871 EXPECT_TRUE(analysis.GetValueDefinedAt(body_param, /*index=*/{1}).is_phi()); in TEST_P()
874 EXPECT_TRUE(analysis.GetValueDefinedAt(xla_while, /*index=*/{0}).is_phi()); in TEST_P()
[all …]
Dhlo_dataflow_analysis.h195 bool is_phi);
Dhlo_dataflow_analysis.cc146 bool is_phi) { in NewHloValue() argument
150 std::forward_as_tuple(value_id, instruction, index, is_phi)); in NewHloValue()
311 current_value_defined_here && current_value->is_phi(); in Phi()
1087 if (!(values.size() == 1 && values[0]->is_phi())) { in OptimizePhiValues()
Dcopy_insertion.cc212 value->is_phi() && value->defining_instruction() == xla_conditional; in IndicesToCopyForConditional()
/external/mesa3d/src/amd/compiler/
Daco_live_var_analysis.cpp110 if (is_phi(insn)) in process_live_temps_per_block()
193 assert(is_phi(insn)); in process_live_temps_per_block()
230 assert(is_phi(insn)); in process_live_temps_per_block()
Daco_register_allocation.cpp786 for (unsigned i = 0; !is_phi(instr) && i < instr->operands.size(); i++) { in get_regs_for_copies()
949 for (unsigned j = 0; !is_phi(instr) && j < instr->operands.size(); j++) { in get_reg_impl()
1044 for (unsigned i = 0; !is_phi(instr) && i < instr->operands.size(); i++) { in get_reg_impl()
1080 } else if (!is_phi(instr)) { in get_reg_impl()
1092 if (!is_phi(instr)) { in get_reg_impl()
1114 for (unsigned i = 0; !is_phi(instr) && i < instr->operands.size(); i++) { in get_reg_impl()
1691 if (is_phi(instr)) { in try_remove_trivial_phi()
1742 if (is_phi(instr)) { in register_allocation()
1842 if (!is_phi(phi)) in register_allocation()
1872 if (!is_phi(phi)) in register_allocation()
[all …]
Daco_ir.h1369 constexpr bool is_phi(Instruction* instr) in is_phi() function
1374 static inline bool is_phi(aco_ptr<Instruction>& instr) in is_phi() function
1376 return is_phi(instr.get()); in is_phi()
Daco_lower_phis.cpp292 } else if (!is_phi(phi)) { in lower_phis()
Daco_validate.cpp211 bool can_be_undef = is_phi(instr) || instr->format == Format::EXP || in validate_ir()
Daco_spill.cpp641 assert(is_phi(instr)); in init_live_in_vars()
Daco_optimizer.cpp837 if (info.is_undefined() && is_phi(instr)) in label_instruction()
Daco_instruction_selection.cpp9761 } else if (!is_phi(instr)) { in visit_loop()
9779 } else if (!is_phi(instr)) { in visit_loop()
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_ir.h826 bool is_phi() { return subtype == NST_PHI; } in is_phi() function