Home
last modified time | relevance | path

Searched refs:phaseName (Results 1 - 19 of 19) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/
H A Dphase_driver.h63 explicit PhaseDriver(const std::string &phaseName) in PhaseDriver() argument
64 : MplScheduler(phaseName), module(nullptr), phaseImpl(nullptr), phaseName(phaseName) {} in PhaseDriver()
84 std::string phaseName; member in maple::PhaseDriver
H A Dmaple_phase_support.h62 : phaseName(pName), phaseID(pID), isAnalysis(isAS), isCFGOnlyPass(isCFGonly), canSkip(canSkip) in MaplePhaseInfo()
93 return phaseName; in PhaseName()
102 std::string phaseName; member in maple::MaplePhaseInfo
H A Dmaple_phase_manager.h103 void AddPhase(const std::string &phaseName, bool condition);
128 void SolveSkipFrom(const std::string &phaseName, size_t &i);
129 void SolveSkipAfter(const std::string &phaseName, size_t &i);
H A Dphase_impl.h72 FuncOptimizeIterator(const std::string &phaseName, std::unique_ptr<FuncOptimizeImpl> phaseImpl);
H A Dmaple_phase.h99 void Dump(funcT &f, const std::string phaseName);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/src/
H A Dmaple_phase_support.cpp50 std::string phaseName = pi.PhaseName(); in RunAfterPhase() local
51 if (phaseTimeRecord.count(phaseName)) { in RunAfterPhase()
52 phaseTimeRecord[phaseName] += usedTime; in RunAfterPhase()
54 auto ret = phaseTimeRecord.emplace(std::make_pair(phaseName, usedTime)); in RunAfterPhase()
H A Dmaple_phase_manager.cpp162 void MaplePhaseManager::AddPhase(const std::string &phaseName, bool condition) in AddPhase() argument
169 if (it.second->PhaseName() == phaseName) { in AddPhase()
176 CHECK_FATAL(false, "%s not found !", phaseName.c_str()); in AddPhase()
189 void MaplePhaseManager::SolveSkipFrom(const std::string &phaseName, size_t &i) in SolveSkipFrom() argument
192 if (!skipFromFlag && curPhase->PhaseName() == phaseName) { in SolveSkipFrom()
193 CHECK_FATAL(curPhase->CanSkip(), "%s cannot be skipped!", phaseName.c_str()); in SolveSkipFrom()
205 void MaplePhaseManager::SolveSkipAfter(const std::string &phaseName, size_t &i) in SolveSkipAfter() argument
208 if (!skipAfterFlag && curPhase->PhaseName() == phaseName) { in SolveSkipAfter()
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
H A DcheckContext.h59 const std::string &phaseName) const in DumpJSON()
61 return [sourceName, phaseName, severity, this](JsonObjectBuilder &body) { in DumpJSON()
68 body.AddProperty("phase", phaseName); in DumpJSON()
H A DASTVerifier.h44 void IntroduceNewInvariants(util::StringView phaseName) in IntroduceNewInvariants() argument
46 if (phaseName == "ScopesInitPhase") { in IntroduceNewInvariants()
53 if (phaseName == "CheckerPhase") { in IntroduceNewInvariants()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Dcg_option.h345 static bool IsSkipPhase(const std::string &phaseName) in IsSkipPhase() argument
347 return !(skipPhases.find(phaseName) == skipPhases.end()); in IsSkipPhase()
360 static bool IsSkipFromPhase(const std::string &phaseName) in IsSkipFromPhase() argument
362 return skipFrom.compare(phaseName) == 0; in IsSkipFromPhase()
370 static void SetSkipFrom(const std::string &phaseName) in SetSkipFrom() argument
372 skipFrom = phaseName; in SetSkipFrom()
375 static bool IsSkipAfterPhase(const std::string &phaseName) in IsSkipAfterPhase() argument
377 return skipAfter.compare(phaseName) == 0; in IsSkipAfterPhase()
385 static void SetSkipAfter(const std::string &phaseName) in SetSkipAfter() argument
387 skipAfter = phaseName; in SetSkipAfter()
[all...]
H A Dcg_phasemanager.h74 void DumpFuncCGIR(const CGFunc &f, const std::string &phaseName) const;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/
H A Dme_option.h32 static bool IsSkipPhase(const std::string &phaseName) in IsSkipPhase() argument
34 return !(skipPhases.find(phaseName) == skipPhases.end()); in IsSkipPhase()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DcompilerImpl.cpp114 void Verify(const AstToCheck &astToCheck, const PhaseName &phaseName, in Verify() argument
118 const auto source = Source(sourceName, phaseName); in Verify()
131 const std::string &phaseName) { in DumpMessages()
134 warnings.Add(message.DumpJSON(ast_verifier::CheckSeverity::WARNING, sourceName, phaseName)); in DumpMessages()
138 errors.Add(message.DumpJSON(ast_verifier::CheckSeverity::ERROR, sourceName, phaseName)); in DumpMessages()
143 const auto &[sourceName, phaseName] = source; in DumpMessages()
145 filterMessages(message, sourceName, phaseName); in DumpMessages()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Doption.h64 static bool IsSkipPhase(const std::string &phaseName) in IsSkipPhase() argument
66 return skipPhase == phaseName; in IsSkipPhase()
H A Dmir_module.h338 void OutputFunctionListAsciiMpl(const std::string &phaseName);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Dcg_phasemanager.cpp238 void CgFuncPM::DumpFuncCGIR(const CGFunc &f, const std::string &phaseName) const in DumpFuncCGIR()
241 if (CGOptions::DumpPhase(phaseName) && CGOptions::FuncFilter(f.GetName())) { in DumpFuncCGIR()
242 LogInfo::MapleLogger() << "\n******** CG IR After " << phaseName << ": *********\n"; in DumpFuncCGIR()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dcombined_pass_visitor.cpp263 void CombinedPassVisitor::PrintLog(const std::string& phaseName) in PrintLog() argument
269 << " After " << phaseName << " " in PrintLog()
H A Dcombined_pass_visitor.h81 void PrintLog(const std::string& phaseName);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
H A Dmir_module.cpp337 void MIRModule::OutputFunctionListAsciiMpl(const std::string &phaseName) in OutputFunctionListAsciiMpl() argument
342 fileStem = fileName.append(phaseName); in OutputFunctionListAsciiMpl()
344 fileStem = fileName.substr(0, lastDot).append(phaseName); in OutputFunctionListAsciiMpl()

Completed in 12 milliseconds