Home
last modified time | relevance | path

Searched refs:HloUse (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_value.h64 struct HloUse { struct
76 bool operator==(const HloUse& other) const { argument
82 bool operator!=(const HloUse& other) const { return !(*this == other); }
85 std::ostream& operator<<(std::ostream& out, const HloUse& use);
141 const std::vector<HloUse>& uses() const { return uses_; } in uses()
165 std::vector<HloUse> uses_;
Dhlo_dataflow_analysis_test.cc133 UnorderedElementsAre(HloUse{add, 0, {}})); in TEST_P()
135 UnorderedElementsAre(HloUse{add, 1, {}})); in TEST_P()
192 UnorderedElementsAre(HloUse{add, 0, {}})); in TEST_P()
194 UnorderedElementsAre(HloUse{add, 1, {}})); in TEST_P()
196 UnorderedElementsAre(HloUse{gte0, 0, {}}, HloUse{gte1, 0, {}})); in TEST_P()
234 UnorderedElementsAre(HloUse{gte_out, 0, {0}})); in TEST_P()
239 UnorderedElementsAre(HloUse{gte_out, 0, {}})); in TEST_P()
241 UnorderedElementsAre(HloUse{gte_tuple, 0, {}})); in TEST_P()
295 UnorderedElementsAre(HloUse{call, 0, {}}, HloUse{add, 0, {}})); in TEST_P()
297 UnorderedElementsAre(HloUse{call, 1, {}}, HloUse{add, 1, {}})); in TEST_P()
[all …]
Dhlo_value.cc58 string HloUse::ToString() const { in ToString()
65 std::ostream& operator<<(std::ostream& out, const HloUse& use) { in operator <<()
104 for (const HloUse& use : uses()) { in ToString()
185 HloUse new_use{user, operand_number, position.index}; in SetPositionsAndComputeUses()
188 for (const HloUse& use : uses_) { in SetPositionsAndComputeUses()
Dcopy_insertion.cc467 std::vector<const HloUse*> uses;
538 for (const HloUse& use : value->uses()) { in AddValueList()
607 for (const HloUse* use : p->uses) { in Verify()
805 const HloUse* use) { in RemoveCopyValue()
814 for (const HloUse* copy_use : copy_value_node->uses) { in RemoveCopyValue()
837 for (const HloUse* use : a.uses) { in LiveRangeBefore()
919 [](string* s, const HloUse* use) { in ToString()
Dhlo_dataflow_analysis.cc930 for (const HloUse& use : value->uses()) { in DoesNotUseOperandBuffer()
996 if (absl::c_count_if(fusion_param_value.uses(), [&](const HloUse& use) { in CanDoInPlaceDynamicUpdateSlice()
1004 for (const HloUse& use : fusion_param_value.uses()) { in CanDoInPlaceDynamicUpdateSlice()
1086 const HloUse& use = fusion_param_value.uses()[0]; in CanShareOperandBufferWithUser()
1129 absl::c_find_if(uses, [user](const HloUse& use) { in CanShareOperandBufferWithUser()
1134 absl::c_find_if(uses, [callee_root](const HloUse& use) { in CanShareOperandBufferWithUser()
Dhlo_ordering.cc171 const HloUse& use, const HloValue& value, in UseIsBeforeValueDefinition()
271 for (const HloUse& use : a.uses()) { in LiveRangeStrictlyBefore()
Dhlo_ordering.h54 bool UseIsBeforeValueDefinition(const HloUse& use, const HloValue& value,
Dhlo_alias_analysis.cc214 for (const HloUse& use : value.uses()) { in ComputeWhileAliasedBuffers()
313 for (const HloUse& use : value.uses()) { in ComputeAliasedBuffers()
Dhlo_ordering_test.cc279 const HloUse& while_use = dataflow->GetValueDefinedAt(xla_while).uses()[0]; in TEST_F()
Dbfloat16_propagation.cc227 for (const HloUse& use : value->uses()) { in AllUsersConsumeBF16()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtest_utils.cc370 bool NeedsInitValue(const HloUse& use) { in NeedsInitValue()
397 for (const HloUse& use : value.uses()) { in FindConstrainedUses()