Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 22 of 22) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_mcr_lowering.h27 NTypeMCRLowering(Circuit *circuit, PassContext *ctx, const CString &recordName, in NTypeMCRLowering() argument
31 builder_(circuit, ctx->GetCompilerConfig()), in NTypeMCRLowering()
33 tsManager_(ctx->GetTSManager()), in NTypeMCRLowering()
36 profiling_(ctx->GetCompilerConfig()->IsProfiling()), in NTypeMCRLowering()
37 traceBc_(ctx->GetCompilerConfig()->IsTraceBC()), in NTypeMCRLowering()
Dntype_hcr_lowering.h28 NTypeHCRLowering(Circuit *circuit, PassContext *ctx, TSManager *tsManager, in NTypeHCRLowering() argument
32 builder_(circuit, ctx->GetCompilerConfig()), in NTypeHCRLowering()
36 profiling_(ctx->GetCompilerConfig()->IsProfiling()), in NTypeHCRLowering()
37 traceBc_(ctx->GetCompilerConfig()->IsTraceBC()), in NTypeHCRLowering()
Dpass_manager.cpp78 PassContext ctx(triple_, log_, &collector, m->GetModule(), &profilerDecoder_); in Compile() local
79 auto jsPandaFile = ctx.GetJSPandaFile(); in Compile()
80 auto cmpCfg = ctx.GetCompilerConfig(); in Compile()
81 auto tsManager = ctx.GetTSManager(); in Compile()
98 Circuit circuit(vm_->GetNativeAreaAllocator(), ctx.GetAOTModule()->GetDebugInfo(), in Compile()
105ctx.GetByteCodes(), hasTypes, enableMethodLog && log_->OutputCIR(), in Compile()
113 PassData data(&builder, &circuit, &ctx, log_, fullName, &methodInfo, hasTypes, recordName, in Compile()
Dts_inline_lowering.h111 TSInlineLowering(Circuit *circuit, PassContext *ctx, bool enableLog, const std::string& name, in TSInlineLowering() argument
115 builder_(circuit, ctx->GetCompilerConfig()), in TSInlineLowering()
116 tsManager_(ctx->GetTSManager()), in TSInlineLowering()
117 ctx_(ctx), in TSInlineLowering()
121 enableTypeLowering_(ctx->GetEcmaVM()->GetJSOptions().IsEnableTypeLowering()), in TSInlineLowering()
122 traceInline_(ctx->GetEcmaVM()->GetJSOptions().GetTraceInline()), in TSInlineLowering()
123 maxInlineBytecodesCount_(ctx->GetEcmaVM()->GetJSOptions().GetMaxInlineBytecodes()), in TSInlineLowering()
125 noCheck_(ctx->GetEcmaVM()->GetJSOptions().IsCompilerNoCheck()), in TSInlineLowering()
Dts_hcr_lowering.h29 TSHCRLowering(Circuit *circuit, PassContext *ctx, in TSHCRLowering() argument
34 builder_(circuit, ctx->GetCompilerConfig()), in TSHCRLowering()
36 tsManager_(ctx->GetTSManager()), in TSHCRLowering()
39 profiling_(ctx->GetCompilerConfig()->IsProfiling()), in TSHCRLowering()
40 verifyVTable_(ctx->GetCompilerConfig()->IsVerifyVTbale()), in TSHCRLowering()
41 traceBc_(ctx->GetCompilerConfig()->IsTraceBC()), in TSHCRLowering()
46 noCheck_(ctx->GetEcmaVM()->GetJSOptions().IsCompilerNoCheck()), in TSHCRLowering()
47 thread_(ctx->GetEcmaVM()->GetJSThread()) {} in TSHCRLowering()
Dllvm_codegen.cpp529 …LLVMDisasmContextRef ctx = LLVMCreateDisasm(LLVMGetTarget(module), nullptr, 0, nullptr, SymbolLook… in GetCalleeReg2Offset() local
530 if (!ctx) { in GetCalleeReg2Offset()
548 …size_t instSize = LLVMDisasmInstruction(ctx, instrAddr, numBytes, instrOffset, outString, outStrin… in GetCalleeReg2Offset()
552 LLVMDisasmDispose(ctx); in GetCalleeReg2Offset()
556 DWARFContext *ctx, LLVMModule* module, const std::string &funcName) in GetCalleeReg2Offset() argument
562 DILineInfo info = ctx->getLineInfoForAddress(secAddr, spec); in GetCalleeReg2Offset()
Dpass.h51 PassData(BytecodeCircuitBuilder *builder, Circuit *circuit, PassContext *ctx, CompilerLog *log,
56 : builder_(builder), circuit_(circuit), ctx_(ctx), log_(log), methodName_(methodName), in builder_()
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dglobal_type_infer.cpp19 GlobalTypeInfer::GlobalTypeInfer(PassContext *ctx, const uint32_t methodOffset, const CString &reco… in GlobalTypeInfer() argument
21 …: ctx_(ctx), jsPandaFile_(ctx_->GetJSPandaFile()), bcInfo_(ctx->GetBytecodeInfo()), methodOffset_(… in GlobalTypeInfer()
Dglobal_type_infer.h24 GlobalTypeInfer(PassContext *ctx, const uint32_t methodOffset, const CString &recordName,
Dmethod_type_infer.h39 PassContext *ctx, size_t methodId, bool enableLog,
Dmethod_type_infer.cpp23 …thodTypeInfer(BytecodeCircuitBuilder *builder, Circuit *circuit, PassContext *ctx, size_t methodId, in MethodTypeInfer() argument
27 …r_(builder), circuit_(circuit), gateAccessor_(circuit), tsManager_(ctx->GetTSManager()), ctx_(ctx), in MethodTypeInfer()
28 …lexEnvManager_(ctx->GetLexEnvManager()), methodId_(methodId), enableLog_(enableLog), methodName_(n… in MethodTypeInfer()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.h565 explicit SavedStatusContext(ParserContext *ctx) in SavedStatusContext() argument
567 : ctx_(ctx), savedStatus_(static_cast<ParserStatus>(ctx->Status())) in SavedStatusContext()
570 ctx->Status() |= status; in SavedStatusContext()
588 explicit SwitchContext(ParserContext *ctx) : SavedStatusContext(ctx) {} in SwitchContext() argument
597 explicit IterationContext(ParserContext *ctx, binder::Binder *binder) in IterationContext() argument
598 : SavedStatusContext(ctx), lexicalScope_(binder) in IterationContext()
617 explicit FunctionParameterContext(ParserContext *ctx, binder::Binder *binder) in FunctionParameterContext() argument
618 : SavedStatusContext(ctx), lexicalScope_(binder) in FunctionParameterContext()
DexpressionParser.cpp867 lexer::TemplateLiteralParserContext ctx(lexer_); in ParseTemplateLiteral() local
868 lexer_->PushTemplateContext(&ctx); in ParseTemplateLiteral()
DparserImpl.cpp496 lexer::TemplateLiteralParserContext ctx(lexer_); in ParseTsTemplateLiteralType() local
497 lexer_->PushTemplateContext(&ctx); in ParseTsTemplateLiteralType()
/arkcompiler/ets_frontend/ts2panda/src/
Dindex.ts111 (ctx: ts.TransformationContext) => {
135 (ctx: ts.TransformationContext) => {
413 (ctx: ts.TransformationContext) => {
425 (ctx: ts.TransformationContext) => {
/arkcompiler/runtime_core/libpandabase/os/
Dstacktrace.cpp289 static _Unwind_Reason_Code FrameHandler(struct _Unwind_Context *ctx, [[maybe_unused]] void *arg) in FrameHandler() argument
292 uintptr_t pc = _Unwind_GetIP(ctx); in FrameHandler()
/arkcompiler/ets_frontend/ts2panda/tests/utils/
Dbase.ts202 (ctx: ts.TransformationContext) => {
/arkcompiler/ets_frontend/es2panda/lexer/
Dlexer.h93 void PushTemplateContext(TemplateLiteralParserContext *ctx);
Dlexer.cpp436 void Lexer::PushTemplateContext(TemplateLiteralParserContext *ctx) in PushTemplateContext() argument
438 tlCtx_ = ctx; in PushTemplateContext()
/arkcompiler/ets_frontend/test262/
DCI_tests.txt114 built-ins/Promise/all/ctx-ctor-throws.js
116 built-ins/Promise/all/ctx-non-object.js
134 built-ins/Promise/race/ctx-ctor-throws.js
135 built-ins/Promise/race/ctx-non-object.js
148 built-ins/Promise/reject/ctx-ctor-throws.js
149 built-ins/Promise/reject/ctx-non-object.js
157 built-ins/Promise/resolve/ctx-ctor-throws.js
Des2021_tests.txt185 built-ins/Promise/allSettled/ctx-ctor-throws.js
186 built-ins/Promise/allSettled/ctx-ctor.js
187 built-ins/Promise/allSettled/ctx-non-ctor.js
188 built-ins/Promise/allSettled/ctx-non-object.js
285 built-ins/Promise/any/ctx-ctor.js
286 built-ins/Promise/any/ctx-ctor-throws.js
287 built-ins/Promise/any/ctx-non-ctor.js
288 built-ins/Promise/any/ctx-non-object.js
/arkcompiler/ets_frontend/es2panda/test/
Dtest262skiplist.txt6310 built-ins/Promise/allSettled/ctx-ctor-throws.js
6311 built-ins/Promise/allSettled/ctx-ctor.js
6407 built-ins/Promise/any/ctx-ctor-throws.js
6408 built-ins/Promise/any/ctx-ctor.js
6409 built-ins/Promise/any/ctx-non-ctor.js