Home
last modified time | relevance | path

Searched refs:right (Results 1 - 25 of 167) sorted by relevance

1234567

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_operand.cpp24 bool StImmOperand::Less(const Operand &right) const in Less()
26 if (&right == this) { in Less()
31 if (GetKind() != right.GetKind()) { in Less()
32 return GetKind() < right.GetKind(); in Less()
35 const StImmOperand *rightOpnd = static_cast<const StImmOperand *>(&right); in Less()
45 bool ExtendShiftOperand::Less(const Operand &right) const in Less()
47 if (&right == this) { in Less()
51 if (GetKind() != right.GetKind()) { in Less()
52 return GetKind() < right.GetKind(); in Less()
55 const ExtendShiftOperand *rightOpnd = static_cast<const ExtendShiftOperand *>(&right); in Less()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Doperations_stub_builder.h37 GateRef Equal(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOperation());
38 GateRef NotEqual(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOperation());
39 GateRef StrictEqual(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOperation());
40 GateRef StrictNotEqual(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOperation());
41 GateRef Less(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOperation());
42 GateRef LessEq(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOperation());
43 GateRef Greater(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOperation());
44 GateRef GreaterEq(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOperation());
45 GateRef Add(GateRef glue, GateRef left, GateRef right, ProfileOperation callback = ProfileOperation());
46 GateRef Sub(GateRef glue, GateRef left, GateRef right, ProfileOperatio
[all...]
H A Dconstant_folding.cpp79 auto right = acc_.GetValueIn(gate, 1); in VisitSMOD() local
80 if (!IsInt32Type(gate) || !IsInt32Type(left) || !IsInt32Type(right)) { in VisitSMOD()
85 if (IsConstant(left) && IsConstant(right)) { in VisitSMOD()
87 int rvalue = acc_.GetInt32FromConstant(right); in VisitSMOD()
98 auto right = acc_.GetValueIn(gate, 1); in VisitUMOD() local
99 if (!IsInt32Type(gate) || !IsInt32Type(left) || !IsInt32Type(right)) { in VisitUMOD()
104 if (IsConstant(left) && IsConstant(right)) { in VisitUMOD()
106 int rvalue = acc_.GetInt32FromConstant(right); in VisitUMOD()
117 auto right = acc_.GetValueIn(gate, 1); in VisitADD() local
118 if (!IsInt32Type(gate) || !IsInt32Type(left) || !IsInt32Type(right)) { in VisitADD()
134 auto right = acc_.GetValueIn(gate, 1); VisitSUB() local
151 auto right = acc_.GetValueIn(gate, 1); VisitMUL() local
[all...]
H A Dts_hcr_opt_pass.cpp73 GateRef right = acc_.GetValueIn(gate, 1); in VisitStringEqual() local
74 if (acc_.IsConstString(left) && acc_.IsConstString(right)) { in VisitStringEqual()
75 return ConvertStringEqualToConst(left, right); in VisitStringEqual()
78 if (IsSingleCharString(left) && IsSingleCharString(right)) { in VisitStringEqual()
79 return ConvertToSingleCharComparison(left, right); in VisitStringEqual()
82 if (IsNotLoadStrOrStringLoadElement(left) || IsNotLoadStrOrStringLoadElement(right)) { in VisitStringEqual()
86 if (IsSingleCharString(left) || IsSingleCharString(right)) { in VisitStringEqual()
93 GateRef TSHCROptPass::ConvertStringEqualToConst(GateRef left, GateRef right) in ConvertStringEqualToConst() argument
96 uint32_t rightId = acc_.GetStringIdFromLdaStrGate(right); in ConvertStringEqualToConst()
99 auto rightMethodOffset = acc_.TryGetMethodOffset(right); in ConvertStringEqualToConst()
153 ConvertToSingleCharComparison(GateRef left, GateRef right) ConvertToSingleCharComparison() argument
[all...]
H A Doperations_stub_builder.cpp22 GateRef OperationsStubBuilder::Equal(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) in Equal() argument
31 result = FastEqual(glue, left, right, callback); in Equal()
36 result = CallRuntime(glue, RTSTUB_ID(Eq), { left, right }); in Equal()
61 GateRef OperationsStubBuilder::NotEqual(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) in NotEqual() argument
69 result = FastEqual(glue, left, right, callback); in NotEqual()
76 result = CallRuntime(glue, RTSTUB_ID(NotEq), { left, right }); in NotEqual()
103 GateRef OperationsStubBuilder::StrictEqual(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) in StrictEqual() argument
112 BRANCH(FastStrictEqual(glue, left, right, callback), &strictEqual, &notStrictEqual); in StrictEqual()
130 GateRef OperationsStubBuilder::StrictNotEqual(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) in StrictNotEqual() argument
139 BRANCH(FastStrictEqual(glue, left, right, callbac in StrictNotEqual()
157 Less(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) Less() argument
264 LessEq(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) LessEq() argument
371 Greater(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) Greater() argument
477 GreaterEq(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) GreaterEq() argument
584 Add(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) Add() argument
605 Sub(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) Sub() argument
626 Mul(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) Mul() argument
647 Div(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) Div() argument
668 Mod(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) Mod() argument
689 Shl(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) Shl() argument
779 Shr(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) Shr() argument
884 Ashr(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) Ashr() argument
974 And(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) And() argument
1063 Or(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) Or() argument
1152 Xor(GateRef glue, GateRef left, GateRef right, ProfileOperation callback) Xor() argument
[all...]
H A Dnumber_speculative_lowering.cpp298 GateRef right = acc_.GetValueIn(gate, 1); in VisitNumberCalculate() local
304 result = CalculateInts<Op>(left, right); // int op int in VisitNumberCalculate()
308 result = CalculateDoubles<Op>(left, right); // float op float in VisitNumberCalculate()
319 GateRef right = acc_.GetValueIn(gate, 1); in VisitNumberCompare() local
325 result = CompareInts<Op>(left, right); // int op int in VisitNumberCompare()
327 result = CompareDoubles<Op>(left, right); // float op float in VisitNumberCompare()
338 GateRef right = acc_.GetValueIn(gate, 1); in VisitNumberShift() local
339 GateRef result = ShiftInts<Op>(left, right); // int op int in VisitNumberShift()
350 GateRef right = acc_.GetValueIn(gate, 1); in VisitNumberLogical() local
351 GateRef result = LogicalInts<Op>(left, right); // in in VisitNumberLogical()
361 GateRef right = acc_.GetValueIn(gate, 1); VisitNumberDiv() local
382 GateRef right = acc_.GetValueIn(gate, 1); VisitNumberMod() local
475 GateRef right = acc_.GetValueIn(gate, 1); VisitUndefinedStrictEqOrUndefinedStrictNotEq() local
494 GateRef right = acc_.GetValueIn(gate, 1); VisitUndefinedEqOrUndefinedNotEq() local
662 CalculateInts(GateRef left, GateRef right) CalculateInts() argument
702 CalculateDoubles(GateRef left, GateRef right) CalculateDoubles() argument
722 CompareInts(GateRef left, GateRef right) CompareInts() argument
753 CompareDoubles(GateRef left, GateRef right) CompareDoubles() argument
794 ShiftInts(GateRef left, GateRef right) ShiftInts() argument
827 LogicalInts(GateRef left, GateRef right) LogicalInts() argument
946 GateRef right = acc_.GetValueIn(gate, 1); VisitStringCompare() local
961 GateRef right = acc_.GetValueIn(gate, 1); VisitStringAdd() local
[all...]
H A Dnumber_speculative_lowering.h83 GateRef CalculateInts(GateRef left, GateRef right);
85 GateRef CalculateDoubles(GateRef left, GateRef right);
87 GateRef CompareInts(GateRef left, GateRef right);
89 GateRef CompareDoubles(GateRef left, GateRef right);
91 GateRef ShiftInts(GateRef left, GateRef right);
93 GateRef LogicalInts(GateRef left, GateRef right);
/arkcompiler/ets_runtime/ecmascript/ic/
H A Dic_binary_op.h37 JSTaggedValue right, JSTaggedValue argType) in AddWithTSType()
45 double a1Double = right.IsInt() ? right.GetInt() : right.GetDouble(); in AddWithTSType()
52 JSHandle<JSTaggedValue> rightValue(thread, right); in AddWithTSType()
69 JSHandle<EcmaString> stringA1 = JSHandle<EcmaString>(JSHandle<JSTaggedValue>(thread, right)); in AddWithTSType()
77 JSHandle<JSTaggedValue> rightValue(thread, right); in AddWithTSType()
96 JSTaggedValue res = SlowRuntimeStub::Add2(thread, left, right); in AddWithTSType()
107 JSTaggedValue right, JSTaggedValue argType) in SubWithTSType()
115 double a1Double = right in SubWithTSType()
36 AddWithTSType(JSThread *thread, JSTaggedValue left, JSTaggedValue right, JSTaggedValue argType) AddWithTSType() argument
106 SubWithTSType(JSThread *thread, JSTaggedValue left, JSTaggedValue right, JSTaggedValue argType) SubWithTSType() argument
139 MulWithTSType(JSThread *thread, JSTaggedValue left, JSTaggedValue right, JSTaggedValue argType) MulWithTSType() argument
174 DivWithTSType(JSThread *thread, JSTaggedValue left, JSTaggedValue right, JSTaggedValue argType) DivWithTSType() argument
210 ModWithTSType(JSThread *thread, JSTaggedValue left, JSTaggedValue right, JSTaggedValue argType) ModWithTSType() argument
257 GetBitOPDate(JSThread *thread, JSTaggedValue left, JSTaggedValue right, int32_t &opNumber0, int32_t &opNumber1, BinaryType opType) GetBitOPDate() argument
294 ShlWithTSType(JSThread *thread, JSTaggedValue left, JSTaggedValue right, JSTaggedValue argType) ShlWithTSType() argument
310 ShrWithTSType(JSThread *thread, JSTaggedValue left, JSTaggedValue right, JSTaggedValue argType) ShrWithTSType() argument
324 AshrWithTSType(JSThread *thread, JSTaggedValue left, JSTaggedValue right, JSTaggedValue argType) AshrWithTSType() argument
340 AndWithTSType(JSThread *thread, JSTaggedValue left, JSTaggedValue right, JSTaggedValue argType) AndWithTSType() argument
353 OrWithTSType(JSThread *thread, JSTaggedValue left, JSTaggedValue right, JSTaggedValue argType) OrWithTSType() argument
366 XorWithTSType(JSThread *thread, JSTaggedValue left, JSTaggedValue right, JSTaggedValue argType) XorWithTSType() argument
[all...]
H A Dic_compare_op.cpp22 JSTaggedValue right, CompareOpType operationType) in EqualWithIC()
31 rightDouble = right.GetNumber(); in EqualWithIC()
37 left = right; in EqualWithIC()
38 right = temp; in EqualWithIC()
43 JSHandle<JSTaggedValue> rightHandle(thread, right); in EqualWithIC()
52 left = right; in EqualWithIC()
53 right = temp; in EqualWithIC()
58 if (right.GetRawData() == JSTaggedValue::VALUE_TRUE) { in EqualWithIC()
66 left = right; in EqualWithIC()
67 right in EqualWithIC()
21 EqualWithIC(JSThread* thread, JSTaggedValue left, JSTaggedValue right, CompareOpType operationType) EqualWithIC() argument
206 NotEqualWithIC(JSThread *thread, JSTaggedValue left, JSTaggedValue right, CompareOpType operationType) NotEqualWithIC() argument
214 Compare(JSThread *thread, JSTaggedValue left, JSTaggedValue right, CompareOpType operationType) Compare() argument
425 LessWithIC(JSThread *thread, JSTaggedValue left, JSTaggedValue right, CompareOpType operationType) LessWithIC() argument
434 LessEqWithIC(JSThread *thread, JSTaggedValue left, JSTaggedValue right, CompareOpType operationType) LessEqWithIC() argument
443 GreaterWithIC(JSThread *thread, JSTaggedValue left, JSTaggedValue right, CompareOpType operationType) GreaterWithIC() argument
452 GreaterEqWithIC(JSThread *thread, JSTaggedValue left, JSTaggedValue right, CompareOpType operationType) GreaterEqWithIC() argument
[all...]
H A Dic_compare_op.h57 JSTaggedValue right, CompareOpType operationType);
60 JSTaggedValue right, CompareOpType operationType);
63 JSTaggedValue right, CompareOpType operationType);
66 JSTaggedValue right, CompareOpType operationType);
69 JSTaggedValue right, CompareOpType operationType);
72 JSTaggedValue right, CompareOpType operationType);
75 JSTaggedValue right, CompareOpType operationType);
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Darithmetic.cpp20 static inline void RepairTypeErrorsInOperands(Type **left, Type **right) in RepairTypeErrorsInOperands() argument
23 *left = *right; in RepairTypeErrorsInOperands()
25 if (IsTypeError(*right)) { in RepairTypeErrorsInOperands()
26 *right = *left; in RepairTypeErrorsInOperands()
130 Type *ETSChecker::HandleRelationOperationOnTypes(Type *left, Type *right, lexer::TokenType operationType) in HandleRelationOperationOnTypes() argument
133 right->HasTypeFlag(TypeFlag::CONSTANT | TypeFlag::ETS_CONVERTIBLE_TO_NUMERIC)); in HandleRelationOperationOnTypes()
135 if (left->IsDoubleType() || right->IsDoubleType()) { in HandleRelationOperationOnTypes()
136 return PerformRelationOperationOnTypes<DoubleType>(left, right, operationType); in HandleRelationOperationOnTypes()
139 if (left->IsFloatType() || right->IsFloatType()) { in HandleRelationOperationOnTypes()
140 return PerformRelationOperationOnTypes<FloatType>(left, right, operationTyp in HandleRelationOperationOnTypes()
150 CheckBinaryOperatorForBigInt(Type *left, Type *right, lexer::TokenType op) CheckBinaryOperatorForBigInt() argument
179 CheckBinaryPlusMultDivOperandsForUnionType(const Type *leftType, const Type *rightType, const ir::Expression *left, const ir::Expression *right) CheckBinaryPlusMultDivOperandsForUnionType() argument
413 CheckBinaryOperatorLogical(ir::Expression *left, ir::Expression *right, ir::Expression *expr, lexer::SourcePosition pos, checker::Type *leftType, checker::Type *rightType, Type *unboxedL, Type *unboxedR) CheckBinaryOperatorLogical() argument
561 CheckBinaryOperatorEqual(ir::Expression *left, ir::Expression *right, lexer::TokenType operationType, lexer::SourcePosition pos, checker::Type *leftType, checker::Type *rightType, Type *unboxedL, Type *unboxedR) CheckBinaryOperatorEqual() argument
619 CheckBinaryOperatorEqualDynamic(ir::Expression *left, ir::Expression *right, lexer::SourcePosition pos) CheckBinaryOperatorEqualDynamic() argument
651 CheckBinaryOperatorLessGreater(ir::Expression *left, ir::Expression *right, lexer::TokenType operationType, lexer::SourcePosition pos, bool isEqualOp, checker::Type *leftType, checker::Type *rightType, Type *unboxedL, Type *unboxedR) CheckBinaryOperatorLessGreater() argument
754 CheckBinaryOperatorNullishCoalescing(ir::Expression *left, ir::Expression *right, lexer::SourcePosition pos) CheckBinaryOperatorNullishCoalescing() argument
830 ir::Expression *right; global() member
849 ir::Expression *right = binaryParams.right; CheckBinaryOperatorHelper() local
971 CheckRelationalOperatorsBetweenEnums(ir::Expression *left, ir::Expression *right, lexer::TokenType op) CheckRelationalOperatorsBetweenEnums() argument
1046 CheckBinaryOperator(ir::Expression *left, ir::Expression *right, ir::Expression *expr, lexer::TokenType operationType, lexer::SourcePosition pos, bool forcePromotion) CheckBinaryOperator() argument
1103 HandleArithmeticOperationOnTypes(Type *left, Type *right, lexer::TokenType operationType) HandleArithmeticOperationOnTypes() argument
1123 HandleBitwiseOperationOnTypes(Type *left, Type *right, lexer::TokenType operationType) HandleBitwiseOperationOnTypes() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dfast_runtime_stub-inl.h39 JSTaggedValue FastRuntimeStub::FastMul(JSTaggedValue left, JSTaggedValue right) in FastMul() argument
41 if (left.IsNumber() && right.IsNumber()) { in FastMul()
42 return JSTaggedValue(left.GetNumber() * right.GetNumber()); in FastMul()
48 JSTaggedValue FastRuntimeStub::FastDiv(JSTaggedValue left, JSTaggedValue right) in FastDiv() argument
50 if (left.IsNumber() && right.IsNumber()) { in FastDiv()
52 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in FastDiv()
67 JSTaggedValue FastRuntimeStub::FastMod(JSTaggedValue left, JSTaggedValue right) in FastMod() argument
69 if (right in FastMod()
90 FastEqual(JSTaggedValue left, JSTaggedValue right) FastEqual() argument
123 FastStrictEqual(JSTaggedValue left, JSTaggedValue right) FastStrictEqual() argument
[all...]
H A Dfast_runtime_stub.h31 static inline JSTaggedValue FastMul(JSTaggedValue left, JSTaggedValue right);
32 static inline JSTaggedValue FastDiv(JSTaggedValue left, JSTaggedValue right);
33 static inline JSTaggedValue FastMod(JSTaggedValue left, JSTaggedValue right);
34 static inline JSTaggedValue FastEqual(JSTaggedValue left, JSTaggedValue right);
36 static inline JSTaggedValue FastStrictEqual(JSTaggedValue left, JSTaggedValue right);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/checked/js_call/
H A Djs_call.js37 right;
39 constructor(value, left, right) {
42 this.right = right;
50 if (this.right) {
51 res += this.right.sum();
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DbigintLowering.cpp55 auto right = expr->Right()->TsType(); in ReplaceStrictEqualByNormalEqual() local
56 auto isBigintRight = (right != nullptr && right->IsETSBigIntType()) || expr->Right()->IsBigIntLiteral(); in ReplaceStrictEqualByNormalEqual()
82 auto right = expr->Right()->TsType(); in RemoveConst() local
83 if (right != nullptr && right->IsETSBigIntType()) { in RemoveConst()
84 right->RemoveTypeFlag(checker::TypeFlag::CONSTANT); in RemoveConst()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Doperand.cpp146 bool MemOperand::Less(const Operand &right) const in Less()
148 if (&right == this) { in Less()
153 if (GetKind() != right.GetKind()) { in Less()
154 return GetKind() < right.GetKind(); in Less()
157 const MemOperand *rightOpnd = static_cast<const MemOperand *>(&right); in Less()
207 bool CondOperand::Less(const Operand &right) const in Less()
209 if (&right == this) { in Less()
214 if (GetKind() != right.GetKind()) { in Less()
215 return GetKind() < right.GetKind(); in Less()
218 const CondOperand *rightOpnd = static_cast<const CondOperand *>(&right); in Less()
[all...]
/arkcompiler/ets_runtime/ecmascript/dfx/vmstat/
H A Druntime_stat.cpp73 LOG_ECMA(INFO) << std::right << std::setw(nameRightAdjustment) << "InterPreter && GC && C++ Builtin Function" in PrintAllStats()
111 LOG_ECMA(INFO) << std::right << std::setw(nameRightAdjustment) << runCallerStat.Name() in PrintAllStats()
121 LOG_ECMA(INFO) << std::right << std::setw(nameRightAdjustment) << "Interpreter Total Time(ns)" in PrintAllStats()
123 LOG_ECMA(INFO) << std::right << std::setw(nameRightAdjustment) << "BuiltinsApi Total Time(ns)" in PrintAllStats()
125 LOG_ECMA(INFO) << std::right << std::setw(nameRightAdjustment) << "AbstractOperation Total Time(ns)" in PrintAllStats()
127 LOG_ECMA(INFO) << std::right << std::setw(nameRightAdjustment) << "Memory Total Time(ns)" in PrintAllStats()
129 LOG_ECMA(INFO) << std::right << std::setw(nameRightAdjustment) << "Runtime Total Time(ns)" in PrintAllStats()
133 LOG_ECMA(INFO) << std::right << std::setw(nameRightAdjustment) << "Total Time(ns)" in PrintAllStats()
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Dbounds_analysis.cpp44 BoundsRange::BoundsRange(int64_t left, int64_t right, const Inst *inst, [[maybe_unused]] DataType::Type type) in BoundsRange() argument
45 : left_(left), right_(right), lenArray_(inst) in BoundsRange()
48 ASSERT(left <= right); in BoundsRange()
50 ASSERT(right <= GetMax(type)); in BoundsRange()
75 auto right = left_ == MIN_RANGE_VALUE ? MAX_RANGE_VALUE : -left_; in Neg() local
77 return BoundsRange(left, right); in Neg()
90 auto right = std::max(val1, val2); in Abs() local
96 return BoundsRange(left, right); in Abs()
106 auto right = AddWithOverflowCheck(right_, range.GetRight()); in Add() local
107 if (!left || !right) { in Add()
122 auto right = AddWithOverflowCheck(right_, negLeft); Sub() local
143 auto right = std::max(m1.value(), std::max(m2.value(), std::max(m3.value(), m4.value()))); Mul() local
162 auto right = std::max(m1.value(), m2.value()); Div() local
254 auto right = AddWithOverflowCheck(right_, negRight); Diff() local
618 AddWithOverflowCheck(int64_t left, int64_t right) AddWithOverflowCheck() argument
637 AddWithOverflowCheck(uint64_t left, uint64_t right) AddWithOverflowCheck() argument
650 MulWithOverflowCheck(int64_t left, int64_t right) MulWithOverflowCheck() argument
667 MulWithOverflowCheck(uint64_t left, uint64_t right) MulWithOverflowCheck() argument
680 DivWithOverflowCheck(int64_t left, int64_t right) DivWithOverflowCheck() argument
1089 auto right = upperRange.GetRight(); ProcessIndexPhi() local
[all...]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/
H A Dpgo_profiler_type.h425 bool operator<(const PGOSampleTemplate &right) const in operator <()
427 return type_ < right.type_; in operator <()
430 bool operator!=(const PGOSampleTemplate &right) const in operator !=()
432 return type_ != right.type_; in operator !=()
435 bool operator==(const PGOSampleTemplate &right) const in operator ==()
437 return type_ == right.type_; in operator ==()
712 bool operator<(const PGOObjectTemplate &right) const in operator <()
714 if (receiverRootType_ != right.receiverRootType_) { in operator <()
715 return receiverRootType_ < right.receiverRootType_; in operator <()
717 if (receiverType_ != right in operator <()
[all...]
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsEnumDeclaration.cpp156 binder::EnumMemberResult right = in EvaluateBinaryExpression() local
158 if (std::holds_alternative<double>(left) && std::holds_alternative<double>(right)) { in EvaluateBinaryExpression()
161 return static_cast<double>(ToUInt(std::get<double>(left)) | ToUInt(std::get<double>(right))); in EvaluateBinaryExpression()
164 return static_cast<double>(ToUInt(std::get<double>(left)) & ToUInt(std::get<double>(right))); in EvaluateBinaryExpression()
167 return static_cast<double>(ToUInt(std::get<double>(left)) ^ ToUInt(std::get<double>(right))); in EvaluateBinaryExpression()
170 return static_cast<double>(ToInt(std::get<double>(left)) << ToUInt(std::get<double>(right))); in EvaluateBinaryExpression()
173 return static_cast<double>(ToInt(std::get<double>(left)) >> ToUInt(std::get<double>(right))); in EvaluateBinaryExpression()
176 return static_cast<double>(ToUInt(std::get<double>(left)) >> ToUInt(std::get<double>(right))); in EvaluateBinaryExpression()
179 return std::get<double>(left) + std::get<double>(right); in EvaluateBinaryExpression()
182 return std::get<double>(left) - std::get<double>(right); in EvaluateBinaryExpression()
[all...]
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
H A Dast_builder_test.cpp107 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); in TEST_F() local
110 .SetRight(right) in TEST_F()
120 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); in TEST_F() local
123 .SetRight(right) in TEST_F()
139 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); in TEST_F() local
142 .SetRight(right) in TEST_F()
151 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); in TEST_F() local
154 .SetRight(right) in TEST_F()
165 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); in TEST_F() local
168 .SetRight(right) in TEST_F()
249 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); TEST_F() local
262 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); TEST_F() local
312 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); TEST_F() local
328 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); TEST_F() local
406 auto right = NumberLiteralBuilder(Allocator()).SetValue("5").Build(); TEST_F() local
[all...]
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DassignmentExpression.h35 explicit AssignmentExpression(Expression *left, Expression *right, lexer::TokenType assignmentOperator) in AssignmentExpression() argument
36 : AssignmentExpression(AstNodeType::ASSIGNMENT_EXPRESSION, left, right, assignmentOperator) in AssignmentExpression()
40 explicit AssignmentExpression(AstNodeType type, Expression *left, Expression *right, in AssignmentExpression() argument
42 : Expression(type), left_(left), right_(right), operator_(assignmentOperator) in AssignmentExpression()
/arkcompiler/ets_runtime/ecmascript/
H A Dglobal_index.h91 bool operator!=(const GlobalIndex &right) const in operator !=()
93 return index_ != right.index_; in operator !=()
96 bool operator==(const GlobalIndex &right) const in operator ==()
98 return index_ == right.index_; in operator ==()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Dcfi.h148 bool Less(const Operand &right) const override
150 (void)right; variable
183 bool Less(const Operand &right) const override
185 (void)right; variable
213 bool Less(const Operand &right) const override
215 (void)right; variable
246 bool Less(const Operand &right) const override
248 (void)right; variable
284 bool Less(const Operand &right) const override
286 (void)right; variable
[all...]
/arkcompiler/runtime_core/bytecode_optimizer/constant_propagation/
H A Dconstant_propagation.h112 LatticeElement *FoldingConstant(ConstantElement *left, ConstantElement *right, RuntimeInterface::IntrinsicId id);
113 LatticeElement *FoldingCompare(const ConstantElement *left, const ConstantElement *right,
116 LatticeElement *FoldingGreater(const ConstantElement *left, const ConstantElement *right, bool equal = false);
117 LatticeElement *FoldingLess(const ConstantElement *left, const ConstantElement *right, bool equal = false);
118 LatticeElement *FoldingEq(const ConstantElement *left, const ConstantElement *right);
119 LatticeElement *FoldingNotEq(const ConstantElement *left, const ConstantElement *right);

Completed in 18 milliseconds

1234567