Home
last modified time | relevance | path

Searched refs:liveness (Results 1 – 25 of 139) sorted by relevance

123456

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_liveness_analysis_test.cc70 const HloLivenessAnalysis& liveness = RunLiveness(module.get()); in TEST_F() local
71 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "add"), {})); in TEST_F()
72 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.1"), {})); in TEST_F()
73 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.2"), {})); in TEST_F()
87 const HloLivenessAnalysis& liveness = RunLiveness(module.get()); in TEST_F() local
88 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "add.2"), {})); in TEST_F()
89 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.1"), {})); in TEST_F()
90 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.2"), {})); in TEST_F()
91 EXPECT_FALSE(liveness.IsLive(GetInstruction(module.get(), "add.1"), {})); in TEST_F()
105 const HloLivenessAnalysis& liveness = RunLiveness(module.get()); in TEST_F() local
[all …]
Dbuffer_liveness_test.cc39 const LogicalBuffer& GetBuffer(const BufferLiveness& liveness, in GetBuffer() argument
42 const auto& pointed_to = liveness.points_to_analysis() in GetBuffer()
53 bool InstructionsMayInterfere(const BufferLiveness& liveness, in InstructionsMayInterfere() argument
57 return liveness.MayInterfere( in InstructionsMayInterfere()
58 GetBuffer(liveness, /*instruction=*/a, /*index=*/{}), in InstructionsMayInterfere()
59 GetBuffer(liveness, /*instruction=*/b, /*index=*/{})); in InstructionsMayInterfere()
65 bool TupleElementsMayInterfere(const BufferLiveness& liveness, in TupleElementsMayInterfere() argument
75 auto& points_to_analysis = liveness.points_to_analysis(); in TupleElementsMayInterfere()
84 return liveness.MayInterfere(*points_to_a[0], *points_to_b[0]); in TupleElementsMayInterfere()
90 bool InstructionMaybeLiveOut(const BufferLiveness& liveness, in InstructionMaybeLiveOut() argument
[all …]
Dhlo_module_dce.cc39 StatusOr<bool> RunWhileDCE(HloModule* module, HloLivenessAnalysis* liveness) { in RunWhileDCE() argument
64 if (liveness->IsLive(xla_while, {i})) { in RunWhileDCE()
94 std::unique_ptr<HloLivenessAnalysis> liveness; in Run() local
95 TF_ASSIGN_OR_RETURN(liveness, HloLivenessAnalysis::Run(*module)); in Run()
101 RunWhileDCE(module, liveness.get())); in Run()
Dbuffer_assignment.cc523 if (liveness().MaybeLiveOut(buffer)) { in AddAssignment()
757 assignment->liveness().hlo_ordering().call_graph(); in MayInterfereAcrossSubcomputations()
771 assignment->liveness().points_to_analysis().GetPointsToSet( in MayInterfereAcrossSubcomputations()
779 assignment->liveness().points_to_analysis().GetPointsToSet(a_ancestor); in MayInterfereAcrossSubcomputations()
867 if (assignment->liveness().MayInterfere(assigned_buffer, buffer)) { in MaybeAssignBuffer()
884 if (assignment->liveness().MaybeLiveOut(buffer) && in MaybeAssignBuffer()
928 const BufferLiveness& liveness = assignment->liveness(); in AssignBuffersForComputation() local
930 liveness.hlo_ordering().SequentialOrder(*computation) != nullptr; in AssignBuffersForComputation()
957 [has_sequential_order, &liveness, &post_order_position, in AssignBuffersForComputation()
968 const bool a_live_out = liveness.MaybeLiveOut(*a); in AssignBuffersForComputation()
[all …]
Dbuffer_liveness.cc40 std::unique_ptr<BufferLiveness> liveness( in Run() local
42 TF_RETURN_IF_ERROR(liveness->Analyze()); in Run()
43 return std::move(liveness); in Run()
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_liveness.cpp40 bool liveness::visit(container_node& n, bool enter) { in visit()
51 bool liveness::visit(bb_node& n, bool enter) { in visit()
60 bool liveness::visit(alu_group_node& n, bool enter) { in visit()
67 bool liveness::visit(cf_node& n, bool enter) { in visit()
82 bool liveness::visit(alu_node& n, bool enter) { in visit()
91 bool liveness::visit(alu_packed_node& n, bool enter) { in visit()
101 bool liveness::visit(fetch_node& n, bool enter) { in visit()
110 bool liveness::visit(region_node& n, bool enter) { in visit()
151 bool liveness::visit(repeat_node& n, bool enter) { in visit()
160 bool liveness::visit(depart_node& n, bool enter) { in visit()
[all …]
/external/v8/src/compiler/
Dstate-values-utils.cc140 Node** values, size_t count, const BitVector* liveness, in FillBufferWithValues() argument
152 if (liveness == nullptr || in FillBufferWithValues()
153 liveness->Contains(liveness_offset + static_cast<int>(*values_idx))) { in FillBufferWithValues()
172 size_t count, const BitVector* liveness, in BuildTree() argument
180 values, count, liveness, liveness_offset); in BuildTree()
194 count, liveness, liveness_offset); in BuildTree()
210 Node* subtree = BuildTree(values_idx, values, count, liveness, in BuildTree()
234 const BitVector* liveness, int liveness_offset) { in CheckTreeContainsValues() argument
242 if (liveness == nullptr || liveness->Contains(liveness_offset + i)) { in CheckTreeContainsValues()
255 const BitVector* liveness, in GetNodeForValues() argument
[all …]
Dbytecode-analysis.cc263 void UpdateLiveness(Bytecode bytecode, BytecodeLiveness& liveness, in UpdateLiveness() argument
267 UpdateOutLiveness(bytecode, *liveness.out, *next_bytecode_in_liveness, in UpdateLiveness()
269 liveness.in->CopyFrom(*liveness.out); in UpdateLiveness()
270 UpdateInLiveness(bytecode, *liveness.in, accessor); in UpdateLiveness()
272 *next_bytecode_in_liveness = liveness.in; in UpdateLiveness()
425 BytecodeLiveness& liveness = liveness_map_.InitializeLiveness( in Analyze() local
427 UpdateLiveness(bytecode, liveness, &next_bytecode_in_liveness, iterator, in Analyze()
488 BytecodeLiveness& liveness = liveness_map_.GetLiveness(current_offset); in Analyze() local
490 UpdateLiveness(bytecode, liveness, &next_bytecode_in_liveness, iterator, in Analyze()
529 BytecodeLiveness& liveness = liveness_map_.GetLiveness(current_offset); in Analyze() local
[all …]
Dstate-values-utils.h27 const BitVector* liveness = nullptr,
62 const BitVector* liveness,
66 const BitVector* liveness, int liveness_offset, size_t level);
Dbytecode-graph-builder.cc68 const BytecodeLivenessState* liveness);
80 void Merge(Environment* other, const BytecodeLivenessState* liveness);
84 const BytecodeLivenessState* liveness);
87 const BytecodeLivenessState* liveness);
95 const BitVector* liveness, int liveness_offset);
288 const BytecodeLivenessState* liveness) { in Merge() argument
309 if (liveness == nullptr || liveness->RegisterIsLive(i)) { in Merge()
331 if (liveness == nullptr || liveness->AccumulatorIsLive()) { in Merge()
353 const BytecodeLivenessState* liveness) { in PrepareForLoop() argument
371 (liveness == nullptr || liveness->RegisterIsLive(i))) { in PrepareForLoop()
[all …]
/external/llvm/test/CodeGen/X86/
Dstackmap-liveness.ll1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -enable-patchpoint-liveness=false | F…
28 ; StackMap 1 (no liveness information available)
39 ; StackMap 1 (patchpoint liveness information enabled)
59 ; StackMap 2 (no liveness information available)
70 ; StackMap 2 (patchpoint liveness information enabled)
103 ; StackMap 3 (no liveness information available)
114 ; StackMap 3 (patchpoint liveness information enabled)
140 ; StackMap 4 (patchpoint liveness information enabled)
151 ; StackMap 5 (patchpoint liveness information enabled)
D2010-03-05-EFLAGS-Redef.ll4 ; branch folding pass. That makes a complete mess of the %EFLAGS liveness, but
5 ; we don't care about liveness this late anyway.
Deflags-copy-expansion.mir34 ; happens only when the heuristic for the liveness computation
35 ; failed. The liveness computation heuristic looks at 10 instructions
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dstackmap-liveness.ll1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -enable-patchpoint-liveness=false | F…
30 ; StackMap 1 (no liveness information available)
42 ; StackMap 1 (patchpoint liveness information enabled)
63 ; StackMap 2 (no liveness information available)
75 ; StackMap 2 (patchpoint liveness information enabled)
109 ; StackMap 3 (no liveness information available)
121 ; StackMap 3 (patchpoint liveness information enabled)
148 ; StackMap 4 (patchpoint liveness information enabled)
160 ; StackMap 5 (patchpoint liveness information enabled)
D2010-03-05-EFLAGS-Redef.ll4 ; branch folding pass. That makes a complete mess of the %eflags liveness, but
5 ; we don't care about liveness this late anyway.
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_fusion_pass.cpp51 RegisterLiveness liveness(context(), function); in ProcessFunction() local
53 liveness.SimulateFusion(loop_0, loop_1, &reg_pressure); in ProcessFunction()
Dloop_fission.cpp427 const RegisterLiveness::RegionRegisterLiveness& liveness) { in LoopFissionPass() argument
428 return liveness.used_registers_ > register_threshold_to_split; in LoopFissionPass()
442 RegisterLiveness::RegionRegisterLiveness liveness{}; in ShouldSplitLoop() local
445 analysis->Get(function)->ComputeLoopRegisterPressure(loop, &liveness); in ShouldSplitLoop()
447 return split_criteria_(liveness); in ShouldSplitLoop()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_fusion_pass.cpp51 RegisterLiveness liveness(context(), function); in ProcessFunction() local
53 liveness.SimulateFusion(loop_0, loop_1, &reg_pressure); in ProcessFunction()
Dloop_fission.cpp427 const RegisterLiveness::RegionRegisterLiveness& liveness) { in LoopFissionPass() argument
428 return liveness.used_registers_ > register_threshold_to_split; in LoopFissionPass()
442 RegisterLiveness::RegionRegisterLiveness liveness{}; in ShouldSplitLoop() local
445 analysis->Get(function)->ComputeLoopRegisterPressure(loop, &liveness); in ShouldSplitLoop()
447 return split_criteria_(liveness); in ShouldSplitLoop()
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dprune_unreachable.ll2 ; liveness analysis doesn't detect inconsistencies.
20 ; liveness analysis.
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/PGOProfile/
Dthinlto_samplepgo_icp2.ll3 ; different binary) are properly traversed during ThinLTO liveness analysis.
4 ; If the liveness analysis is changed to ignore indirect edges and the
5 ; importer is changed to check liveness before importing, this test will
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2010-03-05-EFLAGS-Redef.ll4 ; branch folding pass. That makes a complete mess of the %EFLAGS liveness, but
5 ; we don't care about liveness this late anyway.
/external/llvm/test/CodeGen/MIR/X86/
Dliveout-register-mask.mir1 # RUN: llc -march=x86-64 -start-after stackmap-liveness -stop-after stackmap-liveness -o - %s | Fil…
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/RewriteStatepointsForGC/
Dliveness-basics.ll1 ; A collection of liveness test cases to ensure we're reporting the
36 ; A local kill should not effect liveness in predecessor block
57 ; should only propagate liveness from a phi to the appropriate predecessors.
118 ; Also, liveness after base pointer analysis can change based on new uses,
/external/llvm/test/Transforms/RewriteStatepointsForGC/
Dliveness-basics.ll1 ; A collection of liveness test cases to ensure we're reporting the
35 ; A local kill should not effect liveness in predecessor block
56 ; should only propagate liveness from a phi to the appropriate predecessors.
117 ; Also, liveness after base pointer analysis can change based on new uses,

123456