Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_dataflow_analysis.cc1112 auto dataflow_analysis = absl::WrapUnique(new HloDataflowAnalysis( in Run() local
1115 TF_RETURN_IF_ERROR(dataflow_analysis->InitializeInstructionValueSets()); in Run()
1116 dataflow_analysis->Propagate(); in Run()
1117 dataflow_analysis->OptimizePhiValues(); in Run()
1120 dataflow_analysis->DeleteMarkedValues(); in Run()
1127 dataflow_analysis->next_value_id_); in Run()
1131 dataflow_analysis->GetInstructionValueSet(instruction)) { in Run()
1143 for (auto& pair : dataflow_analysis->values_) { in Run()
1150 dataflow_analysis->values_vector_.reserve(dataflow_analysis->values_.size()); in Run()
1151 for (auto& pair : dataflow_analysis->values_) { in Run()
[all …]
Dmemory_space_propagation.cc22 TF_ASSIGN_OR_RETURN(auto dataflow_analysis, in Run()
24 dataflow_analysis_ = std::move(dataflow_analysis); in Run()
Dbuffer_assignment.h432 return dataflow_analysis().GetValueSet(instruction, index).values(); in GetSourceBuffers()
457 const HloDataflowAnalysis& dataflow_analysis() const { in dataflow_analysis() function
458 return alias_analysis_->dataflow_analysis(); in dataflow_analysis()
591 for (HloValue* value : alias_analysis->dataflow_analysis().values()) { in DefaultColorer()
Dhlo_live_range.cc131 for (const HloValue* value : alias_analysis_.dataflow_analysis().values()) { in CalculateBufferStartEndMap()
222 for (const HloValue* value : alias_analysis_.dataflow_analysis().values()) { in ToString()
Dheap_simulator.cc164 HloDataflowAnalysis& dataflow_analysis = alias_analysis.dataflow_analysis(); in RunComputation() local
185 values_to_assign.reserve(dataflow_analysis.values().size()); in RunComputation()
187 for (const HloValue* value : dataflow_analysis.values()) { in RunComputation()
252 dataflow_analysis.GetValueSet(operand); in RunComputation()
290 dataflow_analysis.CanShareOperandBufferWithUser( in RunComputation()
Dbuffer_assignment.cc422 dataflow_analysis().GetValueSet(instruction, index).values()) { in GetAllSlices()
440 dataflow_analysis().GetValueSet(hlo, shape_index).values()[0]; in GetInstructionAllocation()
459 dataflow_analysis().GetValueSet(instruction, index).values()) { in HasAllocationAt()
478 dataflow_analysis().GetValueSet(instruction, index).values()) { in GetUniqueSlice()
875 const HloDataflowAnalysis& dataflow = this->dataflow_analysis(); in ToProto()
942 assignment->dataflow_analysis().CanShareOperandBufferWithUser( in LiveRangeInterferes()
1060 assignment->dataflow_analysis())) { in MaybeAssignBuffer()
1651 XLA_VLOG_LINES(3, alias_analysis->dataflow_analysis().ToString()); in CreateAssignment()
1666 assignment->alias_analysis().dataflow_analysis().ToString()); in CreateAssignment()
Dhlo_alias_analysis.h84 HloDataflowAnalysis& dataflow_analysis() const { return *dataflow_analysis_; } in dataflow_analysis() function
Dcopy_insertion.cc285 if (!IndicesToCopyForWhile(alias_analysis.dataflow_analysis(), xla_while, in AddCopiesForWhile()
489 : dataflow_(alias_analysis.dataflow_analysis()), ordering_(ordering) { in CopyRemover()
989 if (!IndicesToCopyForConditional(alias_analysis.dataflow_analysis(), in AddCopiesForConditional()
1072 for (const HloValue* value : alias_analysis->dataflow_analysis().values()) { in AddSpecialCaseCopies()
1130 alias_analysis->dataflow_analysis().GetInstructionValueSet(root)) { in AddSpecialCaseCopies()
Dloop_schedule_linearizer.cc72 HloDataflowAnalysis& dataflow = alias_analysis.dataflow_analysis(); in AddControlEdgesForLoopWrites()
Dhlo_alias_analysis.cc537 BufferValueMap buffer_map(module, alias_analysis->dataflow_analysis()); in Run()
673 dataflow_analysis())) { in HasLiveRangeInterference()
Dmemory_space_assignment.cc900 &alias_analysis_.dataflow_analysis().GetUniqueValueAt( in IsUseAllowedInAlternateMemory()
933 &alias_analysis_.dataflow_analysis().GetUniqueValueAt( in IsUseAllowedInAlternateMemory()
959 &alias_analysis_.dataflow_analysis().GetUniqueValueAt( in IsUseAllowedInAlternateMemory()
1657 &alias_analysis_.dataflow_analysis().GetUniqueValueAt( in AliasedRequiredAssignmentForUse()
1714 &alias_analysis_.dataflow_analysis().GetUniqueValueAt(instruction, index); in AddRequiredAssignment()
1724 const HloModule& module = alias_analysis_.dataflow_analysis().module(); in AddInputAndOutputRequiredAssignments()
1785 const HloModule& module = alias_analysis_.dataflow_analysis().module(); in AreIntervalsReservedInAlternateMemory()
2601 TF_ASSIGN_OR_RETURN(std::unique_ptr<HloDataflowAnalysis> dataflow_analysis, in CalculateAsyncCopyStats()
2611 options_.size_fn(dataflow_analysis->GetUniqueValueAt(instruction)); in CalculateAsyncCopyStats()
Dhlo_alias_analysis_test.cc61 for (const HloValue* value : analysis_->dataflow_analysis()
86 return analysis_->dataflow_analysis().GetValueDefinedAt(instruction, index);
100 analysis_->dataflow_analysis())) { in AnyValuesInSameBufferInterfere()
Dhlo_live_range_test.cc59 return &alias_analysis_->dataflow_analysis().GetUniqueValueAt(instruction, in BufferAt()
Dbuffer_assignment_test.cc588 id < alias_analysis->dataflow_analysis().values().size(); id++) { in TEST_F()
589 auto& value = alias_analysis->dataflow_analysis().GetValue(id); in TEST_F()
653 id < alias_analysis->dataflow_analysis().values().size(); id++) { in TEST_F()
654 auto& value = alias_analysis->dataflow_analysis().GetValue(id); in TEST_F()
Dmemory_space_assignment_test.cc3855 for (const HloValue* value : alias_analysis->dataflow_analysis().values()) { in TEST_P()
5140 std::unique_ptr<HloDataflowAnalysis> dataflow_analysis, in TEST_P()
5143 dataflow_analysis->GetValueDefinedAt( in TEST_P()
5200 std::unique_ptr<HloDataflowAnalysis> dataflow_analysis, in TEST_P()
5203 dataflow_analysis->GetValueDefinedAt( in TEST_P()
Dhlo_dataflow_analysis_test.cc1699 auto& dataflow_analysis = RunAnalysis(GetParam()); in TEST_P() local
1700 auto set = dataflow_analysis.GetFlattenedValueSet( in TEST_P()
Dheap_simulator_test.cc335 return &alias_analysis_->dataflow_analysis().GetUniqueValueAt(instruction, in BufferAt()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_executable.cc409 return assignment_->dataflow_analysis().GetInstructionValueSet( in GetRootValueSet()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_executable.cc589 assignment.dataflow_analysis().GetInstructionValueSet(root); in GetOutputInfo()