Home
last modified time | relevance | path

Searched full:auto (Results 1 – 25 of 3159) sorted by relevance

12345678910>>...127

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_class_methods_returning_values/js_to_ets/
Dtest_class_methods.cpp27 // NOLINTNEXTLINE(modernize-use-auto) in TEST_F()
28 auto ret = CallEtsMethod<bool>("TestReturnIntegerAsAny"); in TEST_F()
34 // NOLINTNEXTLINE(modernize-use-auto) in TEST_F()
35 auto ret = CallEtsMethod<bool>("TestReturnStringAsAny"); in TEST_F()
42 // NOLINTNEXTLINE(modernize-use-auto) in TEST_F()
43 auto ret = CallEtsMethod<bool>("TestReturnBigIntegerAsAny"); in TEST_F()
49 // NOLINTNEXTLINE(modernize-use-auto) in TEST_F()
50 auto ret = CallEtsMethod<bool>("TestReturnBooleanAsAny"); in TEST_F()
56 // NOLINTNEXTLINE(modernize-use-auto) in TEST_F()
57 auto ret = CallEtsMethod<bool>("TestReturnUndefinedAsAny"); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/verification/util/tests/
Denvironment.cpp37 …static const auto WS = Par::OfCharset(" \t\r\n"); // NOLINT(readability-static-accessed-through-i… in EnvOptions()
38 …static const auto DELIM = Par::OfString(";"); // NOLINT(readability-static-accessed-through-i… in EnvOptions()
39 …static const auto NAME_HANDLER = [](auto a, Context &c, auto s, auto e, [[maybe_unused]] auto end)… in EnvOptions()
45 static const auto NAME = in EnvOptions()
48 …static const auto EQ = NAME.OfString("="); // NOLINT(readability-static-accessed… in EnvOptions()
49 …static const auto BOOL_TRUE = EQ.OfString("true"); // NOLINT(readability-static-accessed… in EnvOptions()
50 …static const auto BOOL_FALSE = BOOL_TRUE.OfString("false"); // NOLINT(readability-static-accessed… in EnvOptions()
51 static const auto BOOL_HANDLER = [](auto a, Context &c, auto s, [[maybe_unused]] auto to, in EnvOptions()
52 [[maybe_unused]] auto end) { in EnvOptions()
62 static const auto BOOL = BOOL_FALSE | BOOL_TRUE |= BOOL_HANDLER; in EnvOptions()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/libllvmbackend/
Dets_llvm_ir_constructor_gen.inl56 auto offset = GetGraph()->GetRuntime()->GetArrayU16ClassPointerTlsOffset(GetGraph()->GetArch());
57auto klass = llvmbackend::runtime_calls::LoadTLSValue(&builder_, arkInterface_, offset, builder_.g…
58 auto eid = RuntimeInterface::EntrypointId::STRING_BUILDER_APPEND_BOOL;
59auto call = CreateFastPathCall(inst, eid, {GetInputValue(inst, 0), GetInputValue(inst, 1), klass});
66 auto offset = GetGraph()->GetRuntime()->GetArrayU16ClassPointerTlsOffset(GetGraph()->GetArch());
67auto klass = llvmbackend::runtime_calls::LoadTLSValue(&builder_, arkInterface_, offset, builder_.g…
68 auto eid = RuntimeInterface::EntrypointId::STRING_BUILDER_APPEND_CHAR_COMPRESSED;
69auto call = CreateFastPathCall(inst, eid, {GetInputValue(inst, 0), GetInputValue(inst, 1), klass});
76 auto call = CreateStringBuilderAppendLong(inst);
83 auto call = CreateStringBuilderAppendLong(inst);
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dinstruction_combine_test.cpp76 auto x = builder.Arguments(1); in HWTEST_F_L0()
77 auto const_i64_0 = builder.Int64(0); in HWTEST_F_L0()
78 auto test_x_add_0 = builder.Int64Add(x, const_i64_0); in HWTEST_F_L0()
83 auto const_i64_1 = builder.Int64(1); in HWTEST_F_L0()
84 auto const_i64_2 = builder.Int64(2); in HWTEST_F_L0()
85 auto result = instcombie.VisitGate(builder.Int64Add(const_i64_1, const_i64_2)); in HWTEST_F_L0()
90 auto const_i64_max = builder.Int64(9223372036854775807); in HWTEST_F_L0()
91 auto const_i64_1 = builder.Int64(1); in HWTEST_F_L0()
92 auto result = instcombie.VisitGate(builder.Int64Add(const_i64_max, const_i64_1)); in HWTEST_F_L0()
100 auto y = builder.Arguments(2); in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Dintrinsics_api_impl.cpp30 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeFinalizationRegistryCallback()
31 auto ctx = InteropCtx::Current(coro); in JSRuntimeFinalizationRegistryCallback()
40 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeNewJSValueDouble()
41 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueDouble()
47 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeNewJSValueBoolean()
48 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueBoolean()
54 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeNewJSValueString()
55 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueString()
71 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeNewJSValueObject()
72 auto ctx = InteropCtx::Current(coro); in JSRuntimeNewJSValueObject()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
Dencode_visitor.cpp25 auto [dst, src0] = enc->GetCodegen()->ConvertRegisters<1U>(inst); \
34 auto [dst, src0, src1] = enc->GetCodegen()->ConvertRegisters<2U>(inst); \
43 auto [dst, src0, src1] = enc->GetCodegen()->ConvertRegisters<2U>(inst); \
44 auto imm_shift_inst = static_cast<BinaryShiftedRegisterOperation *>(inst); \
45 auto imm_value = static_cast<uint32_t>(imm_shift_inst->GetImm()) & (dst.GetSize() - 1); \
46 auto shift = Shift(src1, imm_shift_inst->GetShiftType(), imm_value); \
65 auto binop = inst->CastTo##opc##I(); \ in ENCODE_INST_WITH_SHIFTED_OPERAND()
67 auto [dst, src0] = enc->GetCodegen()->ConvertRegisters<1U>(inst); \ in ENCODE_INST_WITH_SHIFTED_OPERAND()
90 auto type = inst->GetType(); \
91 auto binop = inst->CastTo##opc##I(); \
[all …]
/arkcompiler/runtime_core/libpandabase/tests/
Dunique_fd_test.cpp35 auto fd_a = UniqueFd();
36 auto fd_b = UniqueFd(dupDF.stdinValue);
37 auto fd_c = UniqueFd(dupDF.stdoutValue);
38 auto fd_d = UniqueFd(dupDF.stferrValue);
45 auto fd_e = std::move(fd_a);
46 auto fd_f = std::move(fd_b);
47 auto fd_g = std::move(fd_c);
48 auto fd_h = std::move(fd_d);
63 auto fd_a = UniqueFd();
64 auto fd_b = UniqueFd(dupDF.stdinValue);
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
Dinspector_server.cpp37 …server_.OnCall("Debugger.enable", [](auto, auto &result, auto &) { result.AddProperty("debuggerId"… in InspectorServer() argument
66 sessionManager_.EnumerateSessions([this](auto &id, auto thread) { in OnOpen()
90 auto sessionId = sessionManager_.GetSessionIdByThread(thread); in CallDebuggerPaused()
92 server_.Call(sessionId, "Debugger.paused", [&](auto &params) { in CallDebuggerPaused()
116 auto sessionId = sessionManager_.GetSessionIdByThread(thread); in CallDebuggerScriptParsed()
117 … server_.Call(sessionId, "Debugger.scriptParsed", [&sourceFile, &thread, &scriptId](auto &params) { in CallDebuggerScriptParsed()
132 auto sessionId = sessionManager_.GetSessionIdByThread(thread); in CallRuntimeConsoleApiCalled()
134 server_.Call(sessionId, "Runtime.consoleAPICalled", [&](auto &params) { in CallRuntimeConsoleApiCalled()
159 for (const auto &argument : arguments) { in CallRuntimeConsoleApiCalled()
168 auto sessionId = sessionManager_.GetSessionIdByThread(thread); in CallRuntimeExecutionContextCreated()
[all …]
Ddebug_info_cache.cpp29 std::forward_as_tuple(file, [this, &file](auto methodId, auto sourceName) { in AddPandaFile()
39 auto method = frame.GetMethod(); in GetSourceLocation()
40 auto pandaFile = method->GetPandaFile(); in GetSourceLocation()
41 auto &debugInfo = GetDebugInfo(pandaFile); in GetSourceLocation()
50 auto &table = debugInfo.GetLineNumberTable(method->GetFileId()); in GetSourceLocation()
51 auto lineNumberIter = std::upper_bound(table.begin(), table.end(), frame.GetBytecodeOffset(), in GetSourceLocation()
52 … [](auto offset, auto &entry) { return offset < entry.offset; }); in GetSourceLocation()
61 auto method = frame.GetMethod(); in GetCurrentLineLocations()
62 auto pandaFile = method->GetPandaFile(); in GetCurrentLineLocations()
63 auto methodId = method->GetFileId(); in GetCurrentLineLocations()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dmcr_circuit_builder.cpp35 auto currentLabel = env_->GetCurrentLabel(); in ObjectTypeCheck()
36 auto currentControl = currentLabel->GetControl(); in ObjectTypeCheck()
37 auto currentDepend = currentLabel->GetDepend(); in ObjectTypeCheck()
51 auto currentLabel = env_->GetCurrentLabel(); in HeapObjectCheck()
52 auto currentControl = currentLabel->GetControl(); in HeapObjectCheck()
53 auto currentDepend = currentLabel->GetDepend(); in HeapObjectCheck()
65 auto currentLabel = env_->GetCurrentLabel(); in EcmaObjectCheck()
66 auto currentControl = currentLabel->GetControl(); in EcmaObjectCheck()
67 auto currentDepend = currentLabel->GetDepend(); in EcmaObjectCheck()
68 auto frameState = acc_.FindNearestFrameState(currentDepend); in EcmaObjectCheck()
[all …]
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
Dgc_barriers.cpp34 auto func = builder->GetInsertBlock()->getParent(); in EmitPreWRB()
35 auto module = func->getParent(); in EmitPreWRB()
36 auto &ctx = module->getContext(); in EmitPreWRB()
37 auto initialBb = builder->GetInsertBlock(); in EmitPreWRB()
39 auto createUniqBasicBlockName = [&initialBb](const std::string &suffix) { in EmitPreWRB()
42auto createBasicBlock = [&ctx, &initialBb, &createUniqBasicBlockName](const std::string &suffix) { in EmitPreWRB()
43 auto name = createUniqBasicBlockName(suffix); in EmitPreWRB()
44 auto funcIbb = initialBb->getParent(); in EmitPreWRB()
48 auto loadValueBb = createBasicBlock("pre_wrb_load_value"); in EmitPreWRB()
49 auto callRuntimeBb = createBasicBlock("pre_wrb_call_runtime"); in EmitPreWRB()
[all …]
Dllvm_ir_constructor.cpp79 static constexpr auto AARCH64_PC = 20;
80 static constexpr auto AARCH64_ACC = 21;
81 static constexpr auto AARCH64_ACC_TAG = 22;
82 static constexpr auto AARCH64_FP = 23;
83 static constexpr auto AARCH64_DISPATCH = 24;
84 static constexpr auto AARCH64_MOFFSET = 25;
85 static constexpr auto AARCH64_METHOD_PTR = 26;
86 static constexpr auto AARCH64_REAL_FP = 29;
89 static constexpr auto X86_64_PC = 4; // renamed r10
90 static constexpr auto X86_64_ACC = 11; // renamed r3 (rbx)
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dunique_fd_test.cpp41 auto fdA = UniqueFd(); in TEST()
42 auto fdB = UniqueFd(dupDf.stdinValue); in TEST()
43 auto fdC = UniqueFd(dupDf.stdoutValue); in TEST()
44 auto fdD = UniqueFd(dupDf.stferrValue); in TEST()
51 auto fdE = std::move(fdA); in TEST()
52 auto fdF = std::move(fdB); in TEST()
53 auto fdG = std::move(fdC); in TEST()
54 auto fdH = std::move(fdD); in TEST()
70 auto fdA = UniqueFd(); in TEST()
71 auto fdB = UniqueFd(dupDf.stdinValue); in TEST()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/scenarios/js_to_ets/
Dscenarios.cpp25 auto ret = CallEtsMethod<bool>("TestStandaloneFunctionCall"); in TEST_F()
31 auto ret = CallEtsMethod<bool>("TestClassMethodCall"); in TEST_F()
39 auto ret = CallEtsMethod<bool>("TestInterfaceMethodCall"); in TEST_F()
46 auto ret = CallEtsMethod<bool>("TestClassGetter"); in TEST_F()
52 auto ret = CallEtsMethod<bool>("TestClassSetter"); in TEST_F()
58 auto ret = CallEtsMethod<bool>("TestLambdaFunctionCall"); in TEST_F()
64 auto ret = CallEtsMethod<bool>("TestGenericFunctionCall"); in TEST_F()
70 auto ret = CallEtsMethod<bool>("TestFunctionArgTypeAny"); in TEST_F()
76 auto ret = CallEtsMethod<bool>("TestFunctionArgTypeUnknown"); in TEST_F()
82 auto ret = CallEtsMethod<bool>("TestFunctionArgTypeUndefined"); in TEST_F()
[all …]
/arkcompiler/ets_frontend/merge_abc/src/
DassemblyProgramProto.cpp23 for (const auto &[name, record] : program.record_table) { in Serialize()
24 auto *recordMap = protoProgram.add_recordtable(); in Serialize()
26 auto *protoRecord = recordMap->mutable_value(); in Serialize()
30 for (const auto &[name, func] : program.function_table) { in Serialize()
31 auto *functionMap = protoProgram.add_functiontable(); in Serialize()
33 auto *protoFunc = functionMap->mutable_value(); in Serialize()
37 for (const auto &[name, array] : program.literalarray_table) { in Serialize()
38 auto *literalarrayMap = protoProgram.add_literalarraytable(); in Serialize()
40 auto *protoArray = literalarrayMap->mutable_value(); in Serialize()
43 for (const auto &str : program.strings) { in Serialize()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
Dast_builder_test.cpp102 auto left = NumberLiteralBuilder(Allocator()).SetValue("10").Build(); in TEST_F()
103 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); in TEST_F()
104 auto binaryExpr = BinaryExpressionBuilder(Allocator()) in TEST_F()
109 auto awaitExpr = AwaitExpressionBuilder(Allocator()).SetArgument(binaryExpr).Build(); in TEST_F()
115 auto bigint = BigIntLiteralBuilder(Allocator()).SetValue("123").Build(); in TEST_F()
121 auto left = NumberLiteralBuilder(Allocator()).SetValue("10").Build(); in TEST_F()
122 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); in TEST_F()
123 auto binaryExpr = BinaryExpressionBuilder(Allocator()) in TEST_F()
133 auto left = NumberLiteralBuilder(Allocator()).SetValue("10").Build(); in TEST_F()
134 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); in TEST_F()
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DenumLowering.cpp33 …const auto paramCtx = varbinder::LexicalScope<varbinder::FunctionParamScope>::Enter(varbinder, sco… in MakeFunctionParam()
34auto *const paramIdent = checker->AllocNode<ir::Identifier>(name, typeAnnotation, checker->Allocat… in MakeFunctionParam()
35 auto *const param = checker->AllocNode<ir::ETSParameterExpression>(paramIdent, nullptr); in MakeFunctionParam()
36 auto *const paramVar = std::get<1>(varbinder->AddParamDecl(param)); in MakeFunctionParam()
44auto *const refIdent = checker->AllocNode<ir::Identifier>(paramExpr->Ident()->Name(), checker->All… in MakeParamRefIdent()
51 auto *const ident = checker->AllocNode<ir::Identifier>(name, checker->Allocator()); in MakeTypeReference()
53 auto *const referencePart = checker->AllocNode<ir::ETSTypeReferencePart>(ident); in MakeTypeReference()
61 auto *const functionExpr = checker->AllocNode<ir::FunctionExpression>(function); in MakeMethodDef()
62 auto *const identClone = ident->Clone(checker->Allocator(), nullptr); in MakeMethodDef()
64 auto *const methodDef = checker->AllocNode<ir::MethodDefinition>( in MakeMethodDef()
[all …]
DlambdaLowering.cpp84 auto name = util::UString(util::StringView("lambda$invoke$"), allocator); in CreateCalleeName()
97 auto *allocator = ctx->allocator; in CloneTypeParams()
98 auto *checker = ctx->checker->AsETSChecker(); in CloneTypeParams()
100 auto *newScope = allocator->New<varbinder::LocalScope>(allocator, enclosingScope); in CloneTypeParams()
101 auto newTypeParams = ArenaVector<checker::ETSTypeParameter *>(allocator->Adapter()); in CloneTypeParams()
102 auto newTypeParamNodes = ArenaVector<ir::TSTypeParameter *>(allocator->Adapter()); in CloneTypeParams()
103 auto *substitution = checker->NewSubstitution(); in CloneTypeParams()
106 auto *oldTypeParamNode = oldIrTypeParams->Params()[ix]; in CloneTypeParams()
107 auto *oldTypeParam = enclosingFunction->Signature()->TypeParams()[ix]->AsETSTypeParameter(); in CloneTypeParams()
108auto *newTypeParamId = allocator->New<ir::Identifier>(oldTypeParamNode->Name()->Name(), allocator); in CloneTypeParams()
[all …]
DpromiseVoid.cpp40 auto *returnStmt = ast->AsReturnStatement(); in HandleAsyncScriptFunctionBody()
41 const auto *arg = returnStmt->Argument(); in HandleAsyncScriptFunctionBody()
43 auto *voidId = in HandleAsyncScriptFunctionBody()
45 const auto &returnLoc = returnStmt->Range(); in HandleAsyncScriptFunctionBody()
71 auto *voidParam = [checker]() { in CreatePromiseVoidType()
72 auto paramsVector = ArenaVector<ir::TypeNode *>(checker->Allocator()->Adapter()); in CreatePromiseVoidType()
73auto *voidId = checker->AllocNode<ir::Identifier>(compiler::Signatures::UNDEFINED, checker->Alloca… in CreatePromiseVoidType()
75 auto *part = checker->AllocNode<ir::ETSTypeReferencePart>(voidId); in CreatePromiseVoidType()
77auto *params = checker->AllocNode<ir::TSTypeParameterInstantiation>(std::move(paramsVector)); in CreatePromiseVoidType()
81 auto *promiseVoidType = [checker, voidParam]() { in CreatePromiseVoidType()
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
Dg1_analytics.cpp97auto liveBytes = static_cast<double>(GetPromotedRegions() * DEFAULT_REGION_SIZE + GetEvacuatedByte… in ReportSurvivedBytesRatio()
98 auto totalSize = collectionSet.Young().size() * DEFAULT_REGION_SIZE; in ReportSurvivedBytesRatio()
99 auto ratio = liveBytes / totalSize; in ReportSurvivedBytesRatio()
143auto error = actual > 0 ? PERCENT_100_D * (prediction - actual) / actual : std::numeric_limits<dou… in DumpMetric()
150 auto error = in DumpPauseMetric()
159 auto edenLength = collectionSet.Young().size(); in ReportCollectionEnd()
160auto appTime = (currentYoungCollectionStart_ - previousYoungCollectionEnd_) / ark::os::time::MICRO… in ReportCollectionEnd()
161 auto allocationRate = static_cast<double>(edenLength) / appTime; in ReportCollectionEnd()
162 auto pauseTime = (endTime - currentYoungCollectionStart_) / ark::os::time::MICRO_TO_NANO; in ReportCollectionEnd()
171 auto liveObjectsPerRegion = static_cast<double>(liveObjects_) / edenLength; in ReportCollectionEnd()
[all …]
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/
Dbuiltins.cpp43 auto threadReg = GetThreadRegValue(builder, arkInterface); in CreateEntrypointCallHelper()
44 auto call = ark::llvmbackend::runtime_calls::CreateEntrypointCallCommon( in CreateEntrypointCallHelper()
56 auto mem = inst->getOperand(0U); in PostWRBHelper()
57 auto offset = inst->getOperand(1U); in PostWRBHelper()
58 auto value = inst->getOperand(2U); in PostWRBHelper()
61 auto threadReg = GetThreadRegValue(builder, arkInterface); in PostWRBHelper()
68 auto function = continuation->getParent(); in FastClassLoadingHelper()
72 auto offset = arkInterface->GetClassOffset(); in FastClassLoadingHelper()
73 auto dataPtr = builder->CreateConstInBoundsGEP1_32(builder->getInt8Ty(), methodValue, offset); in FastClassLoadingHelper()
74 auto classAddr = builder->CreateLoad(builder->getInt32Ty(), dataPtr); in FastClassLoadingHelper()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
Dobject_type_propagation.cpp27 for (auto bb : GetGraph()->GetBlocksRPO()) { in RunImpl()
28 for (auto phi : bb->PhiInsts()) { in RunImpl()
29 auto typeInfo = GetPhiTypeInfo(phi); in RunImpl()
30 for (auto visitedPhi : visitedPhis) { in RunImpl()
43 auto self = static_cast<ObjectTypePropagation *>(v); in VisitNewObject()
44 auto inst = i->CastToNewObject(); in VisitNewObject()
45 auto klass = self->GetGraph()->GetRuntime()->GetClass(inst->GetMethod(), inst->GetTypeId()); in VisitNewObject()
53 auto self = static_cast<ObjectTypePropagation *>(v); in VisitNewArray()
54 auto inst = i->CastToNewArray(); in VisitNewArray()
55 auto klass = self->GetGraph()->GetRuntime()->GetClass(inst->GetMethod(), inst->GetTypeId()); in VisitNewArray()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tests/
Dpygote_space_allocator_test_base.cpp22 [[maybe_unused]] auto pygoteSpaceAllocator = GetPygoteSpaceAllocator(); in InitAllocTest()
23 auto cls = GetObjectClass(); in InitAllocTest()
25 auto nonMovableHeader = ark::ObjectHeader::CreateNonMovable(cls); in InitAllocTest()
30 auto movableHeader = ark::ObjectHeader::Create(cls); in InitAllocTest()
41 [[maybe_unused]] auto pygoteSpaceAllocator = GetPygoteSpaceAllocator(); in ForkedAllocTest()
42 auto cls = GetObjectClass(); in ForkedAllocTest()
46 auto nonMovableHeader = ark::ObjectHeader::CreateNonMovable(cls); in ForkedAllocTest()
50 auto movableHeader = ark::ObjectHeader::Create(cls); in ForkedAllocTest()
57 [[maybe_unused]] auto pygoteSpaceAllocator = GetPygoteSpaceAllocator(); in NonMovableLiveObjectAllocTest()
58 auto cls = GetObjectClass(); in NonMovableLiveObjectAllocTest()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph_cloner.cpp37 auto new_graph = in CloneGraph()
62 for (auto block : GetGraph()->GetBlocksRPO()) { in CloneAnalyses()
63 auto clone = GetClone(block); in CloneAnalyses()
65 auto clone_dom = GetClone(block->GetDominator()); in CloneAnalyses()
68 for (auto dom_blocks : block->GetDominatedBlocks()) { in CloneAnalyses()
77 auto &cloned_la = new_graph->GetAnalysis<LoopAnalyzer>(); in CloneAnalyses()
98 for (auto block : loop->GetBlocks()) { in CopyLoop()
105 for (auto back_edge : loop->GetBackEdges()) { in CopyLoop()
112 for (const auto &inner_loop : loop->GetInnerLoops()) { in CopyLoop()
113 auto cloned_header = GetClone(inner_loop->GetHeader()); in CopyLoop()
[all …]
/arkcompiler/toolchain/tooling/test/testcases/
Djs_watch_set_type_test.h37 [](auto recv, auto, auto) -> bool { in JsWatchSetTypeTest()
57 [this](auto recv, auto, auto) -> bool { in JsWatchSetTypeTest()
63 [this](auto recv, auto, auto) -> bool { in JsWatchSetTypeTest()
69 … [this](auto recv, auto, auto) -> bool { return RecvWatchObjectInfo(recv, "Uint8Array(24)"); }}, in JsWatchSetTypeTest()
73 [this](auto recv, auto, auto) -> bool { in JsWatchSetTypeTest()
79 … [this](auto recv, auto, auto) -> bool { return RecvWatchObjectInfo(recv, "Uint8Array(0)"); }}, in JsWatchSetTypeTest()
83 [this](auto recv, auto, auto) -> bool { in JsWatchSetTypeTest()
90 … [this](auto recv, auto, auto) -> bool { return RecvWatchObjectInfo(recv, "WeakRef {}"); }}, in JsWatchSetTypeTest()
95 … [this](auto recv, auto, auto) -> bool { return RecvWatchObjectInfo(recv, "Object"); }}, in JsWatchSetTypeTest()
100 [this](auto recv, auto, auto) -> bool { in JsWatchSetTypeTest()
[all …]

12345678910>>...127