| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | circuit_optimizer.h | 38 [[nodiscard]] bool IsTop() const; 39 [[nodiscard]] bool IsMid() const; 40 [[nodiscard]] bool IsBot() const; 44 bool operator==(const ValueLattice &other) const; 45 bool operator!=(const ValueLattice &other) const; 46 bool operator<(const ValueLattice &other) const; 47 bool operator>(const ValueLattice &other) const; 48 bool operator<=(const ValueLattice &other) const; 49 bool operator>=(const ValueLattice &other) const; 61 explicit ReachabilityLattice(bool reachable); [all …]
|
| D | compiler_log.h | 37 explicit CompilerLog(const std::string &logOpt, bool TraceBC = false); 40 bool AllMethod() const in AllMethod() 45 bool CertainMethod() const in CertainMethod() 50 bool NoneMethod() const in NoneMethod() 55 bool OutputCIR() const in OutputCIR() 60 bool OutputLLIR() const in OutputLLIR() 65 bool OutputASM() const in OutputASM() 70 bool OutputType() const in OutputType() 75 bool IsTraceBC() const in IsTraceBC() 80 bool GetEnableCompilerLogTime() const in GetEnableCompilerLogTime() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_tagged_value.h | 158 ARK_INLINE constexpr explicit JSTaggedValue(bool v) in JSTaggedValue() 211 ARK_INLINE bool IsWeak() const in IsWeak() 216 ARK_INLINE bool IsDouble() const in IsDouble() 221 ARK_INLINE bool IsInt() const in IsInt() 226 ARK_INLINE bool IsSpecial() const in IsSpecial() 231 ARK_INLINE bool IsObject() const in IsObject() 241 ARK_INLINE bool IsHeapObject() const in IsHeapObject() 246 ARK_INLINE bool IsInvalidValue() const in IsInvalidValue() 287 ARK_INLINE bool IsFalse() const in IsFalse() 292 ARK_INLINE bool IsTrue() const in IsTrue() [all …]
|
| D | js_runtime_options.h | 53 bool enableAsm {false}; 124 bool ParseCommand(const int argc, const char **argv); 125 bool SetDefaultValue(char* argv); 127 bool EnableArkTools() const in EnableArkTools() 133 void SetEnableArkTools(bool value) { in SetEnableArkTools() 137 bool WasSetEnableArkTools() const in WasSetEnableArkTools() 142 bool IsEnableRuntimeStat() const in IsEnableRuntimeStat() 147 void SetEnableRuntimeStat(bool value) in SetEnableRuntimeStat() 152 bool WasSetEnableRuntimeStat() const in WasSetEnableRuntimeStat() 167 bool WasStubFileSet() const in WasStubFileSet() [all …]
|
| D | js_object.h | 61 …licit PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, bool c) in PropertyDescriptor() 73 explicit PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c) in PropertyDescriptor() 91 inline bool IsWritable() const in IsWritable() 96 inline void SetWritable(bool flag) in SetWritable() 102 inline bool IsEnumerable() const in IsEnumerable() 107 inline void SetEnumerable(bool flag) in SetEnumerable() 113 inline bool IsConfigurable() const in IsConfigurable() 118 inline void SetConfigurable(bool flag) in SetConfigurable() 124 inline bool HasValue() const in HasValue() 129 inline bool HasWritable() const in HasWritable() [all …]
|
| D | js_serializer.h | 112 bool SerializeJSTaggedValue(const JSHandle<JSTaggedValue> &value); 118 bool WriteJSFunction(const JSHandle<JSTaggedValue> &value); 119 bool WriteMethod(const JSHandle<JSTaggedValue> &value); 120 bool WriteConstantPool(const JSHandle<JSTaggedValue> &value); 121 bool WriteTaggedArray(const JSHandle<JSTaggedValue> &value); 122 bool WriteByteArray(const JSHandle<JSTaggedValue> &value, DataViewType viewType); 123 bool WriteTaggedObject(const JSHandle<JSTaggedValue> &value); 124 bool WritePrimitiveValue(const JSHandle<JSTaggedValue> &value); 125 bool WriteInt(int32_t value); 126 bool WriteDouble(double value); [all …]
|
| D | js_tagged_value-inl.h | 45 inline bool JSTaggedValue::ToBoolean() const in ToBoolean() 190 bool signFlag = value->GetSign(); in ToBigUint64() 286 inline bool JSTaggedValue::IsCallable() const in IsCallable() 291 inline bool JSTaggedValue::IsConstructor() const in IsConstructor() 296 inline bool JSTaggedValue::IsExtensible(JSThread *thread) const in IsExtensible() 309 inline bool JSTaggedValue::IsClassConstructor() const in IsClassConstructor() 314 inline bool JSTaggedValue::IsClassPrototype() const in IsClassPrototype() 319 inline bool JSTaggedValue::IsPropertyKey(const JSHandle<JSTaggedValue> &key) in IsPropertyKey() 324 inline bool JSTaggedValue::SameValue(const JSTaggedValue &x, const JSTaggedValue &y) in SameValue() 346 inline bool JSTaggedValue::SameValue(const JSHandle<JSTaggedValue> &xHandle, const JSHandle<JSTagge… in SameValue() [all …]
|
| D | date_parse.h | 24 static bool ParseDateString(const char *str, int length, int *time); 27 static bool IsBetween(int n, int lower, int hign) in IsBetween() 89 bool IsDigit() const in IsDigit() 97 bool IsSign() const in IsSign() 105 bool IsEnd() const in IsEnd() 110 bool IsThisChar(char ch) const in IsThisChar() 115 bool IsAlpha() const in IsAlpha() 123 bool IsSpaceOrTab() const in IsSpaceOrTab() 131 bool IsChar(char ch) in IsChar() 161 bool IsInvalid() const in IsInvalid() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
| D | type_infer.h | 39 PassInfo *info, size_t methodId, bool enableLog, in TypeInfer() 58 bool IsLogEnabled() const in IsLogEnabled() 69 bool UpdateType(GateRef gate, const GateType type); 70 bool UpdateType(GateRef gate, const GlobalTSTypeRef &typeRef); 71 bool ShouldInfer(const GateRef gate) const; 72 bool Infer(GateRef gate); 73 bool InferPhiGate(GateRef gate); 74 bool SetIntType(GateRef gate); 75 bool SetNumberType(GateRef gate); 76 bool SetBigIntType(GateRef gate); [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/runtime_core/runtime/tests/tooling/ |
| D | api_test.h | 23 using BreakpointCallback = std::function<bool(PtThread, Method *, const PtLocation &)>; 24 using LoadModuleCallback = std::function<bool(std::string_view)>; 25 using PausedCallback = std::function<bool(PauseReason)>; 27 …std::function<bool(PtThread, Method *, const PtLocation &, ObjectHeader *, Method *, const PtLocat… 28 using ExceptionCatchCallback = std::function<bool(PtThread, Method *, const PtLocation &, ObjectHea… 29 using PropertyAccessCallback = std::function<bool(PtThread, Method *, const PtLocation &, ObjectHea… 31 …std::function<bool(PtThread, Method *, const PtLocation &, ObjectHeader *, PtProperty, VRegValue)>; 32 using FramePopCallback = std::function<bool(PtThread, Method *, bool)>; 33 using GarbageCollectionStartCallback = std::function<bool()>; 34 using GarbageCollectionFinishCallback = std::function<bool()>; [all …]
|
| /arkcompiler/toolchain/tooling/base/ |
| D | pt_params.h | 48 bool HasMaxScriptsCacheSize() const in HasMaxScriptsCacheSize() 84 std::optional<bool> includeCommandLineAPI_ {}; 85 std::optional<bool> silent_ {}; 86 std::optional<bool> returnByValue_ {}; 87 std::optional<bool> generatePreview_ {}; 88 std::optional<bool> throwOnSideEffect_ {}; 111 bool HasEnd() const in HasEnd() 116 bool GetRestrictToFunction() const in GetRestrictToFunction() 121 bool HasRestrictToFunction() const in HasRestrictToFunction() 132 std::optional<bool> restrictToFunction_ {}; [all …]
|
| D | pt_json.h | 51 bool Add(const char *key, bool value) const; 52 bool Add(const char *key, int32_t value) const; 53 bool Add(const char *key, int64_t value) const; 54 bool Add(const char *key, double value) const; 55 bool Add(const char *key, const char *value) const; 56 bool Add(const char *key, const std::unique_ptr<PtJson> &value) const; 59 bool Push(bool value) const; 60 bool Push(int32_t value) const; 61 bool Push(int64_t value) const; 62 bool Push(double value) const; [all …]
|
| /arkcompiler/ets_frontend/es2panda/parser/ |
| D | parserImpl.h | 133 bool isPrivateIdent {}; 134 bool hasSuperClass {}; 135 bool isGenerator {}; 136 bool invalidComputedProperty {}; 137 bool isComputed {}; 138 bool isIndexSignature {}; 139 bool classMethod {}; 140 bool classField {}; 193 bool IsStartOfMappedType() const; 194 bool IsStartOfTsTypePredicate() const; [all …]
|
| /arkcompiler/ets_frontend/ts2panda/ts2abc/ |
| D | ts2abc_options.h | 50 bool GetSizeStatArg() const in GetSizeStatArg() 55 void SetSizeStatArg(bool value) in SetSizeStatArg() 60 bool WasSetSizeStatArg() const in WasSetSizeStatArg() 65 bool GetHelpArg() const in GetHelpArg() 70 void SetHelpArg(bool value) in SetHelpArg() 75 bool WasSetHelpArg() const in WasSetHelpArg() 90 bool WasSetOptLevelArg() const in WasSetOptLevelArg() 105 bool WasSetOptLogLevelArg() const in WasSetOptLogLevelArg() 110 bool GetBcVersionArg() const in GetBcVersionArg() 115 void SetSetBcVersionArg(bool value) in SetSetBcVersionArg() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/napi/include/ |
| D | jsnapi.h | 66 using QuickFixQueryCallBack = bool (*)(std::string, std::string &, void **, size_t); 112 inline bool IsEmpty() const in IsEmpty() 117 inline bool IsNull() const in IsNull() 214 inline bool IsEmpty() const in IsEmpty() 223 bool IsWeak() const; 309 inline bool IsEmpty() const in IsEmpty() 320 bool IsWeak() const; 366 bool alreadyEscape_ = false; 379 bool is_revert_ = false; 389 bool BooleaValue(); [all …]
|
| D | dfx_jsnapi.h | 49 …static void DumpHeapSnapshot(const EcmaVM *vm, int dumpFormat, const std::string &path, bool isVmM… 50 bool isPrivate = false); 52 bool isVmMode = true, bool isPrivate = false); 53 …static void DumpHeapSnapshot(const EcmaVM *vm, int dumpFormat, bool isVmMode = true, bool isPrivat… 55 static bool BuildNativeAndJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr); 56 static bool BuildJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr); 57 static bool StartHeapTracking(const EcmaVM *vm, double timeInterval, bool isVmMode = true, 58 … Stream *stream = nullptr, bool traceAllocation = false, bool newThread = true); 59 static bool UpdateHeapTracking(const EcmaVM *vm, Stream *stream); 60 …static bool StopHeapTracking(const EcmaVM *vm, const std::string &filePath, bool newThread = true); [all …]
|
| /arkcompiler/runtime_core/verification/ |
| D | verification_options.h | 35 bool Status = false; 38 bool VerifyRuntimeLibraries = false; 39 bool SyncOnClassInitialization = false; 43 bool UpdateOnExit = false; 47 bool RegChanges = false; 48 bool Context = false; 49 bool TypeSystem = false; 52 bool UndefinedClass = false; 53 bool UndefinedMethod = false; 54 bool UndefinedField = false; [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
| D | inlining.h | 29 bool cha_devirtualize {false}; 30 bool replace_to_static {false}; 35 bool has_runtime_calls {false}; 50 bool RunImpl() override; 52 bool IsEnable() const override in IsEnable() 65 bool TryInline(CallInst *call_inst); 66 bool TryInlineWithInlineCaches(CallInst *call_inst); 67 bool TryInlineExternal(CallInst *call_inst, InlineContext *ctx); 68 bool TryInlineExternalAot(CallInst *call_inst, InlineContext *ctx); 72 bool DoInline(CallInst *call_inst, InlineContext *ctx); [all …]
|
| /arkcompiler/runtime_core/runtime/include/ |
| D | runtime.h | 90 bool is_jit_enabled_; 107 …static bool CreateInstance(const RuntimeOptions &options, mem::InternalAllocatorPtr internal_alloc… 109 PANDA_PUBLIC_API static bool Create(const RuntimeOptions &options); 112 …PANDA_PUBLIC_API static bool Create(const RuntimeOptions &options, const std::vector<LanguageConte… 114 static bool DestroyUnderLockHolder(); 116 PANDA_PUBLIC_API static bool Destroy(); 142 void SetZygoteNoThreadSection(bool val) in SetZygoteNoThreadSection() 158 …static bool GetLiteralTagAndValue(const panda_file::File &pf, uint32_t id, panda_file::LiteralTag … 180 bool IsDebugMode() const in IsDebugMode() 185 void SetDebugMode(bool is_debug_mode) in SetDebugMode() [all …]
|
| D | object_header.h | 141 template <bool atomic_flag = true> 142 inline bool IsMarkedForGC() const in IsMarkedForGC() 149 template <bool atomic_flag = true> 156 bool res; in SetMarkedForGC() 162 template <bool atomic_flag = true> 169 bool res; in SetUnMarkedForGC() 175 inline bool IsForwarded() const in IsForwarded() 181 inline bool IsInstance() const; 186 template <bool strong = true> 187 bool AtomicSetMark(MarkWord old_mark_word, MarkWord new_mark_word) in AtomicSetMark() [all …]
|
| D | object_header-inl.h | 36 inline bool ObjectHeader::IsInstanceOf(const Class *klass) const in IsInstanceOf() 42 template <class T, bool is_volatile /* = false */> 48 template <class T, bool is_volatile /* = false */> 54 template <bool is_volatile /* = false */, bool need_read_barrier /* = true */, bool is_dyn /* = fal… 60 template <bool is_volatile /* = false */, bool need_write_barrier /* = true */, bool is_dyn /* = fa… 78 template <bool need_read_barrier /* = true */, bool is_dyn /* = false */> 84 template <bool need_write_barrier /* = true */, bool is_dyn /* = false */> 90 template <bool need_read_barrier /* = true */, bool is_dyn /* = false */> 96 template <bool need_write_barrier /* = true */, bool is_dyn /* = false */> 102 template <bool is_volatile /* = false */, bool need_write_barrier /* = true */, bool is_dyn /* = fa… [all …]
|
| D | object_accessor.h | 30 template <class T, bool is_volatile = false> 36 template <class T, bool is_volatile = false> 42 template <bool is_volatile = false, bool need_read_barrier = true, bool is_dyn = false> 45 template <bool is_volatile = false, bool need_write_barrier = true, bool is_dyn = false> 54 template <bool need_read_barrier = true, bool is_dyn = false> 57 template <bool need_write_barrier = true, bool is_dyn = false> 61 template <bool is_volatile = false, bool need_read_barrier = true, bool is_dyn = false> 64 template <bool is_volatile = false, bool need_write_barrier = true, bool is_dyn = false> 67 template <bool need_read_barrier = true, bool is_dyn = false> 70 template <bool need_write_barrier = true, bool is_dyn = false> [all …]
|
| /arkcompiler/runtime_core/runtime/mem/gc/ |
| D | gc_settings.h | 48 bool IsGcEnableTracing() const; 58 bool IsDumpHeap() const; 63 bool IsConcurrencyEnabled() const; 68 bool RunGCInPlace() const; 73 bool EnableFastHeapVerifier() const; 78 bool PreGCHeapVerification() const; 83 bool IntoGCHeapVerification() const; 88 bool PostGCHeapVerification() const; 93 bool FailOnHeapVerification() const; 109 bool G1TrackFreedObjects() const; [all …]
|
| /arkcompiler/runtime_core/compiler/ |
| D | compiler.yaml | 20 type: bool 32 type: bool 42 type: bool 46 type: bool 50 type: bool 58 type: bool 62 type: bool 71 type: bool 75 type: bool 79 type: bool [all …]
|