Home
last modified time | relevance | path

Searched refs:operationType (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/ic/
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);
H A Dic_compare_op.cpp22 JSTaggedValue right, CompareOpType operationType) in EqualWithIC()
28 switch (operationType) { in EqualWithIC()
207 JSTaggedValue right, CompareOpType operationType) in NotEqualWithIC()
210 JSTaggedValue res = EqualWithIC(thread, left, right, operationType); in NotEqualWithIC()
215 JSTaggedValue right, CompareOpType operationType) in Compare()
221 switch (operationType) { in Compare()
426 JSTaggedValue right, CompareOpType operationType) in LessWithIC()
429 bool ret = CompareOp::Compare(thread, left, right, operationType) == ComparisonResult::LESS; in LessWithIC()
435 JSTaggedValue right, CompareOpType operationType) in LessEqWithIC()
438 bool ret = CompareOp::Compare(thread, left, right, operationType) < in LessEqWithIC()
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...]
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Darithmetic.cpp130 Type *ETSChecker::HandleRelationOperationOnTypes(Type *left, Type *right, lexer::TokenType operationType) in HandleRelationOperationOnTypes() argument
136 return PerformRelationOperationOnTypes<DoubleType>(left, right, operationType); in HandleRelationOperationOnTypes()
140 return PerformRelationOperationOnTypes<FloatType>(left, right, operationType); in HandleRelationOperationOnTypes()
144 return PerformRelationOperationOnTypes<LongType>(left, right, operationType); in HandleRelationOperationOnTypes()
147 return PerformRelationOperationOnTypes<IntType>(left, right, operationType); in HandleRelationOperationOnTypes()
204 auto [left, right, operationType, pos] = op; in CheckBinaryOperatorMulDivMod()
231 tsType = HandleArithmeticOperationOnTypes(leftType, rightType, operationType); in CheckBinaryOperatorMulDivMod()
265 auto [left, right, operationType, pos] = op; in CheckBinaryOperatorPlus()
276 if (operationType == lexer::TokenType::PUNCTUATOR_MINUS || in CheckBinaryOperatorPlus()
277 operationType in CheckBinaryOperatorPlus()
449 LogOperatorCannotBeApplied(lexer::TokenType operationType, checker::Type *const leftType, checker::Type *const rightType, lexer::SourcePosition pos) LogOperatorCannotBeApplied() argument
497 CheckBinaryOperatorStrictEqual(ir::Expression *left, lexer::TokenType operationType, lexer::SourcePosition pos, checker::Type *leftType, checker::Type *rightType) CheckBinaryOperatorStrictEqual() 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
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
832 lexer::TokenType operationType; global() member
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...]
H A Darithmetic.h58 Type *ETSChecker::PerformRelationOperationOnTypes(Type *left, Type *right, lexer::TokenType operationType) in PerformRelationOperationOnTypes() argument
66 switch (operationType) { in PerformRelationOperationOnTypes()
100 Type *ETSChecker::PerformArithmeticOperationOnTypes(Type *left, Type *right, lexer::TokenType operationType) in PerformArithmeticOperationOnTypes() argument
109 switch (operationType) { in PerformArithmeticOperationOnTypes()
190 Type *ETSChecker::HandleBitWiseArithmetic(Type *left, Type *right, lexer::TokenType operationType) in HandleBitWiseArithmetic() argument
202 switch (operationType) { in HandleBitWiseArithmetic()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DbinaryExpression.h143 void SetOperationType(checker::Type *const operationType) noexcept
145 operationType_ = operationType;
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSchecker.h294 lexer::TokenType operationType, lexer::SourcePosition pos,
317 std::tuple<Type *, Type *> CheckBinaryOperatorStrictEqual(ir::Expression *left, lexer::TokenType operationType,
325 lexer::TokenType operationType, lexer::SourcePosition pos,
331 lexer::TokenType operationType, lexer::SourcePosition pos,
340 Type *HandleArithmeticOperationOnTypes(Type *left, Type *right, lexer::TokenType operationType);
341 Type *HandleBitwiseOperationOnTypes(Type *left, Type *right, lexer::TokenType operationType);
344 Type *PerformArithmeticOperationOnTypes(Type *left, Type *right, lexer::TokenType operationType);
346 Type *HandleRelationOperationOnTypes(Type *left, Type *right, lexer::TokenType operationType);
348 Type *PerformRelationOperationOnTypes(Type *left, Type *right, lexer::TokenType operationType);
762 void LogOperatorCannotBeApplied(lexer::TokenType operationType, checke
[all...]
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompiler.cpp600 const checker::Type *operationType = expr->OperationType(); in CompileBigInt() local
601 auto ttctx = compiler::TargetTypeContext(etsg, operationType); in CompileBigInt()
605 etsg->ApplyConversionAndStoreAccumulator(expr->Left(), lhs, operationType); in CompileBigInt()
607 etsg->ApplyConversion(expr->Right(), operationType); in CompileBigInt()

Completed in 10 milliseconds