/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | compiler_log.cpp | 89 : ClockScope(), name_(std::move(name)), methodName_(std::move(methodName)), methodOffset_(methodOffset), log_(log) in TimeScope() 91 if (log_->GetEnableCompilerLogTime()) { in TimeScope() 92 if (log_->nameIndex_.find(name_) == log_->nameIndex_.end()) { in TimeScope() 93 log_->nameIndex_[name_] = log_->GetIndex(); in TimeScope() 100 : ClockScope(), name_(std::move(name)), log_(log) in TimeScope() 102 if (log_->GetEnableCompilerLogTime()) { in TimeScope() 103 if (log_->nameIndex_.find(name_) == log_ in TimeScope() [all...] |
H A D | pass_manager.cpp | 41 log_(log), in PassContext() 71 log_, in Compile() 72 log_->OutputASM(), in Compile() 90 ctx_ = new PassContext(triple_, log_, collector_, m->GetModule(), &profilerDecoder_); in Compile() 95 log_->SetMethodLog(fileName, methodName, logList_); in Compile() 98 bool enableMethodLog = log_->GetEnableMethodLog(); in Compile() 129 circuit_, ctx_->GetByteCodes(), enableMethodLog && log_->OutputCIR(), in Compile() 133 TimeScope timeScope("BytecodeToCircuit", methodName, methodOffset, log_); in Compile() 143 data_ = new PassData(builder_, circuit_, ctx_, log_, fullName, &methodInfo, recordName, in Compile() 278 log_, [all...] |
H A D | stub_compiler.h | 33 log_(log),
in StubCompiler() 45 return log_;
in GetLog() 59 CompilerLog *log_ {nullptr};
|
H A D | pass_manager.h | 62 return log_; in GetCompilerLog() 115 CompilerLog *log_ {nullptr}; 128 : compilationEnv_(env), triple_(triple), optLevel_(optLevel), relocMode_(relocMode), log_(log), in PassManager() 149 CompilerLog *log_ {nullptr};
|
H A D | jit_compiler.h | 98 log_(jitOptions_.logOption_), in JitCompiler() 112 return log_; in GetCompilerLog() 133 CompilerLog log_; member in panda::ecmascript::kungfu::final
|
H A D | file_generators.h | 141 FileGenerator(const CompilerLog *log, const MethodLogList *logList) : log_(log), logList_(logList) {}; in FileGenerator() 150 return *log_; in GetLog() 160 const CompilerLog *log_ {nullptr}; 167 m.RunAssembler(*(log_), false); in RunLLVMAssembler() 262 m.DisassemblerFunc(addr2name, 0, *(log_), *(logList_), codeStream_); in DisassembleEachFunc()
|
H A D | compiler_log.h | 201 CompilerLog *log_ {nullptr};
214 std::string log_ {};
|
H A D | file_generators.cpp | 405 if (log_->OutputASM()) { in CollectCodeInfo() 459 if (module->IsLLVM() && log_->OutputASM()) { in CollectCodeInfo() 460 module->DisassemblerFunc(addr2name, textOffset, *(log_), *(logList_), codeStream_); in CollectCodeInfo() 529 m.RunAssembler(*(this->log_), false); in RunLLVMAssembler() 536 const CompilerLog &log = *(this->log_); in RunLLVMAssembler() 541 modulePackage_[0].RunAssembler(*(this->log_), false); in RunLLVMAssembler() 593 TimeScope timescope("LLVMIROpt", const_cast<CompilerLog *>(log_)); in CompileLatestModuleThenDestroy() 595 latestModule->RunAssembler(*(log_), fastCompileMode, isJit); in CompileLatestModuleThenDestroy() 598 TimeScope timescope("LLVMCodeGen", const_cast<CompilerLog *>(log_)); in CompileLatestModuleThenDestroy() 711 if (log_ in GetMemoryCodeInfos() [all...] |
H A D | compilation_driver.cpp | 41 log_(log), in CompilationDriver()
|
H A D | compilation_driver.h | 129 CompilerLog *log_ {nullptr};
|
H A D | pass.h | 79 : builder_(builder), circuit_(circuit), ctx_(ctx), log_(log), methodName_(methodName), 136 return log_; in GetLog() 203 log_->RemoveCompiledMethod(methodName_, recordName_); in AbortCompilation() 211 CompilerLog *log_ {nullptr};
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | gc_log_test.cpp | 102 log_ = testing::internal::GetCapturedStderr(); in CounterLogTest() 103 ASSERT_NE(log_.find(expectedLog_), std::string::npos) << "Expected:\n" in CounterLogTest() 105 << log_; in CounterLogTest() local 127 log_ = testing::internal::GetCapturedStderr(); in FullLogTest() 128 ASSERT_NE(log_.find(expectedLog_), std::string::npos) << "Expected:\n" << expectedLog_ << "\nLog:\n" << log_; in FullLogTest() local 134 log_ = testing::internal::GetCapturedStderr(); in FullLogTest() 135 ASSERT_NE(log_.find(expectedLog_), std::string::npos) << "Expected:\n" << expectedLog_ << "\nLog:\n" << log_; in FullLogTest() local 141 log_ in FullLogTest() 142 ASSERT_NE(log_.find(expectedLog_), std::string::npos) << "Expected:\\n" << expectedLog_ << "\\nLog:\\n" << log_; FullLogTest() local [all...] |
/arkcompiler/ets_frontend/ets2panda/util/ |
H A D | errorLogger.h | 29 return log_; in Log() 34 return !log_.empty(); in IsAnyError() 45 std::vector<Error> log_; member in ark::es2panda::util::ErrorLogger
|
H A D | errorLogger.cpp | 27 log_.push_back(std::move(error)); in WriteLog()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_utils.h | 90 if (log_.size() >= MAX_LOG_COUNT) { in AddLog() 91 log_.pop_front(); in AddLog() 93 log_.push_back(str + ", tid: " + std::to_string(Gettid())); in AddLog() 105 log_.clear(); in ClearLog() 113 for (auto& str: log_) { in PrintLog() 125 std::list<std::string> log_; member in panda::ecmascript::pgo::ConcurrentGuardValues
|