Home
last modified time | relevance | path

Searched refs:phaseKey (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/
Dmaple_phase_manager.h46 MemPool *ApplyMemPoolForAnalysisPhase(uint32 phaseKey, const MaplePhaseInfo &pi);
47 void AddAnalysisPhase(uint32 phaseKey, MaplePhase *p);
52 void EraseAnalysisPhase(uint32 phaseKey, MaplePhaseID pid);
55 … void ClearInVaildAnalysisPhase(uint32 phaseKey, AnalysisDep &ADep); // do after transform phase;
56 MaplePhase *GetVaildAnalysisPhase(uint32 phaseKey, MaplePhaseID pid);
57 bool IsAnalysisPhaseAvailable(uint32 phaseKey, MaplePhaseID pid);
189 void AddAnalysisData(uint32 phaseKey, MaplePhaseID id, MaplePhase *phaseImpl) in AddAnalysisData() argument
192 std::pair<AnalysisMemKey, MaplePhase *>(AnalysisMemKey(phaseKey, id), phaseImpl)); in AddAnalysisData()
195 MaplePhase *FindAnalysisData(uint32 phaseKey, const MaplePhase *p, MaplePhaseID id) in FindAnalysisData() argument
197 auto anaPhaseInfoIt = analysisPhasesData.find(AnalysisMemKey(phaseKey, id)); in FindAnalysisData()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/src/
Dmaple_phase_manager.cpp24 MemPool *AnalysisDataManager::ApplyMemPoolForAnalysisPhase(uint32 phaseKey, const MaplePhaseInfo &p… in ApplyMemPoolForAnalysisPhase() argument
34 … std::pair<AnalysisMemKey, MemPool *>(AnalysisMemKey(phaseKey, pi.GetPhaseID()), phaseMempool)); in ApplyMemPoolForAnalysisPhase()
38 void AnalysisDataManager::AddAnalysisPhase(uint32 phaseKey, MaplePhase *p) in AddAnalysisPhase() argument
42 std::pair<AnalysisMemKey, MaplePhase *>(AnalysisMemKey(phaseKey, p->GetPhaseID()), p)); in AddAnalysisPhase()
47 void AnalysisDataManager::EraseAnalysisPhase(uint32 phaseKey, MaplePhaseID pid) in EraseAnalysisPhase() argument
49 auto it = analysisPhaseMemPool.find(AnalysisMemKey(phaseKey, pid)); in EraseAnalysisPhase()
50 auto itanother = availableAnalysisPhases.find(AnalysisMemKey(phaseKey, pid)); in EraseAnalysisPhase()
52 auto resultanother = availableAnalysisPhases.erase(AnalysisMemKey(phaseKey, pid)); in EraseAnalysisPhase()
56 …auto result = analysisPhaseMemPool.erase(AnalysisMemKey(phaseKey, pid)); // erase to release memp… in EraseAnalysisPhase()
90 void AnalysisDataManager::ClearInVaildAnalysisPhase(uint32 phaseKey, AnalysisDep &ADep) in ClearInVaildAnalysisPhase() argument
[all …]