Home
last modified time | relevance | path

Searched refs:unboxedL (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Darithmetic.cpp205 auto [leftType, rightType, unboxedL, unboxedR] = types; in CheckBinaryOperatorMulDivMod()
209 RepairTypeErrorsInOperands(&unboxedL, &unboxedR); in CheckBinaryOperatorMulDivMod()
216 ApplyBinaryOperatorPromotion(unboxedL, unboxedR, TypeFlag::ETS_CONVERTIBLE_TO_NUMERIC, !isEqualOp); in CheckBinaryOperatorMulDivMod()
218 FlagExpressionWithUnboxing(leftType, unboxedL, left); in CheckBinaryOperatorMulDivMod()
266 auto [leftType, rightType, unboxedL, unboxedR] = types; in CheckBinaryOperatorPlus()
270 RepairTypeErrorsInOperands(&unboxedL, &unboxedR); in CheckBinaryOperatorPlus()
290 ApplyBinaryOperatorPromotion(unboxedL, unboxedR, TypeFlag::ETS_CONVERTIBLE_TO_NUMERIC, !isEqualOp); in CheckBinaryOperatorPlus()
292 FlagExpressionWithUnboxing(leftType, unboxedL, left); in CheckBinaryOperatorPlus()
316 auto [leftType, rightType, unboxedL, unboxedR] = types; in CheckBinaryOperatorShift()
320 RepairTypeErrorWithDefault(&unboxedL, GlobalIntTyp in CheckBinaryOperatorShift()
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
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
840 Type *unboxedL; global() member
1078 Type *unboxedL = CheckBinaryOperator() local
[all...]
H A Dhelpers.cpp284 Type *const unboxedL = ETSBuiltinTypeAsPrimitiveType(left); in ApplyBinaryOperatorPromotion() local
287 if (unboxedL == nullptr || unboxedR == nullptr) { in ApplyBinaryOperatorPromotion()
291 if (!unboxedL->HasTypeFlag(test) || !unboxedR->HasTypeFlag(test)) { in ApplyBinaryOperatorPromotion()
295 bool const bothConst = unboxedL->HasTypeFlag(TypeFlag::CONSTANT) && unboxedR->HasTypeFlag(TypeFlag::CONSTANT); in ApplyBinaryOperatorPromotion()
298 auto const numericPromotion = [this, unboxedL, unboxedR, bothConst]() -> std::tuple<checker::Type *, bool> { in ApplyBinaryOperatorPromotion()
299 if (unboxedL->IsDoubleType() || unboxedR->IsDoubleType()) { in ApplyBinaryOperatorPromotion()
303 if (unboxedL->IsFloatType() || unboxedR->IsFloatType()) { in ApplyBinaryOperatorPromotion()
307 if (unboxedL->IsLongType() || unboxedR->IsLongType()) { in ApplyBinaryOperatorPromotion()
311 if (unboxedL->IsCharType() && unboxedR->IsCharType()) { in ApplyBinaryOperatorPromotion()
319 if (unboxedL in ApplyBinaryOperatorPromotion()
332 CheckLeftRightType(checker::ETSChecker *checker, checker::Type *unboxedL, checker::Type *unboxedR) CheckLeftRightType() argument
355 ApplyConditionalOperatorPromotion(checker::ETSChecker *checker, checker::Type *unboxedL, checker::Type *unboxedR) ApplyConditionalOperatorPromotion() argument
[all...]
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSchecker.h316 checker::Type *rightType, Type *unboxedL, Type *unboxedR);
327 Type *unboxedL, Type *unboxedR);
333 checker::Type *rightType, Type *unboxedL, Type *unboxedR);
516 checker::Type *ApplyConditionalOperatorPromotion(checker::ETSChecker *checker, checker::Type *unboxedL,

Completed in 6 milliseconds