Home
last modified time | relevance | path

Searched defs:function (Results 1 – 25 of 95) sorted by relevance

1234

/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/
Dcodegen_test.cpp110 auto function = pandasm::Function(std::string(), panda::panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
171 auto function = pandasm::Function(std::string(), panda::panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
203 … auto function = pandasm::Function(std::string(), panda::panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
238 … auto function = pandasm::Function(std::string(), panda::panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
271 … auto function = pandasm::Function(std::string(), panda::panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
306 … auto function = pandasm::Function(std::string(), panda::panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
339 … auto function = pandasm::Function(std::string(), panda::panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
374 … auto function = pandasm::Function(std::string(), panda::panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
406 … auto function = pandasm::Function(std::string(), panda::panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
442 … auto function = pandasm::Function(std::string(), panda::panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local
[all …]
Dbitops_bitwise_and_test.cpp123 auto &function = program.functionTable.at(sigMain); in TEST_F() local
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/inline_ir/
Dremove_unused_functions.cpp51 for (auto &function : module.functions()) { in run() local
65 for (auto &function : module.functions()) { in run() local
85 auto &function = cast<Function>(value); in VisitValue() local
Dcleanup_inline_module.cpp137 auto function = inlineFailurePath_[inlineFailurePath_.size() - 1]; in PrintForHasAddressTaken() local
149 auto function = FindLastFunctionInPath(); in PrintForUsesInternalVariable() local
158 if (auto function = llvm::dyn_cast<Function>(*it)) { in FindLastFunctionInPath() local
217 for (auto &function : module.functions()) { in RemoveNonInlinableFunctions() local
231 auto function = entry.getFirst(); in RemoveNonInlinableFunctions() local
247 void VisitFunction(Function *function) in VisitFunction()
280 auto function = cast<Function>(value); in IsInlinable() local
415 auto function = entry.getFirst(); in PrintInlineReport() local
Dmark_always_inline.cpp46 llvm::PreservedAnalyses MarkAlwaysInline::run(llvm::Function &function, llvm::FunctionAnalysisManag… in run()
59 bool MarkAlwaysInline::InlineCallTree(Function *function, int32_t level, int32_t maxLevel) in InlineCallTree()
/arkcompiler/runtime_core/bytecode_optimizer/
Doptimize_bytecode.cpp92 void BuildMapFromPcToIns(pandasm::Function &function, BytecodeOptIrInterface &ir_interface, in BuildMapFromPcToIns()
110 static void ExtractTypeInfo(const pandasm::Function &function, compiler::RuntimeInterface *adapter, in ExtractTypeInfo()
156 static void BuildMapFromPcToType(const pandasm::Function &function, const compiler::Graph *graph, in BuildMapFromPcToType()
184 static void ColumnNumberPropagate(pandasm::Function *function) in ColumnNumberPropagate()
211 static void LineNumberPropagate(pandasm::Function *function) in LineNumberPropagate()
242 static void DebugInfoPropagate(pandasm::Function &function, const compiler::Graph *graph, in DebugInfoPropagate()
252 static bool SkipFunction(const pandasm::Function &function, const std::string &func_name) in SkipFunction()
311 panda::pandasm::Function &function = it->second; in OptimizeFunction() local
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Doptimize_bytecode.cpp132 void BuildMapFromPcToIns(pandasm::Function &function, BytecodeOptIrInterface &irInterface, const co… in BuildMapFromPcToIns()
150 static void ColumnNumberPropagate(pandasm::Function *function) in ColumnNumberPropagate()
177 static void LineNumberPropagate(pandasm::Function *function) in LineNumberPropagate()
208 static void DebugInfoPropagate(pandasm::Function &function, const compiler::Graph *graph, in DebugInfoPropagate()
218 static bool SkipFunction(const pandasm::Function &function, const std::string &funcName) in SkipFunction()
278 panda::pandasm::Function &function = it->second; in OptimizeFunction() local
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
Ddebug_data_builder.cpp39 void DebugDataBuilder::BeginSubprogram(Function *function, const std::string &filename, uint32_t li… in BeginSubprogram()
50 void DebugDataBuilder::EndSubprogram(Function *function) in EndSubprogram()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_lazy_test.cpp241 JSHandle<JSTaggedValue> function = globalEnv->GetBuiltinsFinalizationRegistryFunction(); in HWTEST_F_L0() local
256 auto function = FastRuntimeStub::GetGlobalOwnProperty(thread, globalObj, key); in HWTEST_F_L0() local
264 JSHandle<JSTaggedValue> function = globalEnv->GetInt8ArrayFunction(); in HWTEST_F_L0() local
279 auto function = FastRuntimeStub::GetGlobalOwnProperty(thread, globalObj, key); in HWTEST_F_L0() local
287 JSHandle<JSTaggedValue> function = globalEnv->GetArrayBufferFunction(); in HWTEST_F_L0() local
302 auto function = FastRuntimeStub::GetGlobalOwnProperty(thread, globalObj, key); in HWTEST_F_L0() local
310 JSHandle<JSTaggedValue> function = globalEnv->GetDataViewFunction(); in HWTEST_F_L0() local
325 auto function = FastRuntimeStub::GetGlobalOwnProperty(thread, globalObj, key); in HWTEST_F_L0() local
333 JSHandle<JSTaggedValue> function = globalEnv->GetSharedArrayBufferFunction(); in HWTEST_F_L0() local
348 auto function = FastRuntimeStub::GetGlobalOwnProperty(thread, globalObj, key); in HWTEST_F_L0() local
[all …]
Dbuiltins_object_test.cpp95 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
159 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
194 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
257 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
293 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
335 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
359 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
391 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
414 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
439 JSHandle<JSTaggedValue> function(thread, BuiltinsObjectTestCreate(thread)); in HWTEST_F_L0() local
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dcodegen_test.cpp107 Function *function = nullptr; in __anon61fc5db40102() local
145 Function *function = nullptr; in __anon61fc5db40202() local
183 Function *function = nullptr; in __anon61fc5db40302() local
245 Function *function = nullptr; in __anon61fc5db40402() local
283 Function *function = nullptr; in __anon61fc5db40502() local
338 Function *function = nullptr; in __anon61fc5db40602() local
475 Function *function = nullptr; in __anon61fc5db40702() local
519 auto &function = prog.function_table.at("func_main_0:(any,any,any)"); variable
Dbitops_bitwise_and_test.cpp120 auto &function = program.function_table.at(sig_main); in TEST_F() local
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackgetter.cpp127 JSFunction* function = JSFunction::Cast(it.GetFunction().GetTaggedObject()); in GetNativeStack() local
169 JSFunction* function = JSFunction::Cast(it.GetFunction().GetTaggedObject()); in GetRunningState() local
227 JSFunction* function = JSFunction::Cast(it.GetFunction().GetTaggedObject()); in GetNativeMethodCallPos() local
274 JSFunction* function = JSFunction::Cast(it.GetFunction().GetTaggedObject()); in GetMethodIdentifier() local
295 JSFunction* function = JSFunction::Cast(itNext.GetFunction().GetTaggedObject()); in GetCallLineNumber() local
/arkcompiler/runtime_core/static_core/irtoc/lang/
Dbasic_block.rb19 attr_reader :index, :function, :preds, :instructions accessor in BasicBlock
22 def initialize(index, function) argument
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
Dremote_object.cpp74 } else if (auto function = std::get_if<FunctionT>(&value)) { in GeneratePreview() local
116 std::string RemoteObject::GetDescription(const RemoteObject::FunctionT &function) in GetDescription()
142 if (auto function = std::get_if<FunctionT>(&value_)) { in GetObjectId() local
256 } else if (auto function = std::get_if<FunctionT>(&value_)) { in ToJson() local
/arkcompiler/ets_frontend/ets2panda/checker/ets/
Denum.cpp157 auto *const function = checker->Allocator()->New<ir::ScriptFunction>( in MakeFunction() local
171 ir::ScriptFunction *const function) in MakeMethodDef()
203 …ard]] Signature *MakeGlobalSignature(ETSChecker *const checker, ir::ScriptFunction *const function, in MakeGlobalSignature()
343 …auto *const function = MakeFunction(this, VarBinder()->AsETSBinder(), paramScope, std::move(params… in CreateEnumFromIntMethod() local
379 …auto *const function = MakeFunction(this, VarBinder()->AsETSBinder(), paramScope, std::move(params… in CreateEnumToStringMethod() local
417 …auto *const function = MakeFunction(this, VarBinder()->AsETSBinder(), paramScope, std::move(params… in CreateEnumGetValueMethod() local
455 …auto *const function = MakeFunction(this, VarBinder()->AsETSBinder(), paramScope, std::move(params… in CreateEnumGetNameMethod() local
579 …auto *const function = MakeFunction(this, VarBinder()->AsETSBinder(), paramScope, std::move(params… in CreateEnumValueOfMethod() local
611 …auto *const function = MakeFunction(this, VarBinder()->AsETSBinder(), paramScope, std::move(params… in CreateEnumValuesMethod() local
/arkcompiler/runtime_core/libpandabase/utils/
Ddebug.cpp24 …eturn]] void AssertionFail(const char *expr, const char *file, unsigned line, const char *function) in AssertionFail()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Ddebug.cpp26 …eturn]] void AssertionFail(const char *expr, const char *file, unsigned line, const char *function) in AssertionFail()
/arkcompiler/runtime_core/static_core/libpandabase/os/
Dstacktrace.cpp124 std::string function; in PrintFrame() local
140 …void PrintFrame(const std::string &function, const std::string &srcFile, unsigned int line, std::o… in PrintFrame()
163 void PrintFrame(const std::string &function, uintptr_t offset, std::ostream &out) in PrintFrame()
171 bool ReadSymbol(uintptr_t pc, std::string *function, uintptr_t *offset) in ReadSymbol()
182 void Demangle(const std::string &function, std::ostream &out) in Demangle()
/arkcompiler/runtime_core/libpandabase/os/
Dstacktrace.cpp124 std::string function; in PrintFrame() local
140 …void PrintFrame(const std::string &function, const std::string &src_file, unsigned int line, std::… in PrintFrame()
163 void PrintFrame(const std::string &function, uintptr_t offset, std::ostream &out) in PrintFrame()
171 bool ReadSymbol(uintptr_t pc, std::string *function, uintptr_t *offset) in ReadSymbol()
182 void Demangle(const std::string &function, std::ostream &out) in Demangle()
/arkcompiler/ets_frontend/ts2panda/ts2abc/tests/
Dfunctions_test.cpp34 Json::Value function = {}; variable
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DpromiseVoid.cpp140 auto genTypeLocation = [](ir::ScriptFunction *function) -> lexer::SourceRange { in Perform()
169 auto *function = ast->AsScriptFunction(); in Perform() local
219 auto *function = ast->AsScriptFunction(); in Postcondition() local
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp82 auto function = panda::pandasm::Function( in MakeFuncDefintion() local
444 static int ParseVariablesDebugInfo(const Json::Value &function, panda::pandasm::Function &pandaFunc) in ParseVariablesDebugInfo()
489 static int ParseSourceFileInfo(const Json::Value &function, panda::pandasm::Function &pandaFunc) in ParseSourceFileInfo()
522 panda::pandasm::Function GetFunctionDefintion(const Json::Value &function) in GetFunctionDefintion()
561 static void ParseFunctionInstructions(const Json::Value &function, panda::pandasm::Function &pandaF… in ParseFunctionInstructions()
577 static void ParseFunctionLabels(const Json::Value &function, panda::pandasm::Function &pandaFunc) in ParseFunctionLabels()
591 static void ParseFunctionCatchTables(const Json::Value &function, panda::pandasm::Function &pandaFu… in ParseFunctionCatchTables()
607 static std::vector<std::pair<int32_t, uint32_t>> GetInstTypeMap(const Json::Value &function, in GetInstTypeMap()
654 static void ParseFunctionTypeInfo(const Json::Value &function, panda::pandasm::Function &pandaFunc, in ParseFunctionTypeInfo()
760 static void ParseFunctionExportedType(const Json::Value &function, panda::pandasm::Function &pandaF… in ParseFunctionExportedType()
[all …]
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
Dexpand_atomics.cpp30 llvm::PreservedAnalyses ExpandAtomics::run(llvm::Function &function, in run()
/arkcompiler/ets_frontend/merge_abc/src/
DassemblyFunctionProto.cpp54 void Function::Serialize(const panda::pandasm::Function &function, protoPanda::Function &protoFunct… in Serialize()
116 …unction::Deserialize(const protoPanda::Function &protoFunction, panda::pandasm::Function &function, in Deserialize()

1234