/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/ |
H A D | phase_driver.h | 63 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 D | maple_phase_support.h | 62 : 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 D | maple_phase_manager.h | 103 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 D | phase_impl.h | 72 FuncOptimizeIterator(const std::string &phaseName, std::unique_ptr<FuncOptimizeImpl> phaseImpl);
|
H A D | maple_phase.h | 99 void Dump(funcT &f, const std::string phaseName);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/src/ |
H A D | maple_phase_support.cpp | 50 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 D | maple_phase_manager.cpp | 162 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 D | checkContext.h | 59 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 D | ASTVerifier.h | 44 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 D | cg_option.h | 345 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 D | cg_phasemanager.h | 74 void DumpFuncCGIR(const CGFunc &f, const std::string &phaseName) const;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/ |
H A D | me_option.h | 32 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 D | compilerImpl.cpp | 114 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 D | option.h | 64 static bool IsSkipPhase(const std::string &phaseName) in IsSkipPhase() argument 66 return skipPhase == phaseName; in IsSkipPhase()
|
H A D | mir_module.h | 338 void OutputFunctionListAsciiMpl(const std::string &phaseName);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | cg_phasemanager.cpp | 238 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 D | combined_pass_visitor.cpp | 263 void CombinedPassVisitor::PrintLog(const std::string& phaseName) in PrintLog() argument 269 << " After " << phaseName << " " in PrintLog()
|
H A D | combined_pass_visitor.h | 81 void PrintLog(const std::string& phaseName);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
H A D | mir_module.cpp | 337 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()
|