| /arkcompiler/runtime_core/libabckit/tests/helpers/ |
| D | helpers_nullptr.h | 27 void TestNullptr(void (*apiToCheck)(AbckitFile *)); 28 void TestNullptr(void (*apiToCheck)(AbckitGraph *)); 29 void TestNullptr(AbckitFile *(*apiToCheck)(const char *, size_t)); 30 void TestNullptr(void (*apiToCheck)(AbckitFile *, const char *, size_t)); 31 void TestNullptr(AbckitCoreAnnotationElement *(*apiToCheck)(AbckitArktsAnnotationElement *)); 32 void TestNullptr(AbckitCoreAnnotationInterfaceField *(*apiToCheck)(AbckitArktsAnnotationInterfaceFi… 33 void TestNullptr(AbckitCoreAnnotationInterface *(*apiToCheck)(AbckitArktsAnnotationInterface *)); 34 void TestNullptr(AbckitCoreAnnotation *(*apiToCheck)(AbckitArktsAnnotation *)); 35 void TestNullptr(AbckitCoreClass *(*apiToCheck)(AbckitArktsClass *)); 36 void TestNullptr(AbckitCoreExportDescriptor *(*apiToCheck)(AbckitArktsExportDescriptor *)); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/ |
| D | common_call.h | 64 …static void PushUndefinedWithArgc(ExtendedAssembler *assembler, Register glue, Register argc, Regi… 66 …static void PushArgsWithArgv(ExtendedAssembler *assembler, Register glue, Register argc, Register … 68 …static void PushArgsWithArgvInPair(ExtendedAssembler *assembler, Register argc, Register argv, Reg… 70 static void PushAsmInterpBridgeFrame(ExtendedAssembler *assembler); 71 static void PopAsmInterpBridgeFrame(ExtendedAssembler *assembler); 72 …static void StackOverflowCheck(ExtendedAssembler *assembler, Register glue, Register currentSlot, … 74 static void PushLeaveFrame(ExtendedAssembler *assembler, Register glue); 75 static void PopLeaveFrame(ExtendedAssembler *assembler); 76 static void PushAsmBridgeFrame(ExtendedAssembler *assembler); 77 static void PopAsmBridgeFrame(ExtendedAssembler *assembler); [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
| D | encode_visitor.h | 68 static void SortSpillFillData(ArenaVector<SpillFillData> *spillFills); 75 static void VisitMov(GraphVisitor *visitor, Inst *inst); 76 static void VisitNeg(GraphVisitor *visitor, Inst *inst); 77 static void VisitAbs(GraphVisitor *visitor, Inst *inst); 78 static void VisitNot(GraphVisitor *visitor, Inst *inst); 79 static void VisitSqrt(GraphVisitor *visitor, Inst *inst); 82 static void VisitAdd(GraphVisitor *visitor, Inst *inst); 83 static void VisitSub(GraphVisitor *visitor, Inst *inst); 84 static void VisitMul(GraphVisitor *visitor, Inst *inst); 85 static void VisitShl(GraphVisitor *visitor, Inst *inst); [all …]
|
| D | encode.h | 90 virtual void CreateLabels(LabelId size) = 0; 103 virtual void BindLabel(LabelId) = 0; 126 void SetIsJsNumberCast(bool v); 130 virtual void *BufferData() const; 135 virtual void SetMaxAllocatedBytes([[maybe_unused]] size_t size) {}; in SetMaxAllocatedBytes() 141 virtual void Encode##opc(Reg, Reg) \ 149 virtual void Encode##opc(Reg, Reg, Reg) \ 153 virtual void Encode##opc(Reg, Reg, Imm) \ 161 virtual void Encode##opc(Reg, Reg, Shift) \ 177 virtual void EncodeNop(); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/assembler/ |
| D | assembler.h | 64 virtual void CloseOutput() in CloseOutput() 72 void Emit(int64 val) in Emit() 77 void Emit(const std::string &str) in Emit() 82 void Emit(const void *data, uint64 sizeInByte) in Emit() 87 void StoreNameIntoSymMap(int64 symIdx, const std::string &name, bool isLocal = false) 90 (void)localSymMap.emplace(symIdx, name); 92 (void)globalSymMap.emplace(symIdx, name); 105 void ClearLocalSymMap() in ClearLocalSymMap() 110 virtual void InitialFileInfo(const std::string &inputFileName) = 0; 111 … virtual void EmitVariable(int64 symIdx, uint64 sizeInByte, uint8 alignInByte, SymbolAttr symAttr, [all …]
|
| D | asm_assembler.h | 48 void CloseOutput() override in CloseOutput() 58 void InitialFileInfo(const std::string &inputFileName) override; 59 void EmitFunctionHeader(int64 symIdx, SymbolAttr funcAttr, const std::string *secName) override; 60 …void EmitBBLabel(int64 labelSymIdx, bool genVerboseInfo, uint32 freq, const std::string *mirName) … 61 void EmitJmpTableElem(int64 jmpLabelIdx, const std::vector<int64> &labelIdxs) override; 62 void EmitFunctionFoot(int64 symIdx, SymbolAttr funcAttr) override; 64 void EmitVariable(int64 symIdx, uint64 sizeInByte, uint8 alignInByte, SymbolAttr symAttr, 66 …void EmitDirectString(const std::string &ustr, bool belongsToDataSec, int64 strSymIdx, bool emitAs… 67 void EmitIndirectString(int64 strSymIdx, bool belongsToDataSec) override; 68 void EmitIntValue(int64 value, size_t valueSize, bool belongsToDataSec) override; [all …]
|
| D | elf_assembler.h | 43 void InitialFileInfo(const std::string &inputFileName) override; 44 void EmitVariable(int64 symIdx, uint64 sizeInByte, uint8 alignInByte, SymbolAttr symAttr, 46 void EmitFunctionHeader(int64 symIdx, SymbolAttr funcAttr, const std::string *secName) override; 47 …void EmitBBLabel(int64 labelSymIdx, bool genVerboseInfo, uint32 freq, const std::string *mirName) … 48 void EmitJmpTableElem(int64 jmpLabelIdx, const std::vector<int64> &labelSymIdxs) override; 49 void EmitFunctionFoot(int64 symIdx, SymbolAttr funcAttr) override; 50 …void EmitDirectString(const std::string &ustr, bool belongsToDataSec, int64 strSymIdx, bool emitAs… 51 void EmitIndirectString(int64 strSymIdx, bool belongsToDataSec) override; 52 void EmitIntValue(int64 value, size_t valueSize, bool belongsToDataSec) override; 53 void EmitFloatValue(int64 symIdx, int64 value, size_t valueSize) override; [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | slowpath_lowering.h | 127 void CallRuntimeLowering(); 155 …void ReplaceHirWithPendingException(GateRef hirGate, GateRef state, GateRef depend, GateRef value); 156 void ReplaceHirWithValue(GateRef hirGate, GateRef value, bool noThrow = false); 157 void ReplaceHirToThrowCall(GateRef hirGate, GateRef callGate); 158 void LowerExceptionHandler(GateRef hirGate); 159 void Lower(GateRef gate); 160 void LowerAdd2(GateRef gate); 161 void LowerCreateIterResultObj(GateRef gate); 162 void SaveFrameToContext(GateRef gate); 163 void LowerSuspendGenerator(GateRef gate); [all …]
|
| D | typed_native_inline_lowering.h | 47 …void ReplaceGateWithPendingException(GateRef gate, GateRef glue, GateRef state, GateRef depend, Ga… 48 void LowerGeneralUnaryMath(GateRef gate, RuntimeStubCSigns::ID stubId); 49 void LowerMathAtan2(GateRef gate); 50 void LowerTrunc(GateRef gate); 52 void LowerMathCeilFloor(GateRef gate); 54 void LowerMathCeilFloorWithIntrinsic(GateRef gate); 56 void LowerMathCeilFloorWithRuntimeCall(GateRef gate); 57 void LowerMathPow(GateRef gate); 58 void LowerMathExp(GateRef gate); 59 void LowerMathSignInt(GateRef gate); [all …]
|
| D | mcr_lowering.h | 39 void DeleteStateSplit(GateRef gate); 40 void LowerArrayGuardianCheck(GateRef gate); 41 void LowerHeapObjectCheck(GateRef gate); 42 void LowerTaggedIsHeapObject(GateRef gate); 43 void LowerIsMarkerCellValid(GateRef gate); 44 void LowerIsSpecificObjectType(GateRef gate); 45 void LowerHClassStableArrayCheck(GateRef gate); 46 void LowerMathHClassConsistencyCheck(GateRef gate); 47 void LowerGetConstPool(GateRef gate); 48 void LowerGetUnsharedConstpool(GateRef gate); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/ |
| D | common_call.h | 40 static void CopyArgumentWithArgV(ExtendedAssembler *assembler, Register argc, Register argV); 41 static void PushAsmInterpBridgeFrame(ExtendedAssembler *assembler); 42 static void PopAsmInterpBridgeFrame(ExtendedAssembler *assembler); 43 static void PushUndefinedWithArgc(ExtendedAssembler *assembler, Register argc); 44 static void GetArgvAtStack(ExtendedAssembler *assembler); 45 …static void PushArgsWithArgvAndCheckStack(ExtendedAssembler *assembler, Register glue, Register ar… 47 …static void StackOverflowCheck(ExtendedAssembler *assembler, Register glue, Register numArgs, Regi… 49 static void PushAsmBridgeFrame(ExtendedAssembler *assembler); 50 static void PopAsmBridgeFrame(ExtendedAssembler *assembler); 55 static void CallRuntime(ExtendedAssembler *assembler); [all …]
|
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | pandagen.h | 61 void OptionalChainCheck(bool optional, VReg obj) const; 66 void FunctionInit(CatchTable *catchTable); 67 void FunctionEnter(); 68 void FunctionExit(); 70 void StoreAccumulator(const ir::AstNode *node, VReg vreg); 71 void LoadAccumulator(const ir::AstNode *node, VReg reg); 75 void MoveVreg(const ir::AstNode *node, VReg vd, VReg vs); 77 void LoadAccumulatorDouble(const ir::AstNode *node, double num); 78 void LoadAccumulatorInt(const ir::AstNode *node, size_t num); 80 void LoadConst(const ir::AstNode *node, Constant id); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/assembler/x64/ |
| D | assembler_x64.h | 68 void BuildSIB(Scale scale, Register index, Register base); 69 void BuildModerm(int32_t mode, Register rm); 70 void BuildDisp8(int32_t disp); 71 void BuildDisp32(int32_t disp); 89 void Pushq(Register x); 90 void Pushq(Immediate x); 91 void Push(Register x); 92 void Popq(Register x); 93 void Pop(Register x); 94 void Movq(Register src, Register dst); [all …]
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | pandagen.h | 145 void SetInsns(ArenaList<IRNode *> &newInsns) in SetInsns() 203 void SetSourceLocationFlag(lexer::SourceLocationFlag flag) in SetSourceLocationFlag() 208 void AdjustSpillInsns() in AdjustSpillInsns() 237 void SetFunctionKind(); 238 void SetInSendable(); 256 void FunctionInit(CatchTable* catchTable); 257 void FunctionEnter(); 258 void FunctionExit(); 264 void InitializeLexEnv(const ir::AstNode *node); 265 void CopyFunctionArguments(const ir::AstNode *node); [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/ |
| D | inspector_server.h | 48 using FrameInfoHandler = std::function<void(FrameId, std::string_view, std::string_view, size_t, 59 void Kill(); 60 void Run(); 62 void OnValidate(std::function<void()> &&handler); 63 void OnOpen(std::function<void()> &&handler); 64 void OnFail(std::function<void()> &&handler); 66 void CallDebuggerPaused(PtThread thread, const std::vector<BreakpointId> &hitBreakpoints, 68 const std::function<void(const FrameInfoHandler &)> &enumerateFrames); 69 void CallDebuggerResumed(PtThread thread); 70 void CallDebuggerScriptParsed(PtThread thread, ScriptId scriptId, std::string_view sourceFile); [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/ |
| D | target.h | 126 void SetCalleeSaved(const ArenaVector<Reg> ®s) override; 128 void SetUsedRegs(const ArenaVector<Reg> ®s) override; 180 void CreateLabels(LabelId size) override; 181 void BindLabel(LabelId id) override; 201 void LoadPcRelative(Reg reg, intptr_t offset, Reg regAddr = INVALID_REGISTER); 202 void SetMaxAllocatedBytes(size_t size) override; 210 #define UNARY_OPERATION(opc) void Encode##opc(Reg dst, Reg src0) override; /* CC-OFF(G.PRE.09) code… 213 void Encode##opc(Reg dst, Reg src0, Reg src1) override; \ 214 void Encode##opc(Reg dst, Reg src0, Imm src1) override; /* CC-OFF(G.PRE.09) code generation */ 224 void EncodeNop() override; [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | exceptions.h | 26 void ThrowException(const LanguageContext &ctx, ManagedThread *thread, const uint8_t *mutf8Name, 29 PANDA_PUBLIC_API void ThrowNullPointerException(); 34 PANDA_PUBLIC_API void ThrowNullPointerException(const LanguageContext &ctx, ManagedThread *thread); 36 void ThrowStackOverflowException(ManagedThread *thread); 38 void ThrowArrayIndexOutOfBoundsException(coretypes::ArraySsizeT idx, coretypes::ArraySizeT length); 39 void ThrowArrayIndexOutOfBoundsException(coretypes::ArraySsizeT idx, coretypes::ArraySizeT length, 42 void ThrowIndexOutOfBoundsException(coretypes::ArraySsizeT idx, coretypes::ArraySsizeT length); 44 void ThrowIllegalStateException(const PandaString &msg); 46 void ThrowStringIndexOutOfBoundsException(coretypes::ArraySsizeT idx, coretypes::ArraySizeT length); 48 void ThrowNegativeArraySizeException(coretypes::ArraySsizeT size); [all …]
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/ |
| D | scopesInitPhase.h | 52 void SetProgram(parser::Program *program) noexcept; 54 void Prepare(PhaseContext *ctx, parser::Program *program); 59 void Finalize(); 66 void AnalyzeExports(); 70 void CallNode(T *node) in CallNode() 78 void CallNode(const ArenaVector<T *> &nodes) in CallNode() 85 void CallFuncParams(const ArenaVector<ir::Expression *> ¶ms); 86 void IterateNoTParams(ir::ClassDefinition *classDef); 89 void LogSyntaxError(std::string_view errorMessage, const lexer::SourcePosition &pos) const; 91 void VisitFunctionExpression(ir::FunctionExpression *funcExpr) override; [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/keep_parameter/export+top+keepPara/01_function_class/ |
| D | 01_function_class_expected.txt | 17 static method1(keptPara1: number, ...keptPara2: string[]): void; 18 … method2(keptPara1: number, keptPara2: (defaultKeptPara3: number) => string, para4?: number): void; 19 method3(keptPara5?: number, ...keptPara6: number[]): void; 21 field1?: (defaultKeptPara1: number) => void; 26 }): void; 32 field5?: (defaultKeptPara1: number) => void; 34 manualKeepMethod1(keptPara1: (defaultKeptPara2: number) => number, keptPara3: number): void; 37 method6(defaultKeptPara1: number, ...defaultKeptPara2: string[]): void; 38 constructor(defaultKeptPara1: number): void; 39 field3: (defaultKeptPara1: number, ...defaultKeptPara2: number[]) => void; [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/keep_parameter/strProp/01_function_class/ |
| D | 01_function_class_expected.txt | 17 static method1(x2: number, ...y2: string[]): void; 18 method2(u2: number, v2: (defaultKeptPara3: number) => string, w2?: number): void; 19 method3(s2?: number, ...t2: number[]): void; 21 field1?: (defaultKeptPara1: number) => void; 26 }): void; 32 field5?: (defaultKeptPara1: number) => void; 34 manualKeepMethod1(c2: (defaultKeptPara2: number) => number, d2: number): void; 37 method6(defaultKeptPara1: number, ...defaultKeptPara2: string[]): void; 38 constructor(defaultKeptPara1: number): void; 39 field3: (defaultKeptPara1: number, ...defaultKeptPara2: number[]) => void; [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/keep_parameter/prop+strProp+top+keepPara/01_function_class/ |
| D | 01_function_class_expected.txt | 17 static method1(keptPara1: number, ...keptPara2: string[]): void; 18 … method2(keptPara1: number, keptPara2: (defaultKeptPara3: number) => string, para4?: number): void; 19 method3(keptPara5?: number, ...keptPara6: number[]): void; 21 field1?: (defaultKeptPara1: number) => void; 26 }): void; 32 field5?: (defaultKeptPara1: number) => void; 34 manualKeepMethod1(keptPara1: (defaultKeptPara2: number) => number, keptPara3: number): void; 37 method6(defaultKeptPara1: number, ...defaultKeptPara2: string[]): void; 38 constructor(defaultKeptPara1: number): void; 39 field3: (defaultKeptPara1: number, ...defaultKeptPara2: number[]) => void; [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/keep_parameter/prop+strProp+top/01_function_class/ |
| D | 01_function_class_expected.txt | 17 static method1(x2: number, ...y2: string[]): void; 18 method2(u2: number, v2: (defaultKeptPara3: number) => string, w2?: number): void; 19 method3(s2?: number, ...t2: number[]): void; 21 field1?: (defaultKeptPara1: number) => void; 26 }): void; 32 field5?: (defaultKeptPara1: number) => void; 34 manualKeepMethod1(c2: (defaultKeptPara2: number) => number, d2: number): void; 37 method6(defaultKeptPara1: number, ...defaultKeptPara2: string[]): void; 38 constructor(defaultKeptPara1: number): void; 39 field3: (defaultKeptPara1: number, ...defaultKeptPara2: number[]) => void; [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/keep_parameter/keepPara/01_function_class/ |
| D | 01_function_class_expected.txt | 17 static method1(keptPara1: number, ...keptPara2: string[]): void; 18 … method2(keptPara1: number, keptPara2: (defaultKeptPara3: number) => string, para4?: number): void; 19 method3(keptPara5?: number, ...keptPara6: number[]): void; 21 field1?: (defaultKeptPara1: number) => void; 26 }): void; 32 field5?: (defaultKeptPara1: number) => void; 34 manualKeepMethod1(keptPara1: (defaultKeptPara2: number) => number, keptPara3: number): void; 37 method6(defaultKeptPara1: number, ...defaultKeptPara2: string[]): void; 38 constructor(defaultKeptPara1: number): void; 39 field3: (defaultKeptPara1: number, ...defaultKeptPara2: number[]) => void; [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/keep_parameter/export+prop+top/01_function_class/ |
| D | 01_function_class_expected.txt | 17 static z3(w3: number, ...x3: string[]): void; 18 a4(t3: number, u3: (defaultKeptPara3: number) => string, v3?: number): void; 19 b4(r3?: number, ...s3: number[]): void; 21 c4?: (defaultKeptPara1: number) => void; 26 }): void; 32 i4?: (defaultKeptPara1: number) => void; 34 manualKeepMethod1(b3: (defaultKeptPara2: number) => number, c3: number): void; 37 l4(defaultKeptPara1: number, ...defaultKeptPara2: string[]): void; 38 constructor(defaultKeptPara1: number): void; 39 m4: (defaultKeptPara1: number, ...defaultKeptPara2: number[]) => void; [all …]
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/keep_parameter/export+strProp+top/01_function_class/ |
| D | 01_function_class_expected.txt | 17 static method1(p3: number, ...q3: string[]): void; 18 method2(m3: number, n3: (defaultKeptPara3: number) => string, o3?: number): void; 19 method3(k3?: number, ...l3: number[]): void; 21 field1?: (defaultKeptPara1: number) => void; 26 }): void; 32 field5?: (defaultKeptPara1: number) => void; 34 manualKeepMethod1(u2: (defaultKeptPara2: number) => number, v2: number): void; 37 method6(defaultKeptPara1: number, ...defaultKeptPara2: string[]): void; 38 constructor(defaultKeptPara1: number): void; 39 field3: (defaultKeptPara1: number, ...defaultKeptPara2: number[]) => void; [all …]
|