Home
last modified time | relevance | path

Searched refs:funcName (Results 1 - 25 of 75) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/tests/
H A Dsamples_record_test.cpp106 char funcName[] = "testFunction"; in HWTEST_F_L0() local
107 std::string result = samplesRecord.AddRunningStateTest(funcName, RunningState::AINT_D, in HWTEST_F_L0()
111 result = samplesRecord.AddRunningStateTest(funcName, RunningState::GC, in HWTEST_F_L0()
115 result = samplesRecord.AddRunningStateTest(funcName, RunningState::CINT, in HWTEST_F_L0()
119 result = samplesRecord.AddRunningStateTest(funcName, RunningState::AINT, in HWTEST_F_L0()
123 result = samplesRecord.AddRunningStateTest(funcName, RunningState::AOT, in HWTEST_F_L0()
127 result = samplesRecord.AddRunningStateTest(funcName, RunningState::BUILTIN, in HWTEST_F_L0()
131 result = samplesRecord.AddRunningStateTest(funcName, RunningState::NAPI, in HWTEST_F_L0()
135 result = samplesRecord.AddRunningStateTest(funcName, RunningState::ARKUI_ENGINE, in HWTEST_F_L0()
139 result = samplesRecord.AddRunningStateTest(funcName, RunningStat in HWTEST_F_L0()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Dreg_alloc.h34 void PrintAllTimerAndClear(const std::string &funcName) in PrintAllTimerAndClear() argument
36 LogInfo::MapleLogger() << "Func[" << funcName << "] Reg Alloc Time:\n"; in PrintAllTimerAndClear()
51 #define RA_TIMER_PRINT(funcName) RATimerManager::GetInstance().PrintAllTimerAndClear(funcName)
55 #define RA_TIMER_PRINT(funcName)
H A Doptimize_common.h84 void Run(const std::string &funcName, bool checkOnly = false);
108 void Print(const std::string &funcName);
/arkcompiler/ets_runtime/ecmascript/dfx/vmstat/
H A Dfunction_call_timer.cpp54 CString funcName(method->GetMethodName()); in GetFullName()
56 CString fullName = funcName + "@" + recordName; in GetFullName()
65 CString funcName = GetFullName(method); in InitialStatAndTimer() local
66 FunctionCallStat stat(funcName, isAot); in InitialStatAndTimer()
72 CString funcName = GetFullName(method); in InitialStatAndTimer() local
73 FunctionCallStat stat(funcName, isAot); in InitialStatAndTimer()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
H A Doptimize_bytecode.cpp218 static bool SkipFunction(const pandasm::Function &function, const std::string &funcName) in SkipFunction() argument
222 if (!std::regex_match(funcName, rgx)) { in SkipFunction()
223 LOG(INFO, BYTECODE_OPTIMIZER) << "Skip Function " << funcName << ":Function's name doesn't match regex"; in SkipFunction()
229 LOG(INFO, BYTECODE_OPTIMIZER) << "Was not optimized " << funcName << ":Function has catch blocks"; in SkipFunction()
234 LOG(ERROR, BYTECODE_OPTIMIZER) << "Unable to optimize " << funcName in SkipFunction()
263 auto funcName = irInterface.GetMethodIdByOffset(mda.GetMethodId().GetOffset()); in OptimizeFunction() local
264 LOG(INFO, BYTECODE_OPTIMIZER) << "Optimizing function: " << funcName; in OptimizeFunction()
266 auto it = prog->functionTable.find(funcName); in OptimizeFunction()
268 LOG(ERROR, BYTECODE_OPTIMIZER) << "Cannot find function: " << funcName; in OptimizeFunction()
283 if (SkipFunction(function, funcName)) { in OptimizeFunction()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/
H A Dlitecg_codegen.cpp67 static void SaveFunc2Addr(void *object, std::string funcName, uint32_t address) in SaveFunc2Addr() argument
70 state.SaveFunc2Addr(funcName, address); in SaveFunc2Addr()
73 static void SaveFunc2FPtoPrevSPDelta(void *object, std::string funcName, int32_t fp2PrevSpDelta) in SaveFunc2FPtoPrevSPDelta() argument
76 state.SaveFunc2FPtoPrevSPDelta(funcName, fp2PrevSpDelta); in SaveFunc2FPtoPrevSPDelta()
79 static void SaveFunc2CalleeOffsetInfo(void *object, std::string funcName, kungfu::CalleeRegAndOffsetVec calleeRegInfo) in SaveFunc2CalleeOffsetInfo() argument
82 state.SaveFunc2CalleeOffsetInfo(funcName, calleeRegInfo); in SaveFunc2CalleeOffsetInfo()
/arkcompiler/ets_frontend/es2panda/util/
H A DpatchFix.cpp127 bool PatchFix::IsAnonymousOrSpecialOrDuplicateFunction(const std::string &funcName) in IsAnonymousOrSpecialOrDuplicateFunction() argument
130 return funcName.find(binder::Binder::ANONYMOUS_SPECIAL_DUPLICATE_FUNCTION_SPECIFIER) != std::string::npos; in IsAnonymousOrSpecialOrDuplicateFunction()
136 auto pos = funcName.find_last_of(Helpers::FUNC_NAME_SEPARATOR); in IsAnonymousOrSpecialOrDuplicateFunction()
141 if (pos == funcName.size() - 1) { in IsAnonymousOrSpecialOrDuplicateFunction()
145 auto posOfDuplicateSep = funcName.find_last_of(Helpers::DUPLICATED_SEPERATOR); in IsAnonymousOrSpecialOrDuplicateFunction()
160 void PatchFix::CollectFunctionsWithDefinedClasses(std::string funcName, std::string className) in CollectFunctionsWithDefinedClasses() argument
162 auto funcInfo = funcDefinedClasses_.find(funcName); in CollectFunctionsWithDefinedClasses()
168 funcDefinedClasses_.insert({funcName, funcDefinedClasses}); in CollectFunctionsWithDefinedClasses()
291 auto funcName = scope->AsFunctionVariableScope()->InternalName(); in IsScopeValidToPatchLexical() local
292 if (std::string(funcName) ! in IsScopeValidToPatchLexical()
483 CompareLexenv(const std::string &funcName, const compiler::PandaGen *pg, SymbolTable::OriginFunctionInfo &bytecodeInfo) CompareLexenv() argument
568 std::string funcName = func->name; HandleFunction() local
[all...]
H A DpatchFix.h78 void CheckAndRestoreSpecialFunctionName(uint32_t globalIndexForSpecialFunc, std::string &funcName,
89 void CollectFunctionsWithDefinedClasses(std::string funcName, std::string className);
106 bool IsAnonymousOrSpecialOrDuplicateFunction(const std::string &funcName);
107 bool CompareLexenv(const std::string &funcName, const compiler::PandaGen *pg,
/arkcompiler/runtime_core/static_core/abc2program/
H A Dabc2program_log.cpp21 void Unimplemented(const std::string &funcName) in Unimplemented() argument
23 LOG(ERROR, ABC2PROGRAM) << "Function : " << funcName << " unimplemented now!"; in Unimplemented()
H A Dabc2program_log.h23 void Unimplemented(const std::string &funcName);
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DfunctionDeclaration.cpp45 const util::StringView &funcName = func_->Id()->Name(); in Check() local
46 binder::ScopeFindResult result = checker->Scope()->Find(funcName); in Check()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Ddebug_info.cpp76 const std::string &DebugInfo::GetComment(const std::string &funcName, size_t index) const in GetComment() argument
78 auto it = funcToDInfo_.find(funcName); in GetComment()
82 ASSERT(info->Name() == funcName); in GetComment()
H A Dcode_generator.h97 void SaveFunc2Addr(std::string funcName, uint32_t address);
99 void SaveFunc2FPtoPrevSPDelta(std::string funcName, int32_t fp2PrevSpDelta);
101 void SaveFunc2CalleeOffsetInfo(std::string funcName, kungfu::CalleeRegAndOffsetVec calleeRegInfo);
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/
H A Dcommon.h193 bool ParseToGraph(const std::string &source, const std::string &funcName, const char *fileName = "test.pb") in ParseToGraph() argument
204 return ParseToGraph(&prog, funcName); in ParseToGraph()
207 virtual bool ParseToGraph(pandasm::Program *prog, const std::string &funcName) in ParseToGraph() argument
233 cda.EnumerateMethods([&tempGraph, ptrFile, funcName, this](panda_file::MethodDataAccessor &mda) { in ParseToGraph()
236 bool isEqual = (std::string(funcName) == std::string(reinterpret_cast<const char *>(str))); in ParseToGraph()
738 const std::string &funcName) in CheckConstArrayFilling()
762 ASSERT_TRUE(prog->functionTable.find(funcName) != prog->functionTable.end()); in CheckConstArrayFilling()
763 auto &function = prog->functionTable.at(funcName); in CheckConstArrayFilling()
798 void CheckConstArray(ark::pandasm::Program *prog, const char *className, const std::string &funcName, in CheckConstArray() argument
804 auto tempName = funcName in CheckConstArray()
737 CheckConstArrayFilling(ark::pandasm::Program *prog, [[maybe_unused]] const std::string &className, const std::string &funcName) CheckConstArrayFilling() argument
[all...]
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/
H A Dbuiltins.cpp422 const auto &funcName = function->getName(); in LowerBuiltin() local
423 if (funcName.equals(LEN_ARRAY_BUILTIN)) { in LowerBuiltin()
426 if (funcName.equals(LOAD_CLASS_BUILTIN)) { in LowerBuiltin()
429 if (funcName.equals(LOAD_INIT_CLASS_BUILTIN)) { in LowerBuiltin()
432 if (funcName.equals(PRE_WRB_GCADR_BUILTIN) || funcName.equals(PRE_WRB_BUILTIN)) { in LowerBuiltin()
435 if (funcName.equals(POST_WRB_GCADR_BUILTIN) || funcName.equals(POST_WRB_BUILTIN)) { in LowerBuiltin()
438 if (funcName.equals(LOAD_STRING_BUILTIN)) { in LowerBuiltin()
441 if (funcName in LowerBuiltin()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_codegen.cpp248 void CodeInfo::SaveFunc2Addr(std::string funcName, uint32_t address) in SaveFunc2Addr() argument
250 auto itr = func2FuncInfo.find(funcName); in SaveFunc2Addr()
256 std::pair<std::string, FuncInfo>(funcName, {address, 0, kungfu::CalleeRegAndOffsetVec()})); in SaveFunc2Addr()
259 void CodeInfo::SaveFunc2FPtoPrevSPDelta(std::string funcName, int32_t fp2PrevSpDelta) in SaveFunc2FPtoPrevSPDelta() argument
261 auto itr = func2FuncInfo.find(funcName); in SaveFunc2FPtoPrevSPDelta()
267 std::pair<std::string, FuncInfo>(funcName, {0, fp2PrevSpDelta, kungfu::CalleeRegAndOffsetVec()})); in SaveFunc2FPtoPrevSPDelta()
270 void CodeInfo::SaveFunc2CalleeOffsetInfo(std::string funcName, kungfu::CalleeRegAndOffsetVec calleeRegInfo) in SaveFunc2CalleeOffsetInfo() argument
272 auto itr = func2FuncInfo.find(funcName); in SaveFunc2CalleeOffsetInfo()
278 std::pair<std::string, FuncInfo>(funcName, {0, 0, calleeRegInfo})); in SaveFunc2CalleeOffsetInfo()
611 LOG_COMPILER(DEBUG) << " funcName in GetCalleeReg2Offset()
679 DecodeDebugInfo(uint64_t addr, uint64_t secIndex, char* outString, size_t outStringSize, DWARFContext *ctx, LLVMModule* module, const std::string &funcName) GetCalleeReg2Offset() argument
[all...]
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dasm_printer_test.cpp191 [[maybe_unused]] std::string funcName = "test_" + GetTestName(); local
195 enc->EmitFunctionName(reinterpret_cast<const void *>(funcName.c_str())); in onstexpr()
201 enc->EmitFunctionName(reinterpret_cast<const void *>(funcName.c_str())); in onstexpr()
207 enc->EmitFunctionName(reinterpret_cast<const void *>(funcName.c_str())); in onstexpr()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_cg.cpp88 const std::string &funcName = mirFunc.GetName(); in IsExclusiveFunc() local
90 if (it.compare(funcName) == 0) { in IsExclusiveFunc()
/arkcompiler/toolchain/tooling/test/testcases/
H A Djs_smart_stepInto_test.h101 bool RecvStepintoInfo(std::string recv, std::string funcName, int lineNumber) in RecvStepintoInfo() argument
125 if (ret != Result::SUCCESS || functionName != funcName) { in RecvStepintoInfo()
H A Djs_stepout_recursion_test.h76 bool RecvStepoutInfo(std::string recv, std::string funcName, int lineNumber) in RecvStepoutInfo() argument
100 if (ret != Result::SUCCESS || functionName != funcName) { in RecvStepoutInfo()
H A Djs_breakpoint_recursion_test.h81 bool RecvBreakInfo(std::string recv, std::string funcName, int lineNumber) in RecvBreakInfo() argument
105 if (ret != Result::SUCCESS || functionName != funcName) { in RecvBreakInfo()
H A Djs_breakpoint_switch_test.h83 bool RecvBreakInfo(std::string recv, std::string funcName, int lineNumber) in RecvBreakInfo() argument
107 if (ret != Result::SUCCESS || functionName != funcName) { in RecvBreakInfo()
H A Djs_stepout_async_test.h101 bool RecvStepoutInfo(std::string recv, std::string funcName, int lineNumber) in RecvStepoutInfo() argument
125 if (ret != Result::SUCCESS || functionName != funcName) { in RecvStepoutInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Doptimize_common.cpp26 void Optimizer::Run(const std::string &funcName, bool checkOnly) in Run() argument
249 void OptimizeLogger::Print(const std::string &funcName) in Print() argument
252 LogInfo::MapleLogger() << funcName << '\n'; in Print()
/arkcompiler/toolchain/tooling/client/manager/
H A Dsource_manager.cpp139 std::string funcName; in GetDebugSources() local
140 Result ret = json->GetString("functionName", &funcName); in GetDebugSources()
167 LOGE("arkdb: callFrames : funcName %{public}s, scriptid %{public}s, lineNum %{public}d", in GetDebugSources()
168 funcName.c_str(), scriptIdStr.c_str(), debugLineNum_); in GetDebugSources()

Completed in 14 milliseconds

123