Home
last modified time | relevance | path

Searched defs:rhs (Results 1 – 25 of 109) sorted by relevance

12345

/arkcompiler/ets_runtime/ecmascript/compiler/
Dnumber_gate_info.h141 RangeInfo Union(const RangeInfo &rhs) const in Union()
146 RangeInfo intersection(const RangeInfo &rhs) const in intersection()
151 bool MaybeAddOverflow(const RangeInfo &rhs) const in MaybeAddOverflow()
156 bool MaybeAddUnderflow(const RangeInfo &rhs) const in MaybeAddUnderflow()
161 bool MaybeAddOverflowOrUnderflow(const RangeInfo &rhs) const in MaybeAddOverflowOrUnderflow()
205 int32_t GetMaxMulResult(const RangeInfo &rhs) const in GetMaxMulResult()
211 int32_t GetMinMulResult(const RangeInfo &rhs) const in GetMinMulResult()
217 int32_t TryMul(int32_t lhs, int32_t rhs) const in TryMul()
228 bool MaybeMulOverflowOrUnderflow(const RangeInfo &rhs) const in MaybeMulOverflowOrUnderflow()
233 bool MaybeMulUnderflow(const RangeInfo &rhs) const in MaybeMulUnderflow()
[all …]
Dearly_elimination.cpp267 bool EarlyElimination::MayAccessOneMemory(GateRef lhs, GateRef rhs) in MayAccessOneMemory()
327 bool EarlyElimination::CompareOrder(GateRef lhs, GateRef rhs) in CompareOrder()
332 bool EarlyElimination::CheckReplacement(GateRef lhs, GateRef rhs) in CheckReplacement()
464 bool EarlyElimination::CheckRenameReplacement(GateRef lhs, GateRef rhs) in CheckRenameReplacement()
518 auto rhs = that->head_; in Merge() local
560 auto rhs = that->head_; in Equals() local
/arkcompiler/runtime_core/static_core/libpandabase/
Dmacros.h159 #define ASSERT_OP(lhs, op, rhs) … argument
173 #define CHECK_LE(lhs, rhs) ASSERT_OP(lhs, <=, rhs) argument
175 #define CHECK_LT(lhs, rhs) ASSERT_OP(lhs, <, rhs) argument
177 #define CHECK_GE(lhs, rhs) ASSERT_OP(lhs, >=, rhs) argument
179 #define CHECK_GT(lhs, rhs) ASSERT_OP(lhs, >, rhs) argument
181 #define CHECK_EQ(lhs, rhs) ASSERT_OP(lhs, ==, rhs) argument
183 #define CHECK_NE(lhs, rhs) ASSERT_OP(lhs, !=, rhs) argument
222 #define ASSERT_OP(lhs, op, rhs) // NOLINTNEXTLINE(cppcoreguidelines-macro… argument
223 #define CHECK_LE(lhs, rhs) // NOLINTNEXTLINE(cppcoreguidelines-macro… argument
224 #define CHECK_LT(lhs, rhs) // NOLINTNEXTLINE(cppcoreguidelines-macro… argument
[all …]
/arkcompiler/runtime_core/libpandabase/
Dmacros.h169 #define ASSERT_OP(lhs, op, rhs) do { \ argument
182 #define CHECK_LE(lhs, rhs) ASSERT_OP(lhs, <=, rhs) argument
184 #define CHECK_LT(lhs, rhs) ASSERT_OP(lhs, <, rhs) argument
186 #define CHECK_GE(lhs, rhs) ASSERT_OP(lhs, >=, rhs) argument
188 #define CHECK_GT(lhs, rhs) ASSERT_OP(lhs, >, rhs) argument
190 #define CHECK_EQ(lhs, rhs) ASSERT_OP(lhs, ==, rhs) argument
192 #define CHECK_NE(lhs, rhs) ASSERT_OP(lhs, !=, rhs) argument
230 #define ASSERT_OP(lhs, op, rhs) // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) argument
231 #define CHECK_LE(lhs, rhs) // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) argument
232 #define CHECK_LT(lhs, rhs) // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) argument
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Dmath_helper.h73 inline int32_t SignedDiv32(int32_t lhs, int32_t rhs) in SignedDiv32()
84 inline int64_t SignedDiv64(int64_t lhs, int64_t rhs) in SignedDiv64()
95 inline int32_t SignedMod32(int32_t lhs, int32_t rhs) in SignedMod32()
104 inline bool SignedAddOverflow32(int32_t lhs, int32_t rhs, int32_t *val) in SignedAddOverflow32()
113 inline bool SignedSubOverflow32(int32_t lhs, int32_t rhs, int32_t *val) in SignedSubOverflow32()
121 inline bool SignedMulOverflow32(int32_t lhs, int32_t rhs, int32_t *val) in SignedMulOverflow32()
/arkcompiler/ets_runtime/common_components/objects/tests/
Dbase_string_test.cpp124 const uint8_t rhs[] = {'a', 'b', 'c'}; in HWTEST_F_L0() local
134 const uint8_t rhs[] = {'c', 'd'}; in HWTEST_F_L0() local
144 const uint8_t rhs[] = {'x', 'y', 'z'}; in HWTEST_F_L0() local
154 const uint8_t rhs[] = {'a', 'b', 'c'}; in HWTEST_F_L0() local
164 const uint8_t rhs[] = {'a', 'b', 'x'}; in HWTEST_F_L0() local
174 const uint8_t rhs[] = {1, 2, 3}; in HWTEST_F_L0() local
183 const uint8_t rhs[] = {1, 2, 3}; in HWTEST_F_L0() local
192 const uint8_t rhs[] = {'x', 'y'}; in HWTEST_F_L0() local
201 const uint8_t rhs[] = {'b'}; in HWTEST_F_L0() local
210 const uint16_t rhs[] = {'a', 'b', 'c'}; in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/base/
Ddepend_chain_helper.cpp29 auto rhs = that->head_; in Merge() local
53 auto rhs = that->head_; in Equals() local
/arkcompiler/ets_frontend/ets2panda/util/
DdiagnosticEngine.cpp89 std::sort(log.begin(), log.end(), [](const auto &lhs, const auto &rhs) { return *lhs < *rhs; }); in PrintAndFlushErrorDiagnostic()
90 …auto last = std::unique(log.begin(), log.end(), [](const auto &lhs, const auto &rhs) { return *lhs… in PrintAndFlushErrorDiagnostic()
101 std::sort(log.begin(), log.end(), [](const auto &lhs, const auto &rhs) { return *lhs < *rhs; }); in FlushDiagnostic()
103 …std::unique(log.begin(), log.end(), [&](const auto &rhs, const auto &lhs) -> bool { return *rhs ==… in FlushDiagnostic()
/arkcompiler/runtime_core/static_core/verification/value/
Dvar_binding.h33 void Equate(Variables::Var lhs, Variable::Var rhs) in Equate()
/arkcompiler/toolchain/tooling/dynamic/test/utils/
Dtest_util.h254 #define ASSERT_EQ(lhs, rhs) \ argument
263 #define ASSERT_NE(lhs, rhs) \ argument
272 #define ASSERT_STREQ(lhs, rhs) \ argument
297 #define ASSERT_LOCATION_EQ(lhs, rhs) \ argument
/arkcompiler/runtime_core/static_core/compiler/tests/
Dprofiling_merger_test.cpp101 bool Equals(const BranchData &lhs, const BranchData &rhs) in Equals()
106 bool Equals(const ThrowData &lhs, const ThrowData &rhs) in Equals()
111 bool Equals(const CallSiteInlineCache &lhs, const CallSiteInlineCache &rhs) in Equals()
117 bool Equals(const Span<T> &lhs, const Span<T> &rhs) in Equals()
123 bool Equals(const ProfilingData &lhs, const ProfilingData &rhs) in Equals()
Dprofiling_round_trip_test.cpp143 bool Equals(const BranchData &lhs, const BranchData &rhs) in Equals()
148 bool Equals(const ThrowData &lhs, const ThrowData &rhs) in Equals()
153 bool Equals(const CallSiteInlineCache &lhs, const CallSiteInlineCache &rhs) in Equals()
159 bool Equals(const Span<T> &lhs, const Span<T> &rhs) in Equals()
165 bool Equals(const ProfilingData &lhs, const ProfilingData &rhs) in Equals()
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
Dtest_util.h254 #define ASSERT_EQ(lhs, rhs) \ argument
263 #define ASSERT_NE(lhs, rhs) \ argument
272 #define ASSERT_STREQ(lhs, rhs) \ argument
297 #define ASSERT_LOCATION_EQ(lhs, rhs) \ argument
/arkcompiler/runtime_core/taihe/runtime/include/taihe/
Dstring.hpp225 inline bool operator==(string_view lhs, string_view rhs) in operator ==()
230 inline bool operator!=(string_view lhs, string_view rhs) in operator !=()
235 inline bool operator<(string_view lhs, string_view rhs) in operator <()
240 inline bool operator>(string_view lhs, string_view rhs) in operator >()
245 inline bool operator<=(string_view lhs, string_view rhs) in operator <=()
250 inline bool operator>=(string_view lhs, string_view rhs) in operator >=()
/arkcompiler/runtime_core/libabckit/src/
Dmacros.h65 #define LIBABCKIT_WRONG_CTX(lhs, rhs, returnvalue) \ argument
73 #define LIBABCKIT_WRONG_CTX_VOID(lhs, rhs) \ argument
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
Dcpu_affinity.cpp87 void CpuSet::And(CpuSet &result, const CpuSet &lhs, const CpuSet &rhs) in And()
93 void CpuSet::Or(CpuSet &result, const CpuSet &lhs, const CpuSet &rhs) in Or()
99 void CpuSet::Xor(CpuSet &result, const CpuSet &lhs, const CpuSet &rhs) in Xor()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
Dcpu_affinity.cpp88 void CpuSet::And(CpuSet &result, const CpuSet &lhs, const CpuSet &rhs) in And()
94 void CpuSet::Or(CpuSet &result, const CpuSet &lhs, const CpuSet &rhs) in Or()
100 void CpuSet::Xor(CpuSet &result, const CpuSet &lhs, const CpuSet &rhs) in Xor()
/arkcompiler/runtime_core/libpandabase/utils/
Djson_parser.h47 Value(Value &&rhs) noexcept: value_(std::move(rhs.value_)) in Value() function
59 void SetValue(T &&rhs) noexcept in SetValue()
Dtype_converter.cpp57 bool operator==(const ValueUnit &lhs, const ValueUnit &rhs) in operator ==()
76 bool operator!=(const ValueUnit &lhs, const ValueUnit &rhs) in operator !=()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dtype_converter.cpp60 bool operator==(const ValueUnit &lhs, const ValueUnit &rhs) in operator ==()
79 bool operator!=(const ValueUnit &lhs, const ValueUnit &rhs) in operator !=()
Djson_parser.h47 Value(Value &&rhs) noexcept // NOLINT(bugprone-exception-escape) in Value() function
60 void SetValue(T &&rhs) noexcept in SetValue()
/arkcompiler/ets_frontend/es2panda/compiler/base/
Ddestructuring.cpp171 static void GenObjectWithRest(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObjectWithRest()
211 static void GenObject(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObject()
244 VReg rhs = pg->AllocReg(); in Compile() local
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Dgraph_checker_macros.h25 #define CHECKER_EQ(lhs, rhs) CHECK_EQ(lhs, rhs) argument
63 #define ABCKIT_CHECK_EQ(lhs, rhs) \ argument
69 #define CHECKER_EQ(lhs, rhs) \ argument
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
DsavedBindingsCtx.cpp50 auto *rhs = decl->Decl(); in BindExportDecl() local
/arkcompiler/ets_frontend/ets2panda/compiler/base/
Ddestructuring.cpp189 static void GenObjectWithRest(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObjectWithRest()
232 static void GenObject(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObject()
279 VReg rhs = pg->AllocReg(); in Compile() local

12345