| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_tagged_value.h | 110 ARK_INLINE constexpr explicit JSTaggedValue(bool v) in JSTaggedValue() 163 ARK_INLINE bool IsWeak() const in IsWeak() 168 ARK_INLINE bool IsDouble() const in IsDouble() 173 ARK_INLINE bool IsInt() const in IsInt() 178 ARK_INLINE bool IsSpecial() const in IsSpecial() 183 ARK_INLINE bool IsObject() const in IsObject() 193 ARK_INLINE bool IsHeapObject() const in IsHeapObject() 198 ARK_INLINE bool IsInvalidValue() const in IsInvalidValue() 245 ARK_INLINE bool IsFalse() const in IsFalse() 250 ARK_INLINE bool IsTrue() const in IsTrue() [all …]
|
| D | js_runtime_options.h | 72 bool enableAsm {false}; 229 bool ParseCommand(const int argc, const char** argv); 230 bool SetDefaultValue(char* argv); 232 bool EnableArkTools() const in EnableArkTools() 237 void SetEnableArkTools(bool value) in SetEnableArkTools() 242 bool WasSetEnableArkTools() const in WasSetEnableArkTools() 247 bool IsOpenArkTools() const in IsOpenArkTools() 252 void SetOpenArkTools(bool value) in SetOpenArkTools() 257 bool WasSetOpenArkTools() const in WasSetOpenArkTools() 262 bool IsEnableRuntimeStat() const in IsEnableRuntimeStat() [all …]
|
| D | js_tagged_value-inl.h | 39 inline bool JSTaggedValue::IsCallable() const in IsCallable() 44 inline bool JSTaggedValue::IsConstructor() const in IsConstructor() 49 inline bool JSTaggedValue::IsExtensible(JSThread *thread) const in IsExtensible() 62 inline bool JSTaggedValue::IsExactlyZero() const in IsExactlyZero() 67 inline bool JSTaggedValue::IsClassConstructor() const in IsClassConstructor() 72 inline bool JSTaggedValue::IsClassPrototype() const in IsClassPrototype() 77 inline bool JSTaggedValue::IsPropertyKey(const JSHandle<JSTaggedValue> &key) in IsPropertyKey() 82 inline bool JSTaggedValue::SameValue(const JSTaggedValue &x, const JSTaggedValue &y) in SameValue() 104 inline bool JSTaggedValue::SameValue(const JSHandle<JSTaggedValue> &xHandle, const JSHandle<JSTagge… in SameValue() 109 inline bool JSTaggedValue::SameValueZero(const JSTaggedValue &x, const JSTaggedValue &y) in SameValueZero() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | mir_parser.h | 47 bool ParseLoc(); 48 bool ParsePosition(SrcPosition &pos); 49 bool ParseOneAlias(GStrIdx &strIdx, MIRAliasVars &aliasVar); 51 bool ParseSwitchCase(int64 &, LabelIdx &); 52 bool ParseExprOneOperand(BaseNodePtr &expr); 53 bool ParseExprTwoOperand(BaseNodePtr &opnd0, BaseNodePtr &opnd1); 54 bool ParseExprNaryOperand(MapleVector<BaseNode *> &opndVec); 55 bool IsDelimitationTK(TokenKind tk) const; 57 bool IsStatement(TokenKind tk) const; 60 bool ParseScalarValue(MIRConstPtr &stype, MIRType &type); [all …]
|
| D | option.h | 31 bool ParseOptions(int argc, char **argv, std::string &fileName) const; 33 bool SolveOptions(bool isDebug) const; 50 static bool DumpPhase(const std::string &phase) in DumpPhase() 58 static bool IsSkipPhase(const std::string &phaseName) in IsSkipPhase() 63 static bool DumpFunc() in DumpFunc() 67 static bool IsBigEndian() in IsBigEndian() 72 static bool dumpBefore; 73 static bool dumpAfter; 79 static bool quiet; 80 static bool regNativeFunc; [all …]
|
| D | mpl2mpl_options.h | 32 extern maplecl::Option<bool> quiet; 33 extern maplecl::Option<bool> maplelinker; 34 extern maplecl::Option<bool> regnativefunc; 35 extern maplecl::Option<bool> inlineWithProfile; 36 extern maplecl::Option<bool> inlineOpt; 37 extern maplecl::Option<bool> ipaClone; 40 extern maplecl::Option<bool> crossModuleInline; 51 extern maplecl::Option<bool> nativewrapper; 52 extern maplecl::Option<bool> regnativeDynamicOnly; 54 extern maplecl::Option<bool> dumpBefore; [all …]
|
| D | cfg_primitive_types.h | 39 …PrimitiveTypeProperty(PrimType type, bool isInteger, bool isUnsigned, bool isAddress, bool isFloat… in PrimitiveTypeProperty() 40 … bool isSimple, bool isDynamic, bool isDynamicAny, bool isDynamicNone, bool isVector) in PrimitiveTypeProperty() 55 bool IsInteger() const in IsInteger() 59 bool IsUnsigned() const in IsUnsigned() 64 bool IsAddress() const in IsAddress() 78 bool IsFloat() const in IsFloat() 83 bool IsPointer() const in IsPointer() 97 bool IsSimple() const in IsSimple() 101 bool IsDynamic() const in IsDynamic() 105 bool IsDynamicAny() const in IsDynamicAny() [all …]
|
| D | mir_symbol.h | 60 void SetIsTmp(bool temp) in SetIsTmp() 65 bool GetIsTmp() const in GetIsTmp() 75 bool IsNeedForwDecl() const in IsNeedForwDecl() 85 bool IsInstrumented() const in IsInstrumented() 90 void SetIsImported(bool imported) in SetIsImported() 95 bool GetIsImported() const in GetIsImported() 105 bool IsWpoFakeParm() const in IsWpoFakeParm() 110 bool IsWpoFakeRet() const in IsWpoFakeRet() 120 void SetIsTmpUnused(bool unused) in SetIsTmpUnused() 125 void SetIsImportedDecl(bool imported) in SetIsImportedDecl() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| D | cg_options.h | 27 extern maplecl::Option<bool> pie; 28 extern maplecl::Option<bool> fpic; 29 extern maplecl::Option<bool> verboseAsm; 30 extern maplecl::Option<bool> verboseCg; 31 extern maplecl::Option<bool> maplelinker; 32 extern maplecl::Option<bool> quiet; 33 extern maplecl::Option<bool> cg; 34 extern maplecl::Option<bool> replaceAsm; 35 extern maplecl::Option<bool> generalRegOnly; 36 extern maplecl::Option<bool> lazyBinding; [all …]
|
| D | cg_option.h | 28 bool enable; 147 bool SolveOptions(bool isDebug); 148 void DecideMplcgRealLevel(bool isDebug); 178 void SetOrClear(T &dest, uint64 flag, bool truth) const in SetOrClear() 195 bool GenDef() const in GenDef() 200 bool GenGctib() const in GenGctib() 205 bool GenGrootList() const in GenGrootList() 210 bool GenPrimorList() const in GenPrimorList() 215 bool GenYieldPoint() const in GenYieldPoint() 220 bool GenLocalRC() const in GenLocalRC() [all …]
|
| D | reaching.h | 52 void UpdateInOut(BB &changedBB, bool isReg); 58 bool OnlyAnalysisReg() const in OnlyAnalysisReg() 73 bool CheckRegGen(const BB &bb, uint32 regNO) const in CheckRegGen() 79 bool IsFrameReg(const Operand &opnd) const; 80 InsnSet FindUseForRegOpnd(Insn &insn, uint32 indexOrRegNO, bool isRegNO) const; 81 bool RegIsUsedIncaller(uint32 regNO, Insn &startInsn, Insn &endInsn) const; 82 bool CheckRegLiveinReturnBB(uint32 regNO, const BB &bb) const; 83 bool RegIsLiveBetweenInsn(uint32 regNO, Insn &startInsn, Insn &endInsn, bool isBack = false, 84 bool isFirstNo = false) const; 85 bool RegIsUsedOrDefBetweenInsn(uint32 regNO, Insn &startInsn, Insn &endInsn) const; [all …]
|
| /arkcompiler/runtime_core/static_core/assembler/ |
| D | assembly-parser.h | 94 bool isConstArray_ = false; 102 bool open_ = false; /* flag of being in a code section */ 103 bool recordDef_ = false; 104 bool arrayDef_ = false; 105 bool funcDef_ = false; 126 SourcePosition GetCurrentPosition(bool leftBound) const in GetCurrentPosition() 134 bool LabelValidName(); 135 bool TypeValidName(); 136 bool RegValidName(); 137 bool ParamValidName(); [all …]
|
| /arkcompiler/runtime_core/assembler/ |
| D | assembly-parser.h | 101 bool open_ = false; /* flag of being in a code section */ 102 bool record_def_ = false; 103 bool array_def_ = false; 104 bool func_def_ = false; 125 SourcePosition GetCurrentPosition(bool left_bound) const in GetCurrentPosition() 133 bool LabelValidName(); 134 bool TypeValidName(); 135 bool RegValidName(); 136 bool ParamValidName(); 137 bool FunctionValidName(); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | native_inline_lowering.h | 31 …NativeInlineLowering(Circuit *circuit, CompilationConfig* cmpCfg, PassContext *ctx, bool enableLog, in NativeInlineLowering() 48 std::optional<std::pair<size_t, bool>> GetCallInfo(GateRef gate); 49 void TryInlineStringFromCharCode(GateRef gate, size_t argc, bool skipThis); 50 void TryInlineStringSubstring(GateRef gate, size_t argc, bool skipThis); 51 void TryInlineStringSubStr(GateRef gate, size_t argc, bool skipThis); 52 void TryInlineStringSlice(GateRef gate, size_t argc, bool skipThis); 53 void TryInlineNumberIsFinite(GateRef gate, size_t argc, bool skipThis); 54 void TryInlineNumberIsInteger(GateRef gate, size_t argc, bool skipThis); 55 void TryInlineNumberIsNaN(GateRef gate, size_t argc, bool skipThis); 56 void TryInlineNumberParseFloat(GateRef gate, size_t argc, bool skipThis); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
| D | aarch64_ebo.h | 27 …AArch64Ebo(CGFunc &func, MemPool &memPool, LiveAnalysis *live, bool before, const std::string &pha… in AArch64Ebo() 43 bool IsGlobalNeeded(Insn &insn) const override; 44 bool IsDecoupleStaticOp(Insn &insn) const override; 45 bool OperandEqSpecial(const Operand &op1, const Operand &op2) const override; 52 …bool CombineExtensionAndLoad(Insn *insn, const MapleVector<OpndInfo *> &origInfos, ExtOpTable idx,… 53 bool IsMovToSIMDVmov(Insn &insn, const Insn &replaceInsn) const override; 54 bool IsPseudoRet(Insn &insn) const override; 55 bool IsAdd(const Insn &insn) const override; 56 bool IsFmov(const Insn &insn) const override; 57 bool IsClinitCheck(const Insn &insn) const override; [all …]
|
| D | aarch64_mop_valid.h | 24 inline bool StrLdr8Valid(Operand *o) in StrLdr8Valid() 32 inline bool StrLdr16Valid(Operand *o) in StrLdr16Valid() 48 inline bool StrLdr32Valid(Operand *o) in StrLdr32Valid() 64 inline bool StrLdr32PairValid(Operand *o) in StrLdr32PairValid() 75 inline bool StrLdr64Valid(Operand *o) in StrLdr64Valid() 91 inline bool StrLdr64PairValid(Operand *o) in StrLdr64PairValid() 102 inline bool StrLdr128Valid(Operand *o) in StrLdr128Valid() 118 inline bool StrLdr128PairValid(Operand *o) in StrLdr128PairValid() 128 inline bool IsOfstZero(Operand *o) in IsOfstZero() 137 inline bool MOP_wmovri32Valid(const MapleVector<Operand *> &opnds) in MOP_wmovri32Valid() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/getter/ts_to_ets/ |
| D | getter.cpp | 25 ASSERT_EQ(true, CallEtsMethod<bool>("checkGetterPublicClass")); in TEST_F() 30 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreatePublicGetterClassFromTs")); in TEST_F() 35 ASSERT_EQ(true, CallEtsMethod<bool>("checkPublicGetterInstanceClassFromTs")); in TEST_F() 40 ASSERT_EQ(true, CallEtsMethod<bool>("checkUnionTypeGetterClassInt")); in TEST_F() 45 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateUnionTypeGetterClassFromTsInt")); in TEST_F() 50 ASSERT_EQ(true, CallEtsMethod<bool>("checkInstanceUnionTypeGetterClassFromTsInt")); in TEST_F() 55 ASSERT_EQ(true, CallEtsMethod<bool>("checkUnionTypeGetterClassString")); in TEST_F() 60 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateUnionTypeGetterClassFromTsString")); in TEST_F() 65 ASSERT_EQ(true, CallEtsMethod<bool>("checkInstanceUnionTypeGetterClassFromTsString")); in TEST_F() 70 ASSERT_EQ(true, CallEtsMethod<bool>("checkLiteralTypeGetterClassInt")); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | const_folding.h | 21 bool ConstFoldingCast(Inst *inst); 22 bool ConstFoldingNeg(Inst *inst); 23 bool ConstFoldingAbs(Inst *inst); 24 bool ConstFoldingNot(Inst *inst); 25 bool ConstFoldingAdd(Inst *inst); 26 bool ConstFoldingSub(Inst *inst); 27 bool ConstFoldingMul(Inst *inst); 28 bool ConstFoldingBinaryMathWithNan(Inst *inst); 29 bool ConstFoldingDiv(Inst *inst); 30 bool ConstFoldingDivWithNan(Inst *inst); [all …]
|
| D | inlining.h | 32 bool chaDevirtualize {false}; 33 bool replaceToStatic {false}; 39 bool hasRuntimeCalls {false}; 47 Inlining(Graph *graph, bool resolveWoInline) : Inlining(graph) in Inlining() 59 bool RunImpl() override; 61 bool IsEnable() const override in IsEnable() 80 virtual bool IsInstSuitableForInline(Inst *inst) const; 81 virtual bool TryInline(CallInst *callInst); 82 bool TryInlineWithInlineCaches(CallInst *callInst); 83 bool TryInlineExternal(CallInst *callInst, InlineContext *ctx); [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | object-references-iterator.h | 33 template <bool INTERRUPTIBLE, typename Handler> 34 static bool Iterate(ObjectHeader *obj, Handler *handler, void *begin, void *end); 37 static bool IterateAndDiscoverReferences(GC *gc, ObjectHeader *obj, Handler *handler); 40 …static bool IterateAndDiscoverReferences(GC *gc, ObjectHeader *obj, Handler *handler, void *begin,… 43 template <bool INTERRUPTIBLE, typename Handler> 44 static bool Iterate(Class *cls, ObjectHeader *obj, Handler *handler); 46 template <bool INTERRUPTIBLE, typename Handler> 47 static bool Iterate(Class *cls, ObjectHeader *obj, Handler *handler, void *begin, void *end); 49 template <bool INTERRUPTIBLE, typename Handler> 50 static bool IterateObjectReferences(ObjectHeader *object, Class *objClass, Handler *handler); [all …]
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | fast_json_stringifier.h | 46 CString SerializeObjectKey(const JSHandle<JSTaggedValue> &key, bool hasContent); 48 bool SerializeJSONObject(const JSHandle<JSTaggedValue> &value); 50 bool SerializeJSArray(const JSHandle<JSTaggedValue> &value); 51 bool SerializeJSProxy(const JSHandle<JSTaggedValue> &object); 55 bool PushValue(const JSHandle<JSTaggedValue> &value); 59 bool AppendJsonString(bool hasContent, CVector<std::pair<CString, int>> &strCache, int index); 60 bool FastAppendJsonString(bool hasContent, CString &key); 61 bool TryCacheSerializeElements(const JSHandle<JSObject> &obj, bool hasContent, 63 bool SerializeElementsWithCache(const JSHandle<JSObject> &obj, bool hasContent, 66 bool TryCacheSerializeKeys(const JSHandle<JSObject> &obj, bool hasContent, [all …]
|
| /arkcompiler/ets_frontend/es2panda/parser/ |
| D | parserImpl.h | 135 bool isPrivateIdent {}; 136 bool hasSuperClass {}; 137 bool isGenerator {}; 138 bool invalidComputedProperty {}; 139 bool isComputed {}; 140 bool isIndexSignature {}; 141 bool classMethod {}; 142 bool classField {}; 200 bool IsDtsFile() const; in DEFINE_BITOPS() 203 bool IsStartOfMappedType() const; in DEFINE_BITOPS() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/interface/ts_to_ets/ |
| D | interface_method.cpp | 25 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeInterfaceClassString")); in TEST_F() 30 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeInterfaceClassInt")); in TEST_F() 35 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeInterfaceClassBool")); in TEST_F() 40 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeInterfaceClassArray")); in TEST_F() 45 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeInterfaceClassObject")); in TEST_F() 50 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateInterfaceClassAnyTypeMethodString")); in TEST_F() 55 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateInterfaceClassAnyTypeMethodInt")); in TEST_F() 60 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateInterfaceClassAnyTypeMethodBool")); in TEST_F() 65 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateInterfaceClassAnyTypeMethodArray")); in TEST_F() 70 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateInterfaceClassAnyTypeMethodObject")); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_intrins/ |
| D | test_intrins.cpp | 52 ASSERT_EQ(true, CallEtsMethod<bool>("testUndefined")); in TEST_F() 53 ASSERT_EQ(true, CallEtsMethod<bool>("testNull")); in TEST_F() 54 ASSERT_EQ(true, CallEtsMethod<bool>("testBoolean")); in TEST_F() 55 ASSERT_EQ(true, CallEtsMethod<bool>("testNumber")); in TEST_F() 56 ASSERT_EQ(true, CallEtsMethod<bool>("testString")); in TEST_F() 57 ASSERT_EQ(true, CallEtsMethod<bool>("testObject")); in TEST_F() 60 ASSERT_EQ(true, CallEtsMethod<bool>("testStringOps")); in TEST_F() 65 ASSERT_EQ(true, CallEtsMethod<bool>("testBuiltinArrayAny")); in TEST_F() 66 ASSERT_EQ(true, CallEtsMethod<bool>("testBuiltinArrayBoolean")); in TEST_F() 67 ASSERT_EQ(true, CallEtsMethod<bool>("testBuiltinArrayInt")); in TEST_F() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | js_pandafile_executor.h | 36 static Expected<JSTaggedValue, bool> ExecuteFromFile(JSThread *thread, const CString &name, 37 CString entry, bool needUpdate = false, 38 bool executeFromJob = false); 39 …static Expected<JSTaggedValue, bool> ExecuteFromAbsolutePathAbcFile(JSThread *thread, const CStrin… 41 bool needUpdate = false, 42 … bool executeFromJob = false); 43 … static Expected<JSTaggedValue, bool> ExecuteFromAbcFile(JSThread *thread, const CString &filename, 44 … std::string_view entryPoint, bool needUpdate = false, 45 bool executeFromJob = false); 46 …static Expected<JSTaggedValue, bool> ExecuteFromBuffer(JSThread *thread, const void *buffer, size_… [all …]
|