| /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/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/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); 80 static void CallRuntime(ExtendedAssembler *assembler); 82 static void DeoptPushAsmInterpBridgeFrame(ExtendedAssembler *assembler, Register context); [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 | 128 void CallRuntimeLowering(); 156 …void ReplaceHirWithPendingException(GateRef hirGate, GateRef state, GateRef depend, GateRef value); 157 void ReplaceHirWithValue(GateRef hirGate, GateRef value); 158 void ReplaceHirToThrowCall(GateRef hirGate, GateRef callGate); 159 void LowerExceptionHandler(GateRef hirGate); 160 void Lower(GateRef gate); 161 void LowerAdd2(GateRef gate); 162 void LowerCreateIterResultObj(GateRef gate); 163 void SaveFrameToContext(GateRef gate); 164 void LowerSuspendGenerator(GateRef gate); [all …]
|
| D | typed_native_inline_lowering.h | 48 …void ReplaceGateWithPendingException(GateRef gate, GateRef glue, GateRef state, GateRef depend, Ga… 49 void LowerGeneralUnaryMath(GateRef gate, RuntimeStubCSigns::ID stubId); 50 void LowerMathAtan2(GateRef gate); 51 void LowerTrunc(GateRef gate); 53 void LowerMathCeilFloor(GateRef gate); 55 void LowerMathCeilFloorWithIntrinsic(GateRef gate); 57 void LowerMathCeilFloorWithRuntimeCall(GateRef gate); 58 void LowerMathPow(GateRef gate); 59 void LowerMathExp(GateRef gate); 60 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 …]
|
| D | typed_hcr_lowering.h | 126 void Lower(GateRef gate); 127 void LowerType(GateRef gate); 128 void LowerPrimitiveTypeCheck(GateRef gate); 129 void LowerTypeConvert(GateRef gate); 130 void LowerPrimitiveToNumber(GateRef dst, GateRef src, ParamType srcType); 131 void LowerIntCheck(GateRef gate); 132 void LowerDoubleCheck(GateRef gate); 133 void LowerNumberCheck(GateRef gate); 134 void LowerBooleanCheck(GateRef gate); 135 void LowerIndexCheck(GateRef gate); [all …]
|
| D | number_speculative_lowering.h | 33 void Run(); 36 void VisitGate(GateRef gate); 37 void VisitTypedBinaryOp(GateRef gate); 38 void VisitNumberBinaryOp(GateRef gate); 39 void VisitStringBinaryOp(GateRef gate); 40 void VisitInternStringBinaryOp(GateRef gate); 41 void VisitTypedUnaryOp(GateRef gate); 42 void VisitNumberNot(GateRef gate); 43 void VisitTypedConditionJump(GateRef gate); 44 void VisitConstant(GateRef gate); [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | limit_void_type.ets | 18 function func1(): void { } 19 let a: void = func1(); 21 const func2 = (): void => { }; 22 let b: void = func2(); 25 method(): void { } 27 let c: void = new Demo().method(); 29 let d: void = (function (): void { })(); 31 async function asyncFunc(): Promise<void> { } 32 let e: void = await asyncFunc(); 34 function wrapper(fn: () => void) { [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… 53 static void CallRuntime(ExtendedAssembler *assembler); 55 static void DeoptPushAsmInterpBridgeFrame(ExtendedAssembler *assembler, Register context); 57 static void JSFunctionEntry(ExtendedAssembler *assembler); [all …]
|
| /arkcompiler/toolchain/tooling/static/ |
| D | inspector_server.h | 51 using FrameInfoHandler = std::function<void(FrameId, std::string_view, std::string_view, size_t, 61 void Kill(); 62 void Run(const std::string& msg); 64 void OnValidate(std::function<void()> &&handler); 65 void OnOpen(std::function<void()> &&handler); 66 void OnFail(std::function<void()> &&handler); 68 void CallDebuggerPaused(PtThread thread, const std::vector<BreakpointId> &hitBreakpoints, 70 const std::function<void(const FrameInfoHandler &)> &enumerateFrames); 71 void CallDebuggerResumed(PtThread thread); 72 void CallDebuggerScriptParsed(ScriptId scriptId, std::string_view sourceFile); [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/ |
| D | inspector_server.h | 51 using FrameInfoHandler = std::function<void(FrameId, std::string_view, std::string_view, size_t, 61 void Kill(); 62 void Run(); 64 void OnValidate(std::function<void()> &&handler); 65 void OnOpen(std::function<void()> &&handler); 66 void OnFail(std::function<void()> &&handler); 68 void CallDebuggerPaused(PtThread thread, const std::vector<BreakpointId> &hitBreakpoints, 70 const std::function<void(const FrameInfoHandler &)> &enumerateFrames); 71 void CallDebuggerResumed(PtThread thread); 72 void CallDebuggerScriptParsed(ScriptId scriptId, std::string_view sourceFile); [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_runtime/common_components/tests/ |
| D | test_hooks.cpp | 19 void SetBaseAddress(uintptr_t base) {} in SetBaseAddress() 20 void JitFortUnProt(size_t size, void* base) {} in JitFortUnProt() 21 void FillFreeObject(void *object, size_t size) {} in FillFreeObject() 22 void VisitDynamicGlobalRoots(const RefFieldVisitor &visitorFunc) {} in VisitDynamicGlobalRoots() 23 void VisitDynamicLocalRoots(const RefFieldVisitor &visitor) {} in VisitDynamicLocalRoots() 24 void VisitBaseRoots(const RefFieldVisitor &visitorFunc) {} in VisitBaseRoots() 25 void VisitDynamicConcurrentRoots(const RefFieldVisitor &visitorFunc) {} in VisitDynamicConcurrentRoots() 26 void VisitDynamicWeakGlobalRoots(const common::WeakRefFieldVisitor &visitorFunc) {} in VisitDynamicWeakGlobalRoots() 27 void VisitDynamicWeakGlobalRootsOld(const common::WeakRefFieldVisitor &visitorFunc) {} in VisitDynamicWeakGlobalRootsOld() 28 void VisitDynamicWeakLocalRoots(const WeakRefFieldVisitor &visitorFunc) {} in VisitDynamicWeakLocalRoots() [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(); 257 void FunctionInit(CatchTable* catchTable); 258 void FunctionEnter(); 259 void FunctionExit(); 265 void InitializeLexEnv(const ir::AstNode *node); 266 void CopyFunctionArguments(const ir::AstNode *node); [all …]
|
| /arkcompiler/runtime_core/taihe/test/ani_namespace/idl/ |
| D | inner.taihe | 40 function Primitives_noreturn(a: i32, b: f64, c: bool, d: String, e: i8): void; 43 …ners_noreturn(a: Array<i8>, b: Array<i16>, c: Array<f32>, d: Array<f64>, e: union_primitive): void; 46 function Enum_noreturn(a: Color, b : Color, c : Color, d : Color, e : Color): void; 50 Noparam_noreturn(): void; 52 Primitives_noreturn(a: i8): void; 53 Primitives_noreturn1(a: i16): void; 54 Primitives_noreturn2(a: i32): void; 55 Primitives_noreturn3(a: f32): void; 56 Primitives_noreturn4(a: f64): void; 57 Primitives_noreturn5(a: bool): void; [all …]
|
| /arkcompiler/ets_runtime/common_components/common_runtime/ |
| D | hooks.h | 28 PUBLIC_API void VisitBaseRoots(const RefFieldVisitor &visitor); 30 PUBLIC_API void VisitDynamicGlobalRoots(const RefFieldVisitor &visitor); 31 PUBLIC_API void VisitDynamicWeakGlobalRoots(const WeakRefFieldVisitor &visitorFunc); 32 PUBLIC_API void VisitDynamicWeakGlobalRootsOld(const WeakRefFieldVisitor &visitorFunc); 33 PUBLIC_API void VisitDynamicLocalRoots(const RefFieldVisitor &visitor); 34 PUBLIC_API void VisitDynamicWeakLocalRoots(const WeakRefFieldVisitor &visitorFunc); 35 PUBLIC_API void VisitDynamicPreforwardRoots(const RefFieldVisitor &visitorFunc); 37 PUBLIC_API void VisitDynamicConcurrentRoots(const RefFieldVisitor &visitorFunc); 39 PUBLIC_API void InvokeSharedNativePointerCallbacks(); 42 PUBLIC_API void VisitDynamicThreadRoot(const RefFieldVisitor &visitorFunc, void *vm); [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/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/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 LogDiagnostic(const diagnostic::DiagnosticKind &kind, const util::DiagnosticMessageParams &pa… 92 … void LogDiagnostic(const diagnostic::DiagnosticKind &kind, const lexer::SourcePosition &pos) const in LogDiagnostic() [all …]
|