/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | pass_manager.cpp | 37 : compilationEnv_(collector->GetCompilationEnv()), in PassContext() 40 cmpCfg_(triple, &compilationEnv_->GetJSOptions()), in PassContext() 52 const JSPandaFile *jsPandaFile = compilationEnv_->GetJSPandaFile(); in Compile() 54 MethodLiteral *methodLiteral = compilationEnv_->GetMethodLiteral(); in Compile() 55 const uint8_t *pcStart = compilationEnv_->GetMethodPcStart(); in Compile() 57 ApEntityId abcId = compilationEnv_->GetMethodAbcId(); in Compile() 60 collector_ = new BytecodeInfoCollector(compilationEnv_, const_cast<JSPandaFile*>(jsPandaFile), in Compile() 87 if (compilationEnv_->GetJSOptions().GetTraceJIT()) { in Compile() 103 Chunk chunk(compilationEnv_->GetNativeAreaAllocator()); in Compile() 104 if (compilationEnv_ in Compile() [all...] |
H A D | pass_manager.h | 47 return compilationEnv_->GetPTManager(); in GetPTManager() 97 return compilationEnv_->GetNativeAreaAllocator(); in GetNativeAreaAllocator() 102 return compilationEnv_; in GetCompilationEnv() 111 CompilationEnv *compilationEnv_ {nullptr}; 128 : compilationEnv_(env), triple_(triple), optLevel_(optLevel), relocMode_(relocMode), log_(log), in PassManager() 132 enableJITLog_ = compilationEnv_->GetJSOptions().GetTraceJIT(); in PassManager() 145 CompilationEnv *compilationEnv_ {nullptr};
|
H A D | ntype_bytecode_lowering.h | 39 compilationEnv_(ctx->GetCompilationEnv()) {} in NTypeBytecodeLowering() 82 return compilationEnv_->FindConstpool(jsPandaFile_, cpId); in GetConstantpoolValue() 88 JSTaggedValue unsharedCp = compilationEnv_->FindOrCreateUnsharedConstpool(cp); in GetArrayLiteralValue() 89 return compilationEnv_->GetArrayLiteralFromCache(unsharedCp, cpIdx, recordName_); in GetArrayLiteralValue() 110 const CompilationEnv *compilationEnv_ {nullptr};
|
H A D | ntype_hcr_lowering.h | 31 compilationEnv_(ctx->GetCompilationEnv()), in NTypeHCRLowering() 71 return compilationEnv_->FindConstpool(jsPandaFile_, cpId); in GetConstantpoolValue() 77 JSTaggedValue unsharedCp = compilationEnv_->FindOrCreateUnsharedConstpool(cp); in GetArrayLiteralValue() 78 return compilationEnv_->GetArrayLiteralFromCache(unsharedCp, cpIdx, recordName_); in GetArrayLiteralValue() 83 CompilationEnv *compilationEnv_ {nullptr};
|
H A D | compilation_driver.cpp | 32 : compilationEnv_(collector->GetCompilationEnv()), in CompilationDriver() 90 PGOTypeManager *ptManager = compilationEnv_->GetPTManager(); in SetCurrentCompilationFile() 102 PGOTypeManager *ptManager = compilationEnv_->GetPTManager(); in StoreConstantPoolInfo() 109 bool enableCodeSign = !compilationEnv_->GetJSOptions().GetDisableCodeSign(); in RunCg()
|
H A D | ts_hcr_opt_pass.h | 35 compilationEnv_(ctx->GetCompilationEnv()), in TSHCROptPass() 68 return compilationEnv_->GetStringFromConstantPool(methodOffset, cpIdx, allowAlloc); in GetStringFromConstantPool() 82 const CompilationEnv *compilationEnv_ {nullptr};
|
H A D | typed_bytecode_lowering.cpp | 116 Jit::JitLockHolder lock(compilationEnv_, "TypedBytecodeLowering::Lower"); in Lower() 360 BinOpTypeInfoAccessor tacc(compilationEnv_, circuit_, gate); in LowerTypedBinOp() 374 UnOpTypeInfoAccessor tacc(compilationEnv_, circuit_, gate); in LowerTypedUnOp() 387 BinOpTypeInfoAccessor tacc(compilationEnv_, circuit_, gate); in LowerTypedEqOrNotEq() 406 if (!TypeInfoAccessor::IsTrustedStringType(compilationEnv_, circuit_, chunk_, acc_, left)) { in SpeculateStrings() 411 if (!TypeInfoAccessor::IsTrustedStringType(compilationEnv_, circuit_, chunk_, acc_, right)) { in SpeculateStrings() 475 if (TypeInfoAccessor::IsTrustedStringType(compilationEnv_, circuit_, chunk_, acc_, left)) { in SpeculateNumbersOrString() 480 } else if (TypeInfoAccessor::IsTrustedStringType(compilationEnv_, circuit_, chunk_, acc_, right)) { in SpeculateNumbersOrString() 491 UnOpTypeInfoAccessor tacc(compilationEnv_, circuit_, gate); in LowerTypeToNumeric() 506 ConditionJumpTypeInfoAccessor tacc(compilationEnv_, circuit in LowerConditionJump() [all...] |
H A D | ts_inline_lowering.cpp | 125 if (compilationEnv_->IsJitCompiler()) { in TryInline() 221 if (compilationEnv_->IsJitCompiler()) { in InlineCall() 222 profiler = compilationEnv_->GetPGOProfiler()->GetJITProfile(); in InlineCall() 351 PGOTypeManager *ptManager = compilationEnv_->GetPTManager(); in BuildAccessor() 352 int holderHCIndex = ptManager->GetHolderHIndexByPGOObjectInfoType(pgoType, compilationEnv_->IsAotCompiler()); in BuildAccessor() 547 PGOTypeManager *ptManager = compilationEnv_->GetPTManager(); in InlineAccessorCheck() 548 int receiverHCIndex = ptManager->GetReceiverHIndexByPGOObjectInfoType(pgoType, compilationEnv_->IsAotCompiler()); in InlineAccessorCheck() 663 InlineTypeInfoAccessor tacc(compilationEnv_, circuit_, gate, receiver, kind); in CandidateAccessor() 665 workList.emplace(compilationEnv_, circuit_, gate, receiver, kind); in CandidateAccessor() 675 InlineTypeInfoAccessor tacc(compilationEnv_, circuit in CandidateNormalCall() [all...] |
H A D | bytecode_info_collector.cpp | 36 : compilationEnv_(env), in BytecodeInfoCollector() 48 : compilationEnv_(env), in BytecodeInfoCollector() 83 compilationEnv_->FindOrCreateConstPool(jsPandaFile_, methodId); in ProcessClasses() 128 ProcessMethod(compilationEnv_->GetMethodLiteral()); in ProcessCurrMethod()
|
H A D | ntype_bytecode_lowering.cpp | 65 Jit::JitLockHolder lock(compilationEnv_, "LowerNTypedCreateArrayWithBuffer"); in Lower() 111 Jit::JitLockHolder lock(compilationEnv_, "LowerNTypedStOwnByName"); in Lower() 363 JSTaggedValue key = compilationEnv_->GetStringFromConstantPool(acc_.TryGetMethodOffset(gate), in LowerNTypedStOwnByName() 369 int entry = JSHClass::FindPropertyEntry(compilationEnv_->GetJSThread(), hclass, key); in LowerNTypedStOwnByName()
|
H A D | ts_inline_lowering.h | 50 compilationEnv_(ctx->GetCompilationEnv()), in TSInlineLowering() 146 CompilationEnv *compilationEnv_ {nullptr};
|
H A D | file_generators.cpp | 479 LMIRModule *irModule = new LMIRModule(compilationEnv_->GetNativeAreaAllocator(), name, logDebug, triple, isJit); in AddModule() 481 compilationEnv_->GetJSOptions().GetCompilerCodegenOptions()); in AddModule() 489 LLVMModule *m = new LLVMModule(compilationEnv_->GetNativeAreaAllocator(), name, logDebug, triple); in AddModule() 579 if (useLiteCG_ && compilationEnv_->IsJitCompiler()) { in CompileLatestModuleThenDestroy() 594 bool fastCompileMode = compilationEnv_->GetJSOptions().GetFastAOTCompileMode(); in CompileLatestModuleThenDestroy() 763 JitCompiler::AllocFromFortAndCopy(*compilationEnv_, machineCodeDesc) == false) { in GetMemoryCodeInfos() 788 Snapshot snapshot(compilationEnv_->GetEcmaVM()); in SaveSnapshotFile() 789 const CString snapshotPath(compilationEnv_->GetJSOptions().GetAOTOutputFile().c_str()); in SaveSnapshotFile() 791 PGOTypeManager *ptManager = compilationEnv_->GetPTManager(); in SaveSnapshotFile()
|
H A D | native_inline_lowering.cpp | 54 CallRangeTypeInfoAccessor tia(compilationEnv_, circuit_, gate); in GetCallInfo() 58 CallThisRangeTypeInfoAccessor tia(compilationEnv_, circuit_, gate); in GetCallInfo() 80 CallTypeInfoAccessor ctia(compilationEnv_, circuit_, gate); in RunNativeInlineLowering() 425 CallThis1TypeInfoAccessor tacc(compilationEnv_, circuit_, gate); in TryInlineStringFromCharCode() 478 CallThis1TypeInfoAccessor tacc(compilationEnv_, circuit_, gate); in TryInlineStringSubstring() 520 CallThis1TypeInfoAccessor tacc(compilationEnv_, circuit_, gate); in TryInlineStringSubStr() 562 CallThis1TypeInfoAccessor tacc(compilationEnv_, circuit_, gate); in TryInlineStringSlice() 601 CallThis1TypeInfoAccessor tacc(compilationEnv_, circuit_, gate); in TryInlineNumberIsFinite() 619 CallThis1TypeInfoAccessor tacc(compilationEnv_, circuit_, gate); in TryInlineNumberIsInteger() 641 CallThis1TypeInfoAccessor tacc(compilationEnv_, circuit in TryInlineNumberIsNaN() [all...] |
H A D | ntype_hcr_lowering.cpp | 26 Jit::JitLockHolder lock(compilationEnv_, "LowerCreateArray"); in VisitGate() 31 Jit::JitLockHolder lock(compilationEnv_, "LowerCreateArrayWithBuffer"); in VisitGate() 213 auto hclassIndex = compilationEnv_->GetArrayHClassIndexMap().at(kind).first; in NewJSArrayLiteral() 220 JSHandle<JSFunction> arrayFunc(compilationEnv_->GetGlobalEnv()->GetArrayFunction()); in NewJSArrayLiteral()
|
H A D | bytecode_info_collector.h | 351 return compilationEnv_; in GetCompilationEnv() 390 CompilationEnv *compilationEnv_ {nullptr};
|
H A D | file_generators.h | 185 : FileGenerator(log, logList), compilationEnv_(env), cfg_(triple), useLiteCG_(useLiteCG) {} in AOTFileGenerator() 229 CompilationEnv *compilationEnv_ {nullptr};
|
H A D | native_inline_lowering.h | 41 compilationEnv_(ctx->GetCompilationEnv()), in NativeInlineLowering() 145 const CompilationEnv *compilationEnv_ {nullptr};
|
H A D | typed_bytecode_lowering.h | 61 compilationEnv_(ctx->GetCompilationEnv()), in TypedBytecodeLowering() 271 const CompilationEnv *compilationEnv_ {nullptr};
|
H A D | typed_native_inline_lowering.h | 37 compilationEnv_(ctx->GetCompilationEnv()), in TypedNativeInlineLowering() 210 const CompilationEnv *compilationEnv_ {nullptr};
|
H A D | type_info_accessors.cpp | 497 prop = compilationEnv_->GetStringFromConstantPool(methodOffset, propIndex); in InitPropAndCheck() 523 PGOTypeManager *ptManager = compilationEnv_->GetPTManager(); in GetAccessorPlr() 534 PropertyLookupResult plr = JSHClass::LookupPropertyInPGOHClass(compilationEnv_->GetJSThread(), in GetAccessorPlr() 564 PropertyLookupResult plr = JSHClass::LookupPropertyInPGOHClass(compilationEnv_->GetJSThread(), hclass, prop); in GetAccessorPlrInJIT() 588 return compilationEnv_->GetStringFromConstantPool(methodOffset, index); in GetKeyTaggedValue() 601 PropertyLookupResult plr = JSHClass::LookupPropertyInPGOHClass(compilationEnv_->GetJSThread(), in GeneratePlr() 614 PropertyLookupResult plr = JSHClass::LookupPropertyInPGOHClass(compilationEnv_->GetJSThread(), hclass, key); in GeneratePlrInJIT() 1108 JSHandle<GlobalEnv> globalEnv = compilationEnv_->GetGlobalEnv(); in GetKeyTaggedValue() 1375 JSTaggedValue unsharedCp = compilationEnv_->FindOrCreateUnsharedConstpool(methodOffset); in GetObject() 1379 return compilationEnv_ in GetObject() [all...] |
H A D | compilation_driver.h | 119 CompilationEnv *compilationEnv_ {nullptr};
|
H A D | ts_hcr_opt_pass.cpp | 61 Jit::JitLockHolder lock(compilationEnv_, "VisitStringEqual"); in VisitStringBinOp()
|
H A D | slowpath_lowering.h | 117 : compilationEnv_(ctx->GetCompilationEnv()), methodLiteral_(methodLiteral), in SlowPathLowering() 350 CompilationEnv *compilationEnv_; member in panda::ecmascript::kungfu::SlowPathLowering
|
H A D | typed_hcr_lowering.h | 111 compilationEnv_(env), in TypedHCRLowering() 276 CompilationEnv *compilationEnv_ {nullptr};
|
/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit_profiler.h | 75 compilationEnv_ = env; in SetCompilationEnv() 175 CompilationEnv *compilationEnv_ {nullptr};
|