Home
last modified time | relevance | path

Searched refs:LifeNumber (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dliveness_analyzer.h35 LiveRange(LifeNumber begin, LifeNumber end) : begin_(begin), end_(end) {} in LiveRange()
47 bool Contains(LifeNumber number) const in Contains()
57 void SetBegin(LifeNumber begin) in SetBegin()
61 LifeNumber GetBegin() const in GetBegin()
66 void SetEnd(LifeNumber end) in SetEnd()
70 LifeNumber GetEnd() const in GetEnd()
83 LifeNumber begin_ = 0;
84 LifeNumber end_ = 0;
145 void AppendRange(LifeNumber begin, LifeNumber end) in AppendRange()
184 void StartFrom(LifeNumber from) in StartFrom()
[all …]
Dliveness_analyzer.cpp206 LifeNumber block_begin; in BuildInstLifeNumbers()
207 LifeNumber life_number = 0; in BuildInstLifeNumbers()
278 LifeNumber LivenessAnalyzer::GetLoopEnd(Loop *loop) in GetLoopEnd()
280 LifeNumber loop_end = 0; in GetLoopEnd()
332 LifeNumber loop_end_position = GetLoopEnd(block->GetLoop()); in ProcessBlockLiveInstructions()
416 void LivenessAnalyzer::SetInstLifeNumber([[maybe_unused]] const Inst *inst, LifeNumber number) in SetInstLifeNumber()
422 LifeNumber LivenessAnalyzer::GetInstLifeNumber(Inst *inst) const in GetInstLifeNumber()
541 void LivenessAnalyzer::BlockPhysicalRegisters(LifeNumber block_from) in BlockPhysicalRegisters()
552 void LivenessAnalyzer::BlockFixedLocationRegister(Location location, LifeNumber ln) in BlockFixedLocationRegister()
562 void LivenessAnalyzer::BlockReg(Register reg, LifeNumber block_from) in BlockReg()
[all …]
/arkcompiler/runtime_core/compiler/tests/
Dliveness_analyzer_new_test.cpp262 LifeNumber end = 2; // 2: It's a random number in __anon8a63221e0402()
272 LifeNumber begin = 3; // 3: It's a random number in __anon8a63221e0402()
299 LifeNumber end = 2; // 2: It's a random number in __anon8a63221e0502()
331 LifeNumber begin = 2; // 2: It's a random number in __anon8a63221e0602()
335 LifeNumber ln = 3; // 3: It's a random number in __anon8a63221e0602()
363 LifeNumber end = 2; // 2: It's a random number in __anon8a63221e0702()
391 LifeNumber begin = 2; // 2: It's a random number in __anon8a63221e0802()
421 LifeNumber begin = 2; // 2: It's a random number in __anon8a63221e0902()
450 LifeNumber begin = 7; // 7: It's a random number in __anon8a63221e0a02()
451 LifeNumber end = 5; // 5: It's a random number in __anon8a63221e0a02()
[all …]
Dlife_intervals_test.cpp24 LifeIntervals *Create(std::initializer_list<std::pair<LifeNumber, LifeNumber>> lns) in Create() argument
49 …eckRanges(LifeIntervals *interval, std::initializer_list<std::pair<LifeNumber, LifeNumber>> ranges) in CheckRanges() argument
Dliveness_analyzer_test.cpp710 EXPECT_EQ(li.GetFirstIntersectionWith(&other_li), LifeNumber(15)); in TEST_F()
721 EXPECT_EQ(li.GetFirstIntersectionWith(&other_li), LifeNumber(15)); in TEST_F()
732 EXPECT_EQ(li.GetFirstIntersectionWith(&other_li), LifeNumber(50)); in TEST_F()
742 EXPECT_EQ(li.GetFirstIntersectionWith(&other_li, 8), LifeNumber(8)); in TEST_F()
754 EXPECT_EQ(li.GetFirstIntersectionWith(&other_li, 2), LifeNumber(20)); in TEST_F()
764 EXPECT_EQ(li.GetFirstIntersectionWith(&other_li, 18), LifeNumber(18)); in TEST_F()
Dsplit_resolver_test.cpp40 LifeIntervals *SplitAssignReg(LifeIntervals *source, LifeNumber position, Register reg) in SplitAssignReg()
47 LifeIntervals *SplitAssignSlot(LifeIntervals *source, LifeNumber position, StackSlot slot) in SplitAssignSlot()
54 LifeIntervals *SplitAssignImmSlot(LifeIntervals *source, LifeNumber position, ImmTableSlot slot) in SplitAssignImmSlot()
Dcompiler_regalloc_test.cpp102 LifeNumber point = 0; in __anon5d7559aa0302()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dconstants.h55 using LifeNumber = uint32_t; variable
56 constexpr auto INVALID_LIFE_NUMBER = std::numeric_limits<LifeNumber>::max();
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_base.h140 ArenaVector<LifeNumber> stack_use_last_positions_;
Dinterference_graph.h100 void AddCallsite(LifeNumber point) noexcept in AddCallsite()
112 ArenaUnorderedSet<LifeNumber> cs_point_set_;